joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5600397e
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x55cf535c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402d70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e1658
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov dword [esp + 0xc], 0x28
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], 0x1d
mov dword [esp + 0x30], edx
test eax, eax
je 0x402e0e
push 0xffffffffffffffff
push eax
call fcn.00402c30
mov esi, eax
add esp, 8
mov dword [esp + 0x48], esi
test esi, esi
jne 0x402e14
push 0x8007000e
call fcn.004019d0
xor esi, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x3c], 0
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x20]
push 0x1091
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov dword [esp + 0x3c], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 0x14
Function at 0x403250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e1746
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xd4]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x20]
push 0x1095
push eax
mov dword [esp + 0x24], 0x28
mov dword [esp + 0x28], 0x11
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x403377
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0x40]
push 3
mov dword [esp + 0x40], ecx
push esi
lea ecx, [esp + 0x44]
call fcn.00402e70
mov byte [esp + 0xc8], 2
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0xd0]
push edx
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0xc], 1
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x40334c
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov byte [esp + 0xc8], 0
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc0
ret 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x4032eb
push 0x8007000e
call fcn.004019d0
int3
Function at 0x404180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e19a9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
call sub.mfc90.dll_Ordinal_1137
mov ecx, dword [eax + 4]
call sub.mfc90.dll_Ordinal_1387
mov dword [esp + 0x68], 0
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov eax, dword [esi + 0x20]
push ebx
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.004033a0
mov byte [esp + 0x68], 1
mov ecx, esi
call sub.mfc90.dll_Ordinal_3056
movzx ecx, bl
push ecx
push ebp
mov ecx, eax
call fcn.00404ac0
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x10af
push edx
call edi
test eax, eax
je 0x40432e
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb
push eax
call edi
push ebp
mov ecx, esi
call fcn.00403790
mov ecx, dword [esi + 0x20]
xor ebp, ebp
push ebp
push ebp
push 0x1004
push ecx
call edi
test eax, eax
jle 0x4042d9
push 0x30
lea edx, [esp + 0x34]
push 0
push edx
call sub.MSVCR90.dll_memset
mov ecx, dword [esi + 0x20]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push 0
push 0x1005
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
mov dword [esp + 0x40], ebp
call edi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
cmp eax, 0xffffffff
je 0x4042c1
mov edx, dword [esp + 0x28]
xor ecx, ecx
test edx, edx
jle 0x404291
mov ebx, dword [esp + 0x20]
nop
cmp dword [ebx + ecx*4], eax
je 0x40428c
inc ecx
cmp ecx, edx
jl 0x404280
jmp 0x404291
cmp ecx, 0xffffffff
jne 0x4042c1
push eax
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call fcn.00403250
mov byte [esp + 0x68], 2
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
call fcn.00403170
mov byte [esp + 0x68], 1
lea ecx, [esp + 0x70]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x1004
push ecx
inc ebp
call edi
cmp ebp, eax
jl 0x404235
mov edx, dword [esi + 0x20]
push 0
push 1
push 0xb
push edx
call edi
mov eax, dword [esi + 0x20]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x14]
push ecx
push 0x4034d0
push 0x109e
push edx
call edi
test eax, eax
jne 0x404343
mov byte [esp + 0x68], al
lea ecx, [esp + 0x20]
call fcn.00402fa0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x74]
call fcn.00401a60
xor al, al
jmp 0x404364
mov ecx, dword [esi + 0x20]
push 0x402510
lea eax, [esp + 0x18]
push eax
push 0x1051
push ecx
call edi
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x20]
call fcn.00402fa0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x74]
call fcn.00401a60
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
Function at 0x405410
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e1bc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
call fcn.00405280
cmp eax, 1
jne 0x40555b
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
lea eax, [esp + 0x14]
push eax
push 0x2001f
push edi
push str.SYSTEMCurrentControlSetServicesPerfOSPerformance
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x405501
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
xor ebx, ebx
cmp dword [esp + 0x34], edi
lea ecx, [esp + 0x34]
push ecx
push 4
sete bl
push edi
push str.Disable_Performance_Counters
mov dword [esp + 0x30], edi
push esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], ebx
call ebp
cmp esi, edi
je 0x4054be
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
push 0x2001f
push str.SYSTEMCurrentControlSetServicesPerfProcPerformance
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], edi
call fcn.00405220
test eax, eax
je 0x405511
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4054f9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
xor eax, eax
jmp 0x405560
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x1c], edi
xor eax, eax
jmp 0x405560
mov esi, dword [esp + 0x18]
push 4
lea edx, [esp + 0x34]
push edx
push 4
push edi
push str.Disable_Performance_Counters
push esi
mov dword [esp + 0x48], ebx
call ebp
cmp esi, edi
je 0x40553c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], 0xffffffff
cmp esi, edi
je 0x405557
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x405580
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e1bfe
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x48]
mov eax, 1
test byte [0x558a90], al
jne 0x4055ff
or dword [0x558a90], eax
mov dword [esp + 0x40], 0
push 0x19000
mov dword [0x558a8c], 0x19000
call dword [sym.imp.MSVCR90.dll_malloc]
push 0x4fc140
mov dword [0x558a88], eax
call fcn.004e020f
add esp, 8
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x4c]
mov eax, dword [0x558a8c]
push ecx
lea edx, [esp + 0x18]
push 0x4ff1b8
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [0x558a8c]
mov ecx, dword [0x558a88]
push eax
push 0
push ecx
call sub.MSVCR90.dll_memset
mov eax, dword [0x558a88]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0x18
lea edx, [esp + 0x10]
push edx
push eax
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
push reloc.OLEAUT32.dll_SysReAllocStringLen
call esi
cmp eax, 0xea
jne 0x4056ba
mov edi, dword [sym.imp.MSVCR90.dll_realloc]
jmp 0x405670
mov eax, dword [esp + 0x10]
mov edx, dword [0x558a88]
add eax, 0x2800
push eax
push edx
mov dword [esp + 0x18], eax
mov dword [0x558a8c], eax
call edi
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
push 0
lea edx, [esp + 0x24]
push edx
push reloc.OLEAUT32.dll_SysReAllocStringLen
mov dword [0x558a88], eax
call esi
cmp eax, 0xea
je 0x405670
mov eax, dword [0x558a88]
mov dword [ebx], eax
jmp 0x4056c2
mov ecx, dword [0x558a88]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004e0148
add esp, 0x34
ret 0xc

Function at 0x406fc0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4e1e18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x53fa2c]
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.CDelayedNotifier.0
mov dword [esp + 0x14], 0
push 0
push 0
push 0
push 0
mov dword [esi], vtable.CDelayedNotificationThread.0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x558aa8
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x407053
push 0x558ab0
push 0
push esi
push 0x406b70
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [0x558aac], eax
test eax, eax
je 0x407053
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x407120
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e1e5e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004077c0
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi], vtable.CDelayedDirectoryChangeHandler.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
cmp eax, ebx
je 0x40718d
cmp byte [eax], bl
jne 0x407195
cmp ecx, ebx
je 0x4071aa
cmp byte [ecx], bl
je 0x4071aa
push ecx
push eax
mov ecx, esi
mov dword [0x558ab4], ebx
mov dword [0x53e204], ebx
call fcn.00405eb0
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x48], eax
cmp byte [esp + 0x24], bl
je 0x4071dd
push 4
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x18], 1
cmp eax, ebx
je 0x4071fd
mov ecx, eax
call fcn.00406ea0
jmp 0x4071ff
push 8
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x18], 2
cmp eax, ebx
je 0x4071fd
mov ecx, eax
call fcn.00406fc0
jmp 0x4071ff
xor eax, eax
mov byte [esp + 0x18], bl
mov dword [esi + 0x34], eax
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4081c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e21a3
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 8], ecx
lea edi, [esi + 0x10]
xor ebp, ebp
push eax
mov ecx, edi
mov dword [esi], ebp
mov dword [esi + 0xc], edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov dword [esp + 0x1c], ebp
lea ecx, [esi + 0x1030]
mov dword [esi + 0x1014], ebp
mov dword [esi + 0x102c], ebp
call fcn.004072e0
mov byte [esp + 0x1c], 1
push ebp
push ebp
push 1
push ebp
lea ecx, [esi + 0x1050]
call sub.mfc90.dll_Ordinal_398
mov byte [esp + 0x1c], 2
push 0x5c
mov dword [esi + 0x1058], ebp
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x1c], 3
cmp eax, ebp
je 0x408287
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ecx
mov ecx, eax
call fcn.00407120
jmp 0x408289
xor eax, eax
mov byte [esp + 0x1c], 2
mov dword [esi], eax
cmp eax, ebp
je 0x40829c
push edi
mov ecx, eax
call fcn.004060b0
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
cmp eax, ebp
je 0x4082af
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor eax, eax
mov dword [esi + 0x1018], eax
mov dword [esi + 0x101c], eax
mov dword [esi + 0x1020], eax
mov dword [esi + 0x1024], eax
mov dword [esi + 0x1028], eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0x24
Function at 0x409b90
Capabilities:
Create thread

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
lea ecx, [esp + 8]
push ecx
push 0
push edx
push 0x409870
push 0
push 0
mov dword [0x571b10], eax
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
push 3
mov dword [0x571b14], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
ret

Function at 0x409bd0
Capabilities:
Create thread

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
lea ecx, [esp + 8]
push ecx
push 0
push edx
push 0x409970
push 0
push 0
mov dword [0x571b10], eax
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
push 3
mov dword [0x571b14], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
ret

Function at 0x40bcd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e2518
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6048
push esi
lea ecx, [esp + 0x2c]
call sub.mfc90.dll_Ordinal_590
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add eax, 0xf
mov dword [esp + 8], edx
mov edx, dword [esp + 0x1c]
add ecx, 0xf
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0x28], ecx
add edx, 0xf
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], edx
call sub.mfc90.dll_Ordinal_2470
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
push 0
lea edx, [esp + 0xc]
mov dword [esp + 0x18], ecx
add eax, 0xf
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], eax
call sub.mfc90.dll_Ordinal_2470
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
add eax, 0xfffffff1
mov dword [esp + 0xc], ecx
mov dword [esp + 0xc], eax
push 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], edx
call sub.mfc90.dll_Ordinal_2470
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
push 0
lea edx, [esp + 0xc]
mov dword [esp + 0x18], ecx
add eax, 0xfffffff1
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], eax
call sub.mfc90.dll_Ordinal_2470
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x28]
call sub.mfc90.dll_Ordinal_794
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret
Function at 0x40ff00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e2acb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, dword [esp + 0x250]
xor ebx, ebx
push 0x1ff
lea eax, [esp + 0x41]
push ebx
mov dword [esp + 0x18], ebx
push eax
mov dword [esp + 0x44], esi
mov byte [esp + 0x48], bl
call sub.MSVCR90.dll_memset
xor eax, eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x248], 1
push 0x6bb
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x248], 2
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov byte [esp + 0x248], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x2c], 0x241
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
cmp eax, ebx
je 0x41001c
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x410029
push 0x5116d8
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x10], 1
mov byte [esp + 0x248], bl
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004e0148
add esp, 0x240
ret
Function at 0x426b40
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x4e600d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
push esi
push 0x522f90
xor ebp, ebp
mov ebx, 1
push ebx
push ebp
mov dword [esp + 0x24], ebp
lea edi, [esi + 4]
push 0x523060
mov dword [edi], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jge 0x426bc9
lea eax, [esp + 0x2c]
push eax
call fcn.00491540
mov dword [esp + 0x28], ebp
mov ecx, dword [eax]
push ecx
push str.CoCreateInstance_Initialize_err__s_
push 8
call fcn.0043d500
add esp, 0x10
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor al, al
jmp 0x426cfc
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x426bdd
push eax
lea ecx, [esp + 0x1c]
call fcn.00405340
jmp 0x426bf0
push str.ROOTCIMV2
lea ecx, [esp + 0x30]
call fcn.00410b30
mov ebx, 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [eax]
cmp eax, ebp
je 0x426c02
mov ecx, dword [eax]
jmp 0x426c04
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push edi
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov ebp, eax
mov dword [esp + 0x24], 1
test bl, 2
je 0x426c35
and ebx, 0xfffffffd
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], ebx
call fcn.004056f0
mov dword [esp + 0x24], 0xffffffff
test bl, 1
je 0x426c52
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.004056f0
test ebp, ebp
jge 0x426c85
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x2c]
push eax
mov dword [esi], 0
call fcn.00491540
mov dword [esp + 0x28], 3
mov ecx, dword [eax]
push ecx
push str.ConnectServer_Initialize_err__s_
jmp 0x426ba6
mov edx, dword [edi]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x426cdf
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
mov dword [edi], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x2c]
push eax
mov dword [esi], 0
call fcn.00491540
mov dword [esp + 0x28], 4
mov ecx, dword [eax]
push ecx
push str.ConnectServer_CoSetProxyBlanket_err__s_
jmp 0x426ba6
cmp dword [0x103a97c], 0
je 0x426cfa
mov edx, dword [edi]
push edx
push str.WMIQuery_Initialize_OK_m_pServices__d_
push 0
call fcn.0043d500
add esp, 0xc
mov al, 1
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