joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49beb5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x49bfcd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49bfcd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0055d52f
mov esi, eax
test esi, esi
je 0x49bfcd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x49bfcd
mov ecx, esi
call fcn.0049be20
cmp edi, eax
jge 0x49bfcd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x49bf53
mov dword [esp + 0x34], 1
jmp 0x49bfae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x49bfcd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00499bb0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4a1968
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x571ec9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004a4400
lea edi, [esi + 0x108]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0xc]
mov dword [edi], fcn.0044be90
call fcn.00559f33
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 1
call fcn.00559f33
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 2
call fcn.004a3fd0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 3
call fcn.004a3fd0
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 4
call fcn.00559f33
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 5
call fcn.00559f33
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 6
call fcn.004a3fd0
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 7
call fcn.004a3fd0
mov dword [edi], 0x9ed700
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 8
call fcn.004a4400
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 9
call fcn.004a4400
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 0xa
call fcn.004a4400
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 0xb
call fcn.004a4400
lea ecx, [esi + 0x654]
mov byte [esp + 0x18], 0xc
call fcn.004a4400
mov ecx, esi
mov byte [esp + 0x18], 0xd
mov dword [esi], method.CWnd.virtual_0
call fcn.004a1c90
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a1b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x571fdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0x654]
mov dword [esp + 0x18], 5
call fcn.004a45d0
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 4
call fcn.004a45d0
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 3
call fcn.004a45d0
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 2
call fcn.004a45d0
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 1
call fcn.004a45d0
lea edi, [esi + 0x108]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 0xc
mov dword [ecx], 0x9ed710
call fcn.004a41d0
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 0xb
mov dword [ecx], 0x9ed710
call fcn.004a41d0
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 0xa
call fcn.00559f5c
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 9
call fcn.00559f5c
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x9ed710
call fcn.004a41d0
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x9ed710
call fcn.004a41d0
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 6
call fcn.00559f5c
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 0
call fcn.00559f5c
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004a45d0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b0790
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004b6c10
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4b0889
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.004b08a0
test eax, eax
jne 0x4b0889
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.004b08a0
test eax, eax
jne 0x4b0889
lea edx, [esp + 0x10]
push 0xa2bbd0
push edx
call fcn.00549b20
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b085a
lea eax, [esp + 0x10]
push 0xa2bbcc
push eax
call fcn.00549b20
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b085a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4b085d
mov byte [esi], 0
push 0xa2b394
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4b08a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4b0902
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4b6b50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x572f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4b6c00
mov eax, dword [0xa63658]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0055bdfc
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0055be4b
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0055bda8
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4b6be7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4b6be7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0055b9cc
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4b9d00
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5733e0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b9ea7
mov ecx, dword [0xa63658]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4b9dfc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004b8a20
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0055bb05
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0055b9cc
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0xa2b394
call fcn.0055ba3a
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004b8de0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0055bb05
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0055b9cc
lea ecx, [esp + 0xc]
call fcn.0055bf07
mov ecx, dword [esp + 0xc]
push 0xa2bdd4
push ecx
call fcn.00548934
add esp, 8
test eax, eax
je 0x4b9e24
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4b9d5d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0055b9cc
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0055b9cc
jmp 0x4b9eab
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004b9aa0
test eax, eax
push 0
je 0x4b9e8f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004b8140
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4b9e75
cmp eax, 0x64
jg 0x4b9e63
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4b9e00
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4b9e00
cmp eax, 0x64
jge 0x4b9dfc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4b9e00
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004b8140
mov esi, eax
jmp 0x4b9e00
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4b9eb5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4c4520
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c4593
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c4588
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.0054a57e
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x4d60c0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5744c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0xa63658]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.0055ded3
cmp dword [0xaa5b44], ebx
je 0x4d6130
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.0055b9cc
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0xa63658]
push ebp
push edi
mov edi, 1
mov dword [0xaa5b44], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x4d6159
mov dword [esp + 0x20], ebx
jmp 0x4d6160
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.005600ff
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.0055bb05
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x4d61be
mov dword [esp + 0x14], ebx
jmp 0x4d61c5
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x4d61df
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x4d61d9
cmp eax, 2
jne 0x4d61df
mov dword [esp + 0x18], edi
jmp 0x4d61e3
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x4d61f1
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0055d508
mov edi, eax
cmp edi, ebx
jne 0x4d6201
xor eax, eax
jmp 0x4d6204
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4d622c
mov ecx, esi
call fcn.005600ff
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x4d6244
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0xaa5b44], 0
test eax, eax
je 0x4d626d
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x4d626d
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.0055b9cc
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0055b9cc
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4d8170
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5746b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00562885
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.004d80b0
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005627b3
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4d8237
cmp dword [esp + 0x40], 1
jne 0x4d8235
cmp ecx, eax
jge 0x4d8237
mov eax, ecx
cmp eax, 0x12c
jge 0x4d8243
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.004d8290
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005628f7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4dc520
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x574ba6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0xa63658]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.0055ded3
mov edx, dword [0xa63658]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x4dc57a
mov dword [esp + 0x1c], ebx
jmp 0x4dc581
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.005600ff
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.0055bb05
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x4dc5d2
mov dword [esp + 0x14], ebx
jmp 0x4dc5d9
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x4dc5f4
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x4dc5ee
cmp eax, 2
jne 0x4dc5f4
mov dword [esp + 0x18], edi
jmp 0x4dc5f8
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x4dc606
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0055d508
mov edi, eax
cmp edi, ebx
jne 0x4dc616
xor eax, eax
jmp 0x4dc619
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4dc641
mov ecx, esi
call fcn.005600ff
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x4dc65d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4dc67c
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x4dc67c
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.0055b9cc
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.0055b9cc
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4ebf10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x575fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.004ec2e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.004ec2e0
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.004ec350
lea ecx, [esp + 0x10]
call fcn.004eacb0
cmp eax, 1
jae 0x4ebfb8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x4ec023
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4ec023
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.004ec350
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.004eacb0
cmp eax, 1
jb 0x4ec023
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.004ebdb0
test eax, eax
je 0x4ec023
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.004ec090
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.004ec3b0
push edi
lea ecx, [esp + 0x24]
call fcn.004ec3d0
push esi
lea ecx, [esp + 0x24]
call fcn.004ec470
push str..tmp
lea ecx, [esp + 0x24]
call fcn.004ec3d0
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.004ebd90
test eax, eax
je 0x4ec059
inc esi
cmp esi, 0x7a0a1f00
jb 0x4ebfda
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.004ec300
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ec300
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.004ec3b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.004ec300
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ec300
mov eax, 1
jmp 0x4ec044
Function at 0x4ec7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x576078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.004ec2e0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.004ec350
push 0
mov ecx, esi
call fcn.004ec760
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x4ec918
lea ecx, [esp + 0xc]
call fcn.004eacb0
cmp eax, 1
jae 0x4ec867
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ec300
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x4ec8b4
push 0
lea ecx, [esp + 0x10]
call fcn.00483ff0
push eax
push edi
mov ecx, 0xaa5c4c
call fcn.004ebf10
test eax, eax
jne 0x4ec8bc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ec300
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.004ec350
push edi
mov ecx, 0xaa5c4c
call fcn.004ebe70
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.004781e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x4ec918
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x4ec918
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x4ec948
push 1
mov ecx, esi
call fcn.004ec760
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ec300
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.004ec300
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x4ed230
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.004ec350
pop edi
add esp, 0x104
ret 4
Function at 0x4ee000
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4ee049
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4ee4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5762d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004ee070
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004ee0f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004ee0f0
lea ecx, [esi + 0xc]
call fcn.0055b957
lea ecx, [esi + 0x10]
call fcn.0055b957
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004ef680
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004ef680
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004ef680
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0055b9cc
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0055b9cc
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret