joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002e420
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push r12
sub rsp, 0x658
mov rax, qword [0x1800bc650]
xor rax, rsp
mov qword [rsp + 0x640], rax
mov rbx, rcx
mov rbp, r8
mov esi, edx
lea rcx, [rsp + 0x22]
xor r12d, r12d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], r12w
call fcn.180031610
lea rdx, [rsp + 0x20]
lea rcx, str.ALLUSERSPROFILE
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x102
ja 0x18002df95
lea rcx, [rsp + 0x20]
call fcn.18002d110
test eax, eax
je 0x18002df7c
lea rcx, [rsp + 0x232]
xor edx, edx
mov r8d, 0x40e
mov qword [rsp + 0x650], rdi
mov word [rsp + 0x230], r12w
call fcn.180031610
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.18002da50
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x230]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp ecx, 0x208
jge 0x18002df74
movsxd rdi, ecx
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x20]
mov r8, rdi
call fcn.1800300d0
mov word [rsp + rdi*2 + 0x20], r12w
mov rdi, qword [rsp + 0x650]
lea r8, [rsp + 0x20]
mov r9, rbp
mov edx, esi
mov rcx, rbx
call fcn.18002d240
mov eax, 1
jmp 0x18002df97
xor eax, eax
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.18002f7c0
add rsp, 0x658
pop r12
pop rsi
pop rbp
pop rbx
ret
jmp 0x18002de80
Function at 0x18002ec60
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rbx, rcx
xor r13d, r13d
mov ebp, r13d
cmp dword [rcx + 0x30], ebp
je 0x18002ec8e
call fcn.18002d0e0
mov rbp, rax
mov edx, 0xc0000000
mov eax, 0x80000000
cmp dword [rbx + 0x28], r13d
cmovne edx, eax
mov dword [rsp + 0x90], r13d
mov esi, r13d
mov rcx, qword [rbx + 0x38]
cmp dword [rcx - 8], r13d
je 0x18002ed12
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov r9, rbp
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x18002ecf5
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp qword [rbx + 8], 0xffffffffffffffff
je 0x18002ee69
cmp dword [rsp + 0x90], r13d
jne 0x18002ed12
test esi, esi
je 0x18002ee69
mov r14d, 4
mov r12d, r14d
mov eax, 2
cmp dword [rbx + 0x28], r13d
cmovne r12d, eax
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x98]
call fcn.1800217b0
nop
cmp dword [rbx + 0x2c], 0
je 0x18002ed78
mov rax, qword [rbx + 0x40]
cmp dword [rax - 8], 0
je 0x18002ed78
call fcn.180045990
test eax, eax
je 0x18002ed78
lea rdx, str.Global_
lea rcx, [rsp + 0x98]
call fcn.1800206d0
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x98]
call fcn.180020890
mov rax, qword [rsp + 0x98]
cmp dword [rax - 8], 0
cmove rax, r13
mov qword [rsp + 0x28], rax
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, r12d
mov rdx, rbp
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x18002ee5c
mov edx, 6
cmp dword [rbx + 0x28], 0
cmovne edx, r14d
mov ecx, dword [rbx + 0x20]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rbx + 0x24]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x18002ee5a
cmp dword [rbx + 0x20], 0
jne 0x18002ee46
cmp qword [rbx + 8], 0xffffffffffffffff
je 0x18002ee46
mov dword [rsp + 0xa0], esi
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0xa4], eax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0xac], r13d
mov rcx, qword [rsp + 0xa0]
sub rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rcx
shr rcx, 0x20
mov edx, dword [rsp + 0xa0]
or r8d, 0xffffffff
test ecx, ecx
cmovg edx, r8d
mov dword [rbx + 0x20], edx
lea rcx, [rsp + 0x98]
call fcn.180020550
mov eax, 1
jmp 0x18002ee6c
jmp 0x18002ee5c
lea rcx, [rsp + 0x98]
call fcn.180020550
mov eax, r13d
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002f350
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.18002f190
mov qword [rbx + 8], rdi
mov dword [rbx + 0x20], 0
cmp rdi, 0xffffffffffffffff
je 0x18002f3e7
test rdi, rdi
je 0x18002f3e7
lea rdx, [rbx + 0x14]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [rbx + 8]
lea r8, [rbx + 0x1c]
mov r9d, 1
xor edx, edx
mov dword [rbx + 0x10], eax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbx + 0x18], eax
test eax, eax
jne 0x18002f3ad
cmp dword [rbx + 0x1c], eax
je 0x18002f3b7
xor edx, edx
mov rcx, rbx
call fcn.18002f2e0
mov rcx, qword [rbx + 8]
lea r9, [rbx + 0x43c]
lea rdx, [rbx + 0x3c]
mov r8d, 0x400
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18002f3e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x18002f400
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
call fcn.18002f190
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
lea r8d, [r9 + 7]
mov rcx, rbx
mov dword [rsp + 0x28], 0x80
mov dword [rdi + 0x20], 1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x18002f491
test rax, rax
je 0x18002f491
lea rdx, [rdi + 0x14]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [rdi + 8]
lea r9, [rdi + 0x43c]
lea rdx, [rdi + 0x3c]
mov r8d, 0x400
mov dword [rdi + 0x10], eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18002f499
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18002f4c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov esi, r8d
mov edi, edx
mov rbx, rcx
cmp rax, 0xffffffffffffffff
je 0x18002f5eb
test rax, rax
je 0x18002f5eb
mov qword [rsp + 0x60], r12
lea r9, [rsp + 0x50]
xor r12d, r12d
mov edx, edi
mov qword [rsp + 0x50], r12
call fcn.18002f2b0
mov r10, qword [rsp + 0x50]
cmp r10, qword [rcx + 0x10]
jg 0x18002f57d
cmp dword [rsp + 0x54], r12d
jne 0x18002f530
mov eax, dword [rcx + 0x43c]
cmp dword [rsp + 0x50], eax
ja 0x18002f530
lea rax, [rdi + rcx + 0x3c]
mov r12, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov r11, qword [rbx + 0x28]
test r11, r11
je 0x18002f56e
mov edx, dword [rbx + 0x38]
mov r8d, dword [rbx + 0x34]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], r12
call fcn.18002f2b0
cmp edx, edi
ja 0x18002f56e
cmp r10, qword [rsp + 0x50]
jg 0x18002f56e
mov r12, qword [rsp + 0x60]
sub edi, edx
mov eax, edi
add rax, r11
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov edx, esi
mov rcx, rbx
call fcn.18002f240
test rax, rax
jne 0x18002f58c
xor eax, eax
mov r12, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov edx, edi
mov rcx, rbx
mov qword [rsp + 0x58], rbp
call fcn.18002f2e0
test eax, eax
je 0x18002f5db
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rbx + 8]
lea r9, [rbx + 0x34]
mov r8d, esi
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18002f5db
cmp dword [rbx + 0x34], esi
jne 0x18002f5db
mov rax, qword [rbx + 0x28]
mov dword [rbx + 0x38], edi
mov rbp, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov qword [rbx + 0x34], r12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
xor eax, eax
jmp 0x18002f5c9
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800339df
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800bc650]
jne 0x18002f7da
rol rcx, 0x10
test cx, 0xffff
jne 0x18002f7d6
repz ret
ror rcx, 0x10
jmp 0x180033938
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800d2060]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1800d2158]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800339bd
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1800d2060]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800339df
mov rax, qword [rsp + 0x88]
mov qword [0x1800d2158], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800d20f8], rax
mov rax, qword [0x1800d2158]
mov qword [0x1800d1fd0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800d20e0], rax
mov dword [0x1800d1fc0], 0xc0000409
mov dword [0x1800d1fc4], 1
mov rax, qword [0x1800bc650]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800bc658]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800d2058], eax
mov ecx, 1
call fcn.18003d014
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18007f098]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800d2058], 0
jne 0x180033a66
mov ecx, 1
call fcn.18003d014
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x18003fa88
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800bc650]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180034824
xor ebx, ebx
cmp qword [0x1800d30d8], rbx
mov rdi, rax
jne 0x18003fb9b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18003fc72
lea rdx, [0x180081410]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18003fc72
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1800d30d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1800d30e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1800813c8]
mov rcx, rsi
mov qword [0x1800d30e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1800d30f8], rax
test rax, rax
je 0x18003fb92
lea rdx, [0x1800813b0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1800d30f0], rax
jmp 0x18003fba2
mov rax, qword [0x1800d30f0]
jmp 0x18003fba9
mov rax, qword [0x1800d30f0]
mov r11, qword [0x1800d30f8]
cmp rax, rdi
je 0x18003fc10
cmp r11, rdi
je 0x18003fc10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1800d30f8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18003fc10
test rax, rax
je 0x18003fc10
call rsi
test rax, rax
je 0x18003fc0a
lea rcx, [rsp + 0x30]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18003fc0a
test byte [rsp + 0x40], 1
jne 0x18003fc10
bts ebp, 0x15
jmp 0x18003fc50
mov rcx, qword [0x1800d30e0]
cmp rcx, rdi
je 0x18003fc50
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18003fc50
call rax
mov rbx, rax
test rax, rax
je 0x18003fc50
mov rcx, qword [0x1800d30e8]
cmp rcx, rdi
je 0x18003fc50
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18003fc50
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800d30d8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18003fc72
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18003fc74
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18002f7c0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180045700
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x1800bc650]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp dword [0x1800d33b4], 0
jne 0x1800458a4
lea rcx, [0x1800d3130]
mov edi, 1
mov dword [0x1800d3130], 0x114
mov dword [0x1800d33b4], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor r11d, r11d
cmp dword [0x1800d3140], 2
sete r11b
mov dword [reloc.WS2_32.dll_accept], r11d
test r11d, r11d
je 0x180045888
lea rcx, [0x1800d3250]
mov qword [rsp + 0x160], rbx
mov dword [0x1800d3250], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [0x1800958f0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProductInfo
mov rcx, rbx
mov qword [0x1800d3128], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800d3370]
mov qword [0x1800d33a0], rax
mov rax, qword [0x1800d3128]
test rax, rax
je 0x1800457dc
call rax
jmp 0x1800457e2
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x1800d3254]
cmp eax, 6
jae 0x1800457fb
cmp eax, 5
jne 0x180045812
cmp dword [0x1800d3258], 2
jb 0x180045812
mov eax, dword [0x1800d3120]
cmp word [0x1800d3370], 9
cmove eax, edi
mov dword [0x1800d3120], eax
lea rcx, str.Ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180045840
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1800d33a8], rax
jmp 0x180045847
mov rbx, qword [0x1800d33a8]
test rbx, rbx
je 0x180045880
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call fcn.180031610
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call rbx
mov ecx, dword [0x1800d313c]
test eax, eax
cmove ecx, dword [rsp + 0x2c]
mov dword [0x1800d313c], ecx
mov rbx, qword [rsp + 0x160]
lea rdx, [0x1800d3138]
lea rcx, [0x1800d3134]
call fcn.1800455c0
call fcn.180045300
mov eax, edi
jmp 0x1800458a9
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18002f7c0
add rsp, 0x150
pop rdi
ret
Function at 0x180045f00
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1800d3644], 0
jne 0x180045fe1
lea rcx, [0x1800d33d0]
mov ebx, 1
mov dword [0x1800d33d0], 0x114
mov dword [0x1800d3644], ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor r11d, r11d
cmp dword [0x1800d33e0], 2
sete r11b
mov dword [reloc.WS2_32.dll_accept], r11d
test r11d, r11d
je 0x180045fd4
lea rcx, [0x1800d34f0]
mov dword [0x1800d34f0], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [0x1800958f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800d3610]
mov qword [0x1800d33c8], rax
test rax, rax
je 0x180045f9e
call rax
jmp 0x180045fa4
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x1800d34f4]
cmp eax, 6
jae 0x180045fbd
cmp eax, 5
jne 0x180045fd4
cmp dword [0x1800d34f8], 2
jb 0x180045fd4
mov ecx, dword [0x1800d33c0]
cmp word [0x1800d3610], 9
cmove ecx, ebx
mov dword [0x1800d33c0], ecx
call fcn.180045d00
mov eax, ebx
add rsp, 0x20
pop rbx
ret
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x180046120
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1800d3648]
test eax, eax
jne 0x18004614e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str.SeDebugPrivilege
mov r8d, 1
mov ecx, eax
call fcn.18002ccc0
mov dword [0x1800d3648], eax
add rsp, 0x28
ret

Function at 0x180046430
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1800bc650]
xor rax, rsp
mov qword [rsp + 0x130], rax
test rdx, rdx
jne 0x18004646b
mov eax, 0xf0000001
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18002f7c0
add rsp, 0x148
ret
lea rcx, [0x1800958f0]
mov qword [rsp + 0x150], rbx
mov qword [rsp + 0x140], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, str.comctl32.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rdi, rdi
je 0x180046549
test rax, rax
je 0x180046549
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.180031610
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.180046010
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x47
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x49
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180081828]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180081800]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1800817f0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180081810]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.RemoteLoadDll9x_____Can_not_get_function_address
call fcn.180055fa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18002f7c0
add rsp, 0x148
ret
Function at 0x180046ed0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
jne 0x180046ed9
xor eax, eax
jmp 0x180046f21
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x180046ee7
xor eax, eax
jmp 0x180046f21
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x180046efa
xor eax, eax
jmp 0x180046f21
cmp word [rax + 0x14], 0
jne 0x180046f05
xor eax, eax
jmp 0x180046f21
test edx, edx
je 0x180046f18
mov ecx, 0x8664
cmp word [rax + 4], cx
je 0x180046f18
xor eax, eax
jmp 0x180046f21
mov eax, 1
jmp 0x180046f21
repz ret

Function at 0x1800471d0
Capabilities:
Parse pe header

Disassembly:
mov edx, 1
jmp fcn.180046ed0

Function at 0x180047570
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, r8d
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x180047589
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rdi
not r9d
lea rdi, [0x180081d70]
cmp r11d, 8
jb 0x180047681
mov qword [rsp + 0x10], rbx
mov rbx, r11
shr rbx, 3
nop dword [rax]
movzx ecx, byte [r10]
mov eax, r9d
shr r9d, 8
xor rcx, rax
add r10, 8
add r11d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r10 - 7]
mov edx, dword [rdi + rax*4]
xor edx, r9d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 6]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 5]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 4]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 3]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 2]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 1]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r9d, dword [rdi + rax*4]
xor r9d, edx
dec rbx
jne 0x1800475b0
mov rbx, qword [rsp + 0x10]
test r11d, r11d
je 0x1800476af
nop word [rax + rax]
movzx ecx, byte [r10]
mov eax, r9d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
dec r11d
jne 0x180047690
mov rdi, qword [rsp]
not r9d
mov eax, r9d
add rsp, 8
ret
Function at 0x180048770
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1800bc650]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov rsi, rcx
call fcn.180045910
test eax, eax
je 0x1800487ac
mov dword [0x1800d4248], 0x32
xor eax, eax
jmp 0x18004884f
xor eax, eax
mov qword [rsp + 0x90], rbx
xor ebx, ebx
lea rcx, [rsp + 0x20]
lea r9d, [rbx + 4]
lea r8d, [rbx + 1]
mov rdx, rsi
mov dword [0x1800d4248], ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], eax
call fcn.180048610
lea rcx, [rsp + 0x20]
call fcn.1800486b0
test rax, rax
je 0x180048827
lea rcx, [rsp + 0x20]
call fcn.1800486b0
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, eax
test eax, eax
jne 0x18004881f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x18004882b
mov eax, dword [rsp + 0x54]
mov dword [rdi], eax
jmp 0x18004883b
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x180048835
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1800d4248], eax
lea rcx, [rsp + 0x20]
call fcn.180048710
mov eax, ebx
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18002f7c0
mov rsi, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x1800516b0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1800bc650]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x1800d4298], 0
jne 0x180051723
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x196
mov word [rsp + 0x20], ax
call fcn.180031610
lea rdx, [rsp + 0x20]
mov ecx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180051719
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18002f7c0
add rsp, 0x1d8
ret
mov dword [0x1800d4298], 1
mov eax, 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18002f7c0
add rsp, 0x1d8
ret

Function at 0x1800535b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov rbp, rdx
mov rdi, rcx
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13d, eax
cmp dword [rdi + 0x140], r12d
je 0x18005363a
lea rdx, [rdi + 0xf0]
lea r8d, [r12 + 1]
lea rcx, [rsp + 0x28]
call fcn.180023840
nop
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rdi + 0x128]
call fcn.180023230
lea rdx, [rdi + 0xd8]
lea rcx, [rdi + 0x128]
call fcn.180023390
mov dword [rdi + 0x140], r12d
lea rcx, [rsp + 0x28]
call fcn.180023880
cmp qword [rbp + 0x30], 0
je 0x180053650
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + 0x30]
jmp 0x180053688
mov ebx, r12d
cmp dword [rdi + 0x130], ebx
jle 0x180053696
mov rsi, r12
nop
mov rax, qword [rdi + 0x128]
mov rcx, qword [rsi + rax]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + 0x30]
test eax, eax
jne 0x180053688
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x130]
jl 0x180053660
jmp 0x180053696
mov rcx, rbp
call fcn.180053d60
mov r12d, 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r13d
cmp dword [rdi + 0x148], eax
jae 0x1800536b6
mov dword [rdi + 0x148], eax
mov ecx, dword [rbp + 0x18]
mov dword [rdi + 0x14c], ecx
mov eax, r12d
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret

Function at 0x180054420
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x180054438
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, rbx
mov dword [rbx + 0x44], 0
add rsp, 0x20
pop rbx
jmp fcn.180025010