joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4222b0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44346b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4531a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
cmp dword [ebp + 0x50], ebx
je 0x4222ea
lea eax, [ebx + 1]
jmp 0x4223d1
cmp dword [ebp + 0x54], ebx
mov dword [esp + 0x2c], ebx
jle 0x4223c6
push 0x28
call fcn.00428ae0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
cmp esi, ebx
je 0x42232c
lea eax, [esi + 4]
push eax
mov dword [esi], ebx
call fcn.00422800
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x24], eax
jmp 0x42232e
xor esi, esi
push ebx
lea edi, [esi + 4]
push ebx
push edi
push 0x422990
mov dword [esp + 0x34], 0xffffffff
push ebx
push ebx
mov dword [esp + 0x30], esi
mov dword [edi + 0xc], 0x421e60
mov dword [edi + 0x10], esi
mov dword [edi + 8], ebx
call fcn.0042bbf2
add esp, 0x18
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x42238c
cmp esi, ebx
je 0x4223b4
call fcn.004217e0
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x42237a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.004228d0
push esi
call fcn.0042867c
add esp, 4
jmp 0x4223b4
mov esi, dword [ebp + 0x6c]
mov edx, dword [esi + 4]
lea ebx, [ebp + 0x58]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.004227c0
mov ecx, ebx
mov edi, eax
call fcn.00422dc0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
xor ebx, ebx
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [ebp + 0x54]
mov dword [esp + 0x2c], eax
jl 0x4222f7
xor eax, eax
cmp dword [ebp + 0x70], ebx
setne al
mov dword [ebp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4223f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [ebx + 0x58]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
jmp 0x422410
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x42241e
cmp edi, eax
je 0x422423
call fcn.00428d07
cmp dword [esp + 0xc], esi
je 0x42254f
test edi, edi
jne 0x422544
call fcn.00428d07
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x42244a
call fcn.00428d07
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x422466
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 8]
lea esi, [edi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x4224a7
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x422496
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x4224bc
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x4224fa
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4224e9
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x422508
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.004228d0
push edi
call fcn.0042867c
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x42254b
call fcn.00428d07
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x422535
call fcn.00428d07
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x422410
mov eax, dword [edi]
jmp 0x42243c
mov eax, dword [eax]
jmp 0x422527
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebx + 0x6c]
mov dword [ecx + 4], ecx
xor ecx, ecx
mov dword [ebx + 0x70], ecx
cmp eax, dword [ebx + 0x6c]
je 0x422585
mov esi, dword [eax]
push eax
call fcn.0042867c
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x422566
mov dword [ebx + 0x50], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0x50], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4228d0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x44321b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4531a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CThreadHolder.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x422941
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x422930
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
cmp dword [esi + 0x14], 0
jne 0x422952
push esi
call fcn.00422a50
call fcn.00422ba0
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 0x18]
sub esi, 0x10
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x422979
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x422e60
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
lea eax, [esp + 4]
push eax
xor bl, bl
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x422e9e
cmp dword [esp + 0x14], 2
jne 0x422e9e
cmp dword [esp + 8], 6
mov al, 1
jae 0x422ea0
mov al, bl
mov ecx, dword [esp + 0x118]
pop ebx
xor ecx, esp
call fcn.00428687
add esp, 0x118
ret
Function at 0x422ec0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x518
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x422ef3
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.00428687
add esp, 0x518
ret
push esi
push 0x3ff
lea eax, [esp + 0x121]
push ebx
push eax
mov byte [esp + 0x128], bl
call fcn.0042c780
push 0xfe
lea edx, [esp + 0x2e]
xor ecx, ecx
push ebx
mov esi, 0x400
push edx
mov dword [esp + 0x20], esi
mov word [esp + 0x34], cx
call fcn.0042c780
lea eax, [esp + 0x34]
add esp, 0x18
lea ecx, [edi + 8]
test eax, eax
je 0x422f63
cmp ecx, ebx
je 0x422f63
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x422f45
sub eax, esi
inc eax
push eax
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [esp + 8]
lea eax, [esp + 0x1c]
push eax
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push 0xffffffffffffffff
shr esi, 1
lea ecx, [esp + 0x128]
push esi
push ecx
call fcn.00428db0
add esp, 0x14
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x128]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x422fc1
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.00428687
add esp, 0x518
ret
push 0x400
lea ecx, [esp + 0x120]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
call fcn.0042c780
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push str.PnpInstanceID
push edx
call esi
test eax, eax
jne 0x4230b6
lea ecx, [esp + 0x11c]
push ecx
push 0x449b50
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push 4
push edx
mov word [esp + 0x28], ax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
call fcn.00428db0
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0042be67
lea ecx, [esp + 0x30]
push 0x449b58
push ecx
call fcn.0042bf8f
add esp, 0x24
test eax, eax
jne 0x4230b6
call fcn.00422e60
test al, al
je 0x423065
cmp dword [edi + 0x1a0], 6
jmp 0x4230b2
push 0x400
lea edx, [esp + 0x120]
push ebx
push edx
call fcn.0042c780
add esp, 0xc
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push str.MediaSubType
push eax
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4230b6
cmp dword [esp + 0x11c], 1
jne 0x4230b6
mov bl, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x51c]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00428687
add esp, 0x518
ret
Function at 0x423130
Capabilities:
Get local ipv4 addresses

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push 0x288
xor bl, bl
mov dword [esp + 0x10], 0x288
call fcn.0042884c
mov esi, eax
add esp, 4
lea eax, [esp + 0xc]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x423181
push esi
call fcn.0042876f
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0042884c
add esp, 8
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4231e9
test esi, esi
je 0x4231e9
push edi
mov edi, esi
lea esp, [esp]
call fcn.00422ec0
test al, al
jne 0x4231a1
mov edi, dword [edi]
test edi, edi
jne 0x423190
jmp 0x4231ac
mov ecx, ebp
mov eax, edi
call fcn.004230e0
mov bl, 1
xor eax, eax
pop edi
cmp ax, word [ebp]
jne 0x4231e9
mov eax, esi
jmp 0x4231c0
lea ecx, [eax + 0x1b0]
test ecx, ecx
jne 0x4231e0
mov eax, dword [eax]
test eax, eax
jne 0x4231c0
push esi
call fcn.0042876f
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret
mov ecx, ebp
call fcn.004230e0
mov bl, 1
push esi
call fcn.0042876f
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x423bf0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x70
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [ecx + 0x18], 0x10
mov eax, dword [ecx + 0x14]
mov byte [esp + 0x68], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], 0x67452301
mov dword [esp + 4], 0xefcdab89
mov dword [esp + 8], 0x98badcfe
mov dword [esp + 0xc], 0x10325476
jb 0x423c40
mov ecx, dword [ecx + 4]
jmp 0x423c43
add ecx, 4
push ecx
lea ecx, [esp + 4]
call fcn.00423340
cmp byte [esp + 0x68], 0
jne 0x423c64
push esi
lea esi, [esp + 4]
mov byte [esp + 0x6c], 1
call fcn.004233e0
pop esi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [edi], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, edi
call fcn.00428687
add esp, 0x70
ret

Function at 0x423c90
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
push 0
push 2
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x423d39
push 0x22c
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0042c780
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x423d32
mov ecx, edi
lea eax, [esp + 0x2c]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423d16
test dx, dx
je 0x423d12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423d16
add eax, 4
add ecx, 4
test dx, dx
jne 0x423cf0
xor eax, eax
jmp 0x423d1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x423d30
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x423ce7
jmp 0x423d32
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00428687
add esp, 0x230
ret
Function at 0x425f00
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
push edi
push 0x114
lea eax, [esp + 0x10]
mov esi, ecx
push 0
push eax
mov dword [esi + 0x14], 0
call fcn.0042c780
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [esp + 0x1c], 2
jne 0x425f6c
mov ecx, esi
call fcn.00426220
test eax, eax
jne 0x425f80
mov ecx, esi
call fcn.004264a0
test eax, eax
jne 0x425f80
call fcn.00426690
jmp 0x425f80
xor edi, edi
mov edi, edi
test eax, eax
jne 0x425f80
push esi
call fcn.004260c0
inc edi
cmp edi, 0xa
jl 0x425f70
mov eax, dword [esi + 0x14]
test eax, eax
jl 0x425fc1
cmp eax, dword [esi + 0x10]
jge 0x425fc1
mov edx, eax
shl edx, 7
lea ecx, [edx + esi + 0x18]
push ecx
inc eax
push 0x40
push ebx
mov dword [esi + 0x14], eax
call fcn.0042c0e6
add esp, 0xc
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00428687
add esp, 0x124
ret
mov ecx, dword [esp + 0x128]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00428687
add esp, 0x124
ret
Function at 0x426220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x494
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x48c], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x10], 0x20
jge 0x426482
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x2a2]
push ecx
mov word [esp + 0x2a4], ax
call fcn.0042c780
push ebx
push str..PhysicalDrive_d
lea edx, [esp + 0x2ac]
call fcn.00426a10
add esp, 0x14
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x426474
xor eax, eax
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x18
lea edx, [esp + 0x30]
push edx
push eax
push eax
push 0x74080
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call ebp
test eax, eax
je 0x426469
mov bl, byte [esp + 0x27]
test bl, bl
jbe 0x426469
xor eax, eax
push 0x210
push eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov byte [esp + 0x8c], al
lea eax, [esp + 0x90]
push eax
call fcn.0042c780
mov al, byte [esp + 0x24]
mov cl, al
and cl, 1
add esp, 0xc
or cl, 0xfa
shl cl, 4
push 0
mov byte [esp + 0x71], cl
mov cl, al
shr bl, cl
lea edx, [esp + 0x20]
push edx
push 0x210
and bl, 0x10
mov byte [esp + 0x7c], al
lea eax, [esp + 0x94]
push eax
neg bl
push 0x20
sbb bl, bl
lea ecx, [esp + 0x78]
push ecx
and bl, 0xb5
push 0x7c088
add bl, 0xec
push edi
mov byte [esp + 0x88], 0
mov byte [esp + 0x89], 1
mov byte [esp + 0x8b], 0
mov byte [esp + 0x8c], 0
mov byte [esp + 0x8e], bl
mov dword [esp + 0x84], 0x200
call ebp
test eax, eax
je 0x426469
movzx eax, word [esp + 0xae]
movzx edx, word [esp + 0xac]
movzx ecx, word [esp + 0xb0]
mov dword [esp + 0x40], eax
movzx eax, word [esp + 0xb4]
mov dword [esp + 0x3c], edx
movzx edx, word [esp + 0xb2]
mov dword [esp + 0x44], ecx
movzx ecx, word [esp + 0xb6]
mov dword [esp + 0x4c], eax
movzx eax, word [esp + 0xba]
mov dword [esp + 0x48], edx
movzx edx, word [esp + 0xb8]
mov dword [esp + 0x50], ecx
movzx ecx, word [esp + 0xbc]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x54], edx
movzx edx, word [esp + 0xbe]
mov dword [esp + 0x5c], ecx
mov ecx, eax
shl ecx, 7
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x20]
lea esi, [ecx + esi + 0x18]
inc eax
lea ecx, [esp + 0x3c]
mov dword [edx + 0x10], eax
call fcn.00425fe0
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x18]
inc ebx
cmp ebx, 0x10
mov dword [esp + 0x18], ebx
jl 0x42624e
mov ecx, dword [esp + 0x49c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00428687
add esp, 0x494
ret
Function at 0x426690
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x221c
call fcn.004303d0
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x2218], eax
push ebx
push ebp
xor ebx, ebx
push edi
xor edi, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
jmp 0x4266c0
cmp dword [esi + 0x10], 0x20
jge 0x426830
push edi
push str..PhysicalDrive_d
lea edx, [esp + 0x2c]
call fcn.00426a10
add esp, 8
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x426822
mov edi, dword [esi + 0x10]
xor eax, eax
push 0x2000
lea ecx, [esp + 0x228]
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0042c780
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea edx, [esp + 0x18]
push edx
push 0x2000
lea eax, [esp + 0x230]
push eax
push 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0x2d1400
push ebp
call ebx
test eax, eax
je 0x42679b
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x23c]
shl edx, 7
lea ecx, [edx + esi + 0x18]
lea eax, [esp + eax + 0x224]
push ecx
call fcn.00426850
mov edx, dword [esi + 0x10]
shl edx, 7
movzx eax, word [edx + esi + 0x18]
push eax
call fcn.0042c3a7
add esp, 4
test eax, eax
je 0x42679b
mov eax, 1
add dword [esi + 0x10], eax
mov dword [esp + 0xc], eax
cmp edi, dword [esi + 0x10]
jne 0x426815
push 0x2000
lea ecx, [esp + 0x228]
push 0
push ecx
call fcn.0042c780
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push 0x2000
lea eax, [esp + 0x230]
push eax
push 0
push 0
push 0x2d0c10
push ebp
call ebx
test eax, eax
je 0x426815
mov ecx, dword [esi + 0x10]
shl ecx, 7
lea ebx, [ecx + esi + 0x18]
lea edi, [esp + 0x234]
call fcn.004269d0
mov edx, dword [esi + 0x10]
shl edx, 7
movzx eax, word [edx + esi + 0x18]
push eax
call fcn.0042c3a7
add esp, 4
test eax, eax
je 0x426815
mov eax, 1
add dword [esi + 0x10], eax
mov dword [esp + 0xc], eax
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x10]
xor ebx, ebx
inc edi
cmp edi, 0x10
mov dword [esp + 0x10], edi
jl 0x4266c0
mov ecx, dword [esp + 0x2224]
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00428687
add esp, 0x221c
ret
Function at 0x426c57
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x455ef0], 0
push esi
jne 0x426bca
call fcn.00426af0
test eax, eax
je 0x426c0d
mov eax, dword [0x455ef0]
cmp eax, 1
jne 0x426beb
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x426c0d
pop esi
ret
push eax
call dword [0x455ef8]
test eax, eax
jne 0x426c55
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x426c11
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x455ef0]
call dword [0x455ef8]
mov edi, eax
test edi, edi
je 0x426c36
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x426c52
mov edi, esi
add esi, 0xff0
push edi
push dword [0x455ef0]
call dword [0x455ef4]
add edi, 0x10
cmp edi, esi
jb 0x426c3e
mov eax, edi
pop edi
pop esi
ret
jmp 0x426bb7

Function at 0x428687
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4531a0]
jne 0x428691
repz ret
jmp fcn.0042efcf

Function at 0x43b717
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043050a
and dword [ebp - 4], 0
cmp dword [0x456d5c], 0
mov ebx, eax
jne 0x43b7c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43b879
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43b879
push eax
call fcn.00430498
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x456d5c], eax
call esi
push eax
call fcn.00430498
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x456d60], eax
call esi
push eax
call fcn.00430498
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x456d64], eax
call esi
push eax
call fcn.00430498
pop ecx
mov dword [0x456d6c], eax
test eax, eax
je 0x43b7c8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00430498
pop ecx
mov dword [0x456d68], eax
mov eax, dword [0x456d68]
cmp eax, ebx
je 0x43b820
cmp dword [0x456d6c], ebx
je 0x43b820
push eax
call fcn.00430513
push dword [0x456d6c]
mov esi, eax
call fcn.00430513
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43b820
test edi, edi
je 0x43b820
call esi
test eax, eax
je 0x43b817
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43b817
test byte [ebp - 0xc], 1
jne 0x43b820
or dword [ebp + 0x10], 0x200000
jmp 0x43b859
mov eax, dword [0x456d60]
cmp eax, ebx
je 0x43b859
push eax
call fcn.00430513
pop ecx
test eax, eax
je 0x43b859
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43b859
mov eax, dword [0x456d64]
cmp eax, ebx
je 0x43b859
push eax
call fcn.00430513
pop ecx
test eax, eax
je 0x43b859
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x456d5c]
call fcn.00430513
pop ecx
test eax, eax
je 0x43b879
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43b87b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4019d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jae 0x401a18
push 0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x401a0d
or eax, 0xffffffff
jmp 0x401a1b
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x4019dd
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401a20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jae 0x401a68
push 0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x401a5d
or eax, 0xffffffff
jmp 0x401a6b
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x401a2d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret