joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bbc0
Capabilities:
Get graphical window text
Read file via mapping

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
push 0x69712c
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
push 0
push 0
push 0xf001f
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, dword [esp + 0x124]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x18], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [esp + 0x17], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ebp, eax
test ebp, ebp
je 0x43bc87
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x1c]
push 0x100
push ecx
push ebp
call ebx
mov ecx, 5
mov edi, 0x698954
lea esi, [esp + 0x1c]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x43bc71
mov eax, dword [esp + 0x120]
push edx
push edx
push eax
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x43bc82
push 2
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
test ebp, ebp
jne 0x43bc3b
jmp 0x43bc87
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8

Function at 0x43be10
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 0x200
lea eax, [esp + 0x210]
lea edx, [esp]
push eax
push ecx
push edx
call fcn.005115a7
add esp, 0xc
lea eax, [esp]
push 0x10
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x208]
test eax, eax
je 0x43be56
push 1
call fcn.005114b4
add esp, 0x200
ret
Function at 0x43d4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6078d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
mov edi, dword [esp + 0x3c]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x30], ebx
jne 0x43d4e8
mov eax, dword [0x6c396c]
mov edi, dword [eax + 0x90]
push ebx
mov dword [esp + 0x18], 0xffffffff
sub esp, 8
mov word [esp + 0x24], bx
mov ecx, esp
mov dword [esp + 0x48], esp
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x58], esp
call fcn.00403f90
sub esp, 8
mov byte [esp + 0x54], bl
mov ecx, esp
mov dword [esp + 0x34], esp
push str.lm_addr
lea esi, [edi + 0x88]
call fcn.00405b90
lea edx, [esp + 0x40]
mov ecx, esi
push edx
call fcn.0042fd10
mov ecx, eax
mov byte [esp + 0x40], 2
call fcn.00401a00
lea ecx, [esp + 0x20]
call fcn.004fa650
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.0041fc40
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], bl
cmp eax, 0xffffffff
je 0x43d572
cmp eax, ebx
je 0x43d572
cmp word [esp + 0x18], bx
jne 0x43d588
mov eax, dword [edi + 0x248]
mov dword [esp + 0x14], eax
mov cx, word [edi + 0x24c]
mov word [esp + 0x18], cx
push ebx
sub esp, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push str.lm_port
call fcn.00405b90
mov ecx, esi
call fcn.00431f60
sub esp, 8
mov word [esp + 0x20], ax
mov eax, esp
mov dword [esp + 0x44], esp
mov dword [eax], 0xffffffff
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov cx, word [esp + 0x20]
lea edx, [esp + 0x40]
mov word [eax + 4], cx
push edx
lea eax, [esp + 0x48]
push 0x698ab0
push eax
call fcn.005dd46d
sub esp, 8
mov byte [esp + 0x40], 4
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0041f950
mov ecx, dword [esp + 0x1c]
add ecx, 0x110
call fcn.00404600
mov ecx, eax
call fcn.00447e90
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005dd1b0
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 8
Function at 0x440370
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x60835b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
mov dword [esp + 0x14], esi
xor ebx, ebx
lea eax, [esp + 0x11]
push ebx
push eax
lea ecx, [esi + 8]
mov dword [esp + 0x30], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00492050
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esp + 0x28], 1
mov dword [esi + 0x14], ebx
add esi, 0x18
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x12]
mov byte [esp + 0x28], 3
push ecx
mov ecx, esi
call fcn.00482bc0
push 8
mov byte [esp + 0x2c], 5
call fcn.0050d330
lea edx, [eax + 8]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], edx
add esp, 4
mov byte [eax], bl
lea ebp, [esi + 0xc]
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x13]
mov ecx, ebp
push eax
mov byte [esp + 0x2c], 7
call fcn.00482bc0
push 8
mov byte [esp + 0x2c], 9
call fcn.0050d330
lea ecx, [eax + 8]
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
add esp, 4
mov byte [eax], bl
lea ecx, [esi + 0x28]
mov byte [esp + 0x28], 0xa
call fcn.004405a0
lea ecx, [esi + 0x40]
mov byte [esp + 0x28], 0xb
call fcn.004406e0
lea ecx, [esi + 0x74]
mov byte [esp + 0x28], 0xc
call fcn.004408b0
lea ecx, [esi + 0x98]
mov byte [esp + 0x28], 0xd
call fcn.004047a0
mov byte [esp + 0x28], 0xe
lea ecx, [esi + 0xa8]
call fcn.004047a0
mov ecx, esi
mov byte [esp + 0x28], 0xf
call fcn.004404b0
mov ecx, dword [esp + 0x20]
mov dword [edi], 0x62be70
mov dword [0x6bb5c0], edi
mov eax, edi
pop edi
pop esi
mov dword [0x6bb5b0], ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4419b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004400c0
xor esi, esi
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], esi
mov al, byte [ebp + 0xc]
xor ecx, ecx
cmp al, bl
mov eax, dword [0x6bb5b4]
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 1
setne cl
push edx
mov edi, ecx
mov ecx, dword [reloc.WSOCK32.dll_accept]
push 0xf003f
push ebx
push eax
push ecx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x441a7d
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp + 8], esi
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x20]
call fcn.005dd21e
push str._Active
lea edx, [ebp - 0x1c]
push eax
push edx
mov byte [ebp - 4], 2
call fcn.005dd3f9
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push ebx
push eax
push esi
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x1c]
call fcn.005dd1b0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.005dd1b0
cmp esi, ebx
je 0x441b0a
jmp 0x441afe
lea edx, [ebp - 0x20]
mov eax, dword [0x6bb5b4]
mov ecx, dword [reloc.WSOCK32.dll_accept]
push edx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x441aae
mov esi, dword [ebp - 0x18]
mov dword [ebp + 8], esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x18]
call fcn.005dd21e
push str._Active
lea edx, [ebp - 0x1c]
push eax
push edx
mov byte [ebp - 4], 3
call fcn.005dd3f9
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push 4
push ecx
push 4
push ebx
push eax
push esi
mov dword [ebp - 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x1c]
call fcn.005dd1b0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005dd1b0
cmp esi, ebx
je 0x441b0a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp + 8], esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push edx
call fcn.0043ff10
cmp esi, ebx
je 0x441b21
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x608b43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 8]
lea eax, [esp + 0xf]
push 0
push eax
mov ecx, edi
mov dword [esp + 0x28], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00492050
push 8
mov byte [esp + 0x24], 2
call fcn.0050d330
lea ecx, [eax + 8]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [edi], ecx
add esp, 4
mov byte [eax], 0
lea edi, [esi + 0xc]
mov dword [esp + 0x20], 3
mov dword [esp + 0x14], edi
lea ebp, [edi + 8]
lea edx, [esp + 0xf]
push 0
push edx
mov ecx, ebp
mov byte [esp + 0x28], 4
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00492050
push 8
mov byte [esp + 0x24], 6
call fcn.0050d330
lea ecx, [eax + 8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [ebp], ecx
mov byte [eax], 0
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov byte [esp + 0x28], 7
mov dword [esp + 0x1c], esp
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax], edx
call fcn.00443880
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub esp, 8
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [eax], edx
call fcn.00443880
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 0x10

Function at 0x447120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x609178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [esp + 0x14]
sub esp, 8
mov eax, esp
mov dword [esp + 8], esp
mov dword [eax], 0xffffffff
mov edx, dword [ecx]
mov dword [eax], edx
mov cx, word [ecx + 4]
mov word [eax + 4], cx
lea ecx, [esp + 8]
call fcn.0041a0a0
mov ecx, dword [esp + 0x20]
sub esp, 8
mov edx, esp
mov dword [esp + 0x24], esp
push edx
push ecx
push 0x6c
push 0x698d44
push eax
mov dword [esp + 0x30], 0
call fcn.004f59f0
add esp, 0x10
mov ecx, eax
call fcn.0041be70
mov ecx, 0x6bb4a0
call fcn.00404600
mov ecx, eax
call fcn.00447e90
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x448f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60954f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6abf00]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], eax
mov ecx, dword [0x6abf00]
lea edi, [esi + 8]
mov dword [esp + 0x1c], 0
mov dword [edi], ecx
mov edx, dword [0x6abf00]
lea ebp, [esi + 0xc]
mov dword [ebp], edx
mov eax, dword [0x6abf00]
lea ebx, [esi + 0x10]
mov dword [ebx], eax
push fcn.005dd1b0
push fcn.0041a0a0
push 2
lea ecx, [esi + 0x14]
push 4
push ecx
mov byte [esp + 0x30], 3
call fcn.005110a9
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x20], 4
mov dword [esi + 0x1c], ecx
call fcn.00485fd0
push eax
mov ecx, esi
mov byte [esp + 0x20], 5
call fcn.005dd29d
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 4
call fcn.005dd1b0
mov ecx, dword [esi + 0x1c]
call fcn.00486180
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0x88]
mov eax, dword [ecx + 0xf0]
mov ecx, edi
push eax
call fcn.005dd2ed
mov edx, dword [esi + 0x1c]
mov ecx, ebp
mov eax, dword [edx + 0x88]
mov eax, dword [eax + 0xa0]
push eax
call fcn.005dd2ed
lea ecx, [esp + 0x24]
push 1
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00483da0
push eax
mov ecx, ebx
mov byte [esp + 0x20], 6
call fcn.005dd29d
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 4
call fcn.005dd1b0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x44ce90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x609989
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0050d230
lea ebx, [esi + 0x88]
push 2
push 3
mov ecx, ebx
mov dword [esp + 0x30], 0
call fcn.004ff8f0
lea edi, [esi + 0xec]
mov dword [esp + 0x18], edi
mov dword [edi], 0
push 0xc
mov byte [esp + 0x2c], 3
call fcn.0050d330
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
add esp, 4
mov dword [esi + 0xe8], 0x628c8c
lea eax, [esi + 0xf0]
mov byte [esp + 0x28], 4
lea edi, [eax + 0x108]
mov dword [eax + 0x104], eax
mov ecx, edi
mov dword [esp + 0x18], edi
call fcn.004047a0
or ebp, 0xffffffff
mov ecx, edi
push ebp
push 0
mov byte [esp + 0x30], 5
mov dword [edi + 0xc], ebp
call fcn.00404540
mov dword [edi + 0xc], ebp
mov word [edi + 0x10], 0
lea ebp, [edi + 0x14]
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x12]
mov ecx, ebp
push eax
mov byte [esp + 0x2c], 7
call fcn.00482bc0
push 8
mov byte [esp + 0x2c], 9
call fcn.0050d330
lea ecx, [eax + 8]
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
add esp, 4
mov byte [eax], 0
add edi, 0x28
mov dword [esp + 0x1c], edi
lea edx, [esp + 0x13]
mov ecx, edi
push edx
mov byte [esp + 0x2c], 0xb
call fcn.00482bc0
push 8
mov byte [esp + 0x2c], 0xd
call fcn.0050d330
add esp, 4
lea ecx, [eax + 8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov byte [eax], 0
lea ecx, [esi + 0x234]
mov byte [esp + 0x28], 0xe
call fcn.0050b7d0
lea ecx, [esi + 0x4ac]
mov byte [esp + 0x28], 0xf
call fcn.005095e0
lea ecx, [esi + 0x520]
mov byte [esp + 0x28], 0x10
call fcn.00448d70
mov ecx, dword [esp + 0x20]
mov dword [esi], method.CDialogBar.virtual_0
mov dword [esi + 0xe8], 0x62c460
mov byte [esi + 0x230], 1
mov dword [esi + 0x1f0], 0
mov eax, esi
pop edi
pop esi
mov dword [ebx], 0x62c430
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x44d4e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x609ac8
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
push edi
mov edi, dword [esp + 0x70]
mov esi, ecx
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44d520
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 0x10
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0x2c
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea ecx, [esp + 0x50]
lea edx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x7c]
mov edx, dword [esi]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x74], 0
call dword [edx + 0xc]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret 0x10
Function at 0x44e760
Capabilities:
Read file via mapping

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.mIRC
push 0x1000
push 0
push 4
push 0
mov dword [esp + 0x24], ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
push 0
mov ebx, eax
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, dword [esp + 0x18]
mov ebp, eax
test edi, edi
jne 0x44e7a4
mov edi, 0x6b3df8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, ebp
push 5
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x4c8
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
push ebp
setne byte [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x44eb40
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x609d5b
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
mov ebx, dword [esp + 0x11c]
push esi
mov esi, ecx
test ebx, ebx
je 0x44eb75
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.00405d20
mov ecx, dword [esp + 0x124]
test ecx, ecx
je 0x44eb85
call fcn.005dd13b
mov eax, dword [esi + 4]
push 0x6b3df8
push str.MDIClient
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
jne 0x44eba6
xor al, al
jmp 0x44ecaf
push ebp
push eax
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ebp, eax
test ebp, ebp
je 0x44ecac
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 0x100
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x44ec98
mov ecx, 2
mov edi, str.Status:
lea esi, [esp + 0x14]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x44ec25
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.00511790
add esp, 8
test eax, eax
je 0x44ec0e
mov byte [eax], 0
mov ecx, dword [esp + 0x12c]
test ecx, ecx
je 0x44ec98
lea edx, [esp + 0x1c]
push edx
call fcn.005dd2ed
jmp 0x44ec98
mov al, byte [esp + 0x14]
cmp al, 0x23
je 0x44ec31
cmp al, 0x26
jne 0x44ec98
lea eax, [esp + 0x14]
push 0x20
push eax
call fcn.00511790
add esp, 8
test eax, eax
je 0x44ec47
mov byte [eax], 0
test ebx, ebx
je 0x44ec98
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.005dd21e
mov esi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
mov dword [esp + 0x124], 0
lea edx, [esi + 1]
push edx
call fcn.00405d20
mov eax, dword [ebx + 4]
lea edx, [esp + 0x10]
push edx
lea ecx, [eax + esi*4]
call fcn.005dd29d
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.005dd1b0
push 2
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
test ebp, ebp
jne 0x44ebb9
pop edi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x110]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 8
Function at 0x44f140
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x77c
push esi
push str.Initializing_LAN_Information:_n
mov byte [0x6bb604], 1
call fcn.005d4217
add esp, 4
push 0
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov esi, eax
push 0
lea eax, [esp + 8]
push 0
push eax
lea ecx, [esp + 0x20]
push 0x76c
push ecx
push 0
push 0
push 0x4004747f
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 4]
xor edx, edx
mov eax, ecx
mov esi, 0x4c
div esi
test edx, edx
jne 0x44f2e9
mov eax, 0xaf286bcb
push edi
mul ecx
sub ecx, edx
mov edi, 0
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [esp + 8], ecx
je 0x44f28f
lea esi, [esp + 0x1c]
test edi, edi
je 0x44f1ed
push 0x697cb4
call fcn.005d4217
add esp, 4
movsx eax, word [esi]
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi - 4]
push eax
push ecx
push edx
push str._08X__08X__d__08X
call fcn.005d4217
mov al, byte [esi - 4]
add esp, 0x14
test al, 1
je 0x44f27f
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
je 0x44f27f
test eax, eax
je 0x44f27f
cmp word [esi], 2
jne 0x44f27f
mov edx, dword [0x6bb600]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [0x6bb5fc]
cmp eax, edx
mov dword [esp + 0x10], ecx
je 0x44f259
test eax, eax
je 0x44f24f
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [0x6bb5fc]
add eax, 8
mov dword [0x6bb5fc], eax
jmp 0x44f272
push 1
lea edx, [esp + 0x13]
push 1
lea ecx, [esp + 0x18]
push edx
push ecx
push eax
mov ecx, 0x6bb5f8
call fcn.0044f380
push 0x6991b0
call fcn.005d4217
add esp, 4
mov eax, dword [esp + 8]
inc edi
add esi, 0x4c
cmp edi, eax
jb 0x44f1dc
push 0x6991ac
call fcn.005d4217
mov edx, dword [0x6bb5fc]
mov eax, dword [0x6bb5f8]
add esp, 4
sub edx, eax
xor esi, esi
sar edx, 3
pop edi
je 0x44f2dc
mov ecx, dword [eax + esi*8 + 4]
mov edx, dword [eax + esi*8]
push ecx
push edx
push str._08X__08X_n
call fcn.005d4217
mov ecx, dword [0x6bb5fc]
mov eax, dword [0x6bb5f8]
sub ecx, eax
add esp, 0xc
inc esi
sar ecx, 3
cmp esi, ecx
jb 0x44f2b1
push 0x697cb4
call fcn.005d4217
add esp, 4
pop esi
add esp, 0x77c
ret
Function at 0x450c20
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x60a086
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push edi
xor ebx, ebx
push 0xffffffffffffffff
mov edi, ecx
push ebx
call fcn.00469f60
mov ecx, dword [0x6bb608]
call fcn.004512b0
mov ax, word [esp + 0x138]
mov dword [esp + 0x18], ebx
mov word [0x6bb624], ax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], 0x62c77c
mov dword [esp + 0x130], ebx
call fcn.005f45a4
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 0x450d80
push 6
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov eax, dword [esp + 0x1c]
xor ebp, ebp
cmp eax, ebx
jle 0x450d43
push esi
mov edx, dword [0x6abf00]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push 0x100
push edx
mov cx, word [eax + ebp*2]
push 2
mov word [esp + 0x1c], cx
mov eax, dword [esp + 0x1c]
and eax, 0xffff
mov byte [esp + 0x140], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x450d25
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.005dd2ed
mov esi, dword [edi + 8]
push 0xffffffffffffffff
mov ecx, edi
lea edx, [esi + 1]
push edx
call fcn.00469f60
mov eax, dword [edi + 4]
mov cx, word [esp + 0x10]
lea edx, [esp + 0x14]
mov word [eax + esi*8], cx
lea eax, [eax + esi*8]
push edx
lea ecx, [eax + 4]
call fcn.005dd29d
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], bl
call fcn.005dd1b0
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x450cac
pop esi
mov eax, dword [esp + 0x18]
pop edi
pop ebp
cmp eax, ebx
mov dword [esp + 0xc], 0x62c770
pop ebx
je 0x450d5f
push eax
call fcn.005dd7a4
add esp, 4
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret 4
Function at 0x451d20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x60a22f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
sub esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], esp
mov esi, esp
call fcn.0041a0a0
mov eax, dword [eax]
push str.ConsoleFont
push str.View
mov dword [esp + 0x28], 1
mov ecx, dword [eax - 8]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov esi, dword [esp + 0x30]
push esi
mov ecx, edi
call fcn.00405230
mov dword [esp + 8], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.005dd1b0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 4