joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x210], 0
mov esi, dword [ecx]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
test esi, esi
je 0x45a68b
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov dword [ebp - 0x210], 1
mov word [ebp - 0x20c], cx
call fcn.0046e590
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
push edi
push esi
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp - 0x214]
test esi, esi
je 0x45a67b
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a660
sub eax, edx
sar eax, 1
jne 0x45a67b
push esi
mov ecx, ebx
call fcn.00402008
jmp 0x45a697
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.00402008
jmp 0x45a697
push 0x4b6ad0
mov ecx, ebx
call fcn.004037ad
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0046e452
mov esp, ebp
pop ebp
ret 0xc
Function at 0x465ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x465be8
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
lea ecx, [ebp - 0x24]
push 0
mov edx, ecx
push edx
push 0
push ebx
mov dword [ebp - 0x24], 0x680053
mov dword [ebp - 0x20], 0x6c0065
mov dword [ebp - 0x1c], 0x20006c
mov dword [ebp - 0x18], 0x6d0045
mov dword [ebp - 0x14], 0x650062
mov dword [ebp - 0x10], 0x640064
mov dword [ebp - 0xc], 0x6e0069
mov dword [ebp - 8], 0x67
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0
call esi
test eax, eax
je 0x465b5b
mov dword [ebp - 0x50], eax
jmp 0x465b6e
lea eax, [ebp - 0x54]
push eax
push 0x44e5c0
push ebx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x465be8
push edi
xor ecx, ecx
push ecx
lea edx, [ebp - 0x4c]
mov word [ebp - 0x28], cx
mov dword [ebp - 0x58], ecx
mov ecx, edx
push ecx
push 0
push eax
mov dword [ebp - 0x4c], 0x6c0041
mov dword [ebp - 0x48], 0x780065
mov dword [ebp - 0x44], 0x520061
mov dword [ebp - 0x40], 0x660065
mov dword [ebp - 0x3c], 0x65006c
mov dword [ebp - 0x38], 0x740063
mov dword [ebp - 0x34], 0x6f0069
mov dword [ebp - 0x30], 0x57006e
mov dword [ebp - 0x2c], 0x64006e
mov edi, eax
mov dword [ebp - 0x5c], edx
call esi
test eax, eax
jne 0x465be3
lea edx, [ebp - 0x5c]
push edx
push 0x44e5c0
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebp - 0x58]
pop edi
test eax, eax
jne 0x465bfa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x186a0
div ecx
lea eax, [ebx + edx*4]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e452
mov esp, ebp
pop ebp
ret 4
Function at 0x46c9b7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4e21b8], 0
push esi
push edi
jne 0x46c92d
call fcn.0046c899
test eax, eax
je 0x46c972
mov eax, dword [0x4e21b8]
cmp eax, 1
jne 0x46c94e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46c972
jmp 0x46c9b4
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x46c9b4
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 0x46c976
xor eax, eax
jmp 0x46c9b4
mov eax, dword [esi]
push dword [0x4e21b8]
call edi
mov edi, eax
test edi, edi
je 0x46c998
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x46c9b4
lea edi, [esi + 0xff0]
push esi
push dword [0x4e21b8]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x46c99e
mov eax, esi
pop edi
pop esi
ret
jmp 0x46c919

Function at 0x46e452
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e0240]
jne 0x46e45c
repz ret
jmp fcn.00476b3c
Function at 0x484067
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0047653a
and dword [ebp - 0x14], 0
cmp dword [0x4e31f0], 0
mov dword [ebp - 0x18], eax
jne 0x48411a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4841c2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4841c2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4e31f0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4e31f4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4e31f8], eax
call edi
push eax
call esi
mov dword [0x4e3200], eax
test eax, eax
je 0x48411a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4e31fc], eax
mov eax, dword [0x4e31fc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x484173
cmp dword [0x4e3200], ecx
je 0x484173
push eax
call esi
push dword [0x4e3200]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x484173
test ebx, ebx
je 0x484173
call edi
test eax, eax
je 0x48416a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48416a
test byte [ebp - 8], 1
jne 0x484173
or dword [ebp + 0x10], 0x200000
jmp 0x4841a6
mov eax, dword [0x4e31f4]
cmp eax, dword [ebp - 0x18]
je 0x4841a6
push eax
call esi
test eax, eax
je 0x4841a6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4841a6
mov eax, dword [0x4e31f8]
cmp eax, dword [ebp - 0x18]
je 0x4841a6
push eax
call esi
test eax, eax
je 0x4841a6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4e31f0]
call esi
test eax, eax
je 0x4841c2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4841c4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e452
leave
ret
Function at 0x4890b0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b28f9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword [0x4e0004]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e0004
mov dword [ebp - 4], 0
call edx
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov ecx, 1
mov dword [ebp - 0x10], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x101
or eax, ecx
mov dword [ebp - 4], 0
jge 0x489125
push 0x101
mov ecx, esi
call fcn.00401485
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x489149
push ecx
push eax
call fcn.00470c6c
add esp, 8
test eax, eax
js 0x48916f
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x48916f
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401000
int3

Function at 0x489340
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2989
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0
call fcn.0046e590
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [0x4e0004]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e0004
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
shrd ecx, edx, 0x14
shr edx, 0x14
push edx
push ecx
push str._d_M
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 1
call fcn.00401a85
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret 4
Function at 0x4899b0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x19010
call fcn.0046e870
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x19000
lea ecx, [ebp - 0x19007]
push 0
mov dword [ebp - 0x1900c], 0
push ecx
mov dword [ebp - 0x19010], eax
mov byte [ebp - 0x19008], 0
call fcn.0046e590
add esp, 0xc
lea edx, [ebp - 0x1900c]
push edx
lea eax, [ebp - 0x19008]
push eax
push 0
mov dword [ebp - 0x1900c], 0x19000
call sub.urlmon.dll_ObtainUserAgentString
lea ecx, [ebp - 0x19008]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jg 0x489a5f
lea eax, [esi + esi]
call fcn.00470aa0
mov edi, esp
test edi, edi
je 0x489a5f
push esi
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x19008]
xor edx, edx
push eax
push edx
push 3
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x489a61
xor eax, eax
mov esi, dword [ebp - 0x19010]
push eax
mov ecx, esi
call fcn.00402008
mov eax, esi
lea esp, [ebp - 0x19018]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret

Function at 0x489a90
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x104], 0
call fcn.0046e590
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x489b10
push 0x4b67c8
mov ecx, esi
call fcn.00402008
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, esi
call fcn.004037ad
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0046e452
mov esp, ebp
pop ebp
ret 4
Function at 0x48db10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b312b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov edx, dword [0x4e0004]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e0004
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
push 0x4c204c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00402008
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x50]
push ecx
push edx
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 4
call fcn.0048d020
test eax, eax
jne 0x48dc22
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0048b500
mov eax, dword [ebp - 0x50]
cmp eax, esi
je 0x48dbc7
push eax
call fcn.0046d5e2
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x48dc0a
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x48dc0a
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x48dc0a
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], esp
cmp eax, esi
je 0x48dc48
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, edi
call fcn.0048c6b0
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0048b500
mov eax, dword [ebp - 0x50]
cmp eax, esi
je 0x48dc7f
push eax
call fcn.0046d5e2
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x48dcc2
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x48dcc2
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x48dcc2
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48deb0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4058
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0048c860
test eax, eax
je 0x48df1f
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0048d2a0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 0
jne 0x48df41
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48df1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 0x6c]
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.0048d3c0
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov esi, dword [esi + 0x6c]
push 0
push eax
push edx
push 3
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48df82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48dfa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48fd80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b36fb
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov edx, dword [0x4e0004]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e0004
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call eax
add eax, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push 0x4c204c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00402008
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 3
cmp edx, ebx
jne 0x48fe13
xor eax, eax
jmp 0x48fe2f
mov eax, edx
lea esi, [eax + 2]
jmp 0x48fe20
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48fe20
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x38]
call fcn.0040170b
mov edi, dword [ebp + 0xc]
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
push ebx
push ebx
mov byte [ebp + 8], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, ecx
sub esi, edx
cmp eax, esi
jbe 0x48fe73
sub edx, ecx
lea esi, [ebp + 8]
push esi
add edx, eax
push edx
push ecx
lea ecx, [ebp - 0x34]
call fcn.00413980
mov ecx, dword [ebp - 0x30]
jmp 0x48fe8c
jae 0x48fe8f
lea esi, [edx + eax]
cmp esi, ecx
je 0x48fe8f
push ebx
push ecx
push esi
call fcn.00470c90
mov ecx, esi
add esp, 0xc
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x34]
push ebx
push ebx
sub ecx, edx
push ecx
push edx
push 0xffffffffffffffff
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 4
push str.POST
lea ecx, [ebp - 0x24]
call fcn.0040170b
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
push ecx
push 4
push esi
push 0x48f730
push ebx
push ebx
call fcn.0047184d
add esp, 0x18
lea edx, [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
push edx
push eax
lea ecx, [esi + 0x3c]
call fcn.0048eff0
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 4
call fcn.0048b500
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x48fefd
push eax
call fcn.0046d5e2
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48ff20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b374b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov edx, dword [0x4e0004]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e0004
mov dword [ebp - 4], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
push 0x4c204c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00402008
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 3
cmp edx, esi
jne 0x48ffb2
xor eax, eax
jmp 0x48ffc6
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x48ffb7
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x34]
call fcn.0040170b
lea ecx, [ebp - 0x3c]
push ecx
push 4
push edi
push 0x48f730
push esi
push esi
call fcn.0047184d
add esp, 0x18
lea edx, [ebp - 0x50]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
push edx
push eax
lea ecx, [edi + 0x3c]
call fcn.0048eff0
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 4
call fcn.0048b500
mov eax, dword [ebp - 0x50]
cmp eax, esi
je 0x49001b
push eax
call fcn.0046d5e2
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x490350
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3778
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [esi], vtable.CProcessMonitor::ProcessChecker.0
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea edi, [esi + 4]
mov dword [esi + 0x14], eax
lea ebx, [esi + 0xc]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov al, 0x65
push str.kernel32.dll
mov dword [ebp - 0x1c], 0x6e65704f
mov dword [ebp - 0x18], 0x636f7250
mov byte [ebp - 0x14], al
mov word [ebp - 0x13], 0x7373
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x54], vtable.CLibLoader.0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
mov dword [ebp - 0x50], ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp ecx, eax
je 0x4903fd
lea edx, [ebp - 0x1c]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp + 0xc], 0
je 0x490415
mov ecx, dword [ebp - 0x48]
push ecx
push 0
push 0x401
call eax
mov dword [esi + 0x2c], eax
jmp 0x490480
mov edx, dword [ebp - 0x48]
push edx
push 0
push 0x400
call eax
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
push 0x28
lea ecx, [ebp - 0x44]
push ecx
push eax
mov dword [esi + 0x2c], eax
call sub.PSAPI.DLL_GetProcessMemoryInfo
mov edx, dword [ebp - 0x38]
lea eax, [esi + 0x1c]
shr edx, 0xa
push eax
mov dword [esi + 0x30], edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esi + 0x2c]
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
lea eax, [esi + 0x14]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x49048e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret 8