joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413950
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f87a8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], esi
call fcn.00413590
push dword [ebx + 8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, 2
mov dword [esi], vtable.SocketServer.0
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [ebp - 0x26], ax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x413a36
push 0x10
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x413a51
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x493e0
push eax
push 0x1001
push 0xffff
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 5
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_listen]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push str.INVALID_SOCKET
lea ecx, [ebp - 0x48]
call fcn.00402fe0
push 0x65ad78
lea eax, [ebp - 0x48]
push eax
call fcn.005cfa3b
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x65ad88
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], str.INVALID_SOCKET
push eax
call fcn.005cfa3b
int3

Function at 0x414060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4140b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4140b9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4140a8
cmp esi, edx
jae 0x4140b9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x414096
cmp esi, edx
jae 0x4140b9
cmp word [esi], 0
je 0x4140b9
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4149f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.005d05b0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x414ac0
push ecx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
call fcn.00414b50
lea eax, [ebp - 0x110]
push eax
push 2
push 0
push dword [ebp - 0x10c]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414a96
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x62e750
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414ac0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret

Function at 0x414ad0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 4], eax
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
call fcn.00414b50
lea eax, [ebp - 0xc]
push eax
push 2
push 0
push dword [ebp - 8]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414b18
push 0x62e750
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414b3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
Function at 0x41d2b0
Capabilities:
Get file version info

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f96f2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x130], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
push 0x104
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push eax
push 0
mov dword [ebp - 0x130], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x41d446
push eax
push 2
mov dword [ebp - 0x128], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
lea eax, [ebp - 0x120]
push esi
push dword [ebp - 0x134]
push dword [ebp - 0x124]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x62debc
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x41d446
mov ecx, dword [ebp - 0x12c]
movzx eax, word [ecx + 0x16]
push eax
movzx eax, word [ecx + 0x10]
push eax
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ebp - 0x150]
push str._ld._ld._ld
push eax
call fcn.004165f0
mov esi, eax
add esp, 0x14
cmp edi, esi
je 0x41d410
mov ecx, edi
call fcn.00402f90
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x41d446
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d43c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d466
push edx
push ecx
call fcn.005b8996
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005d36fe
int3

Function at 0x4200f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x420121
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x420110
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x424da0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f9f3e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x65e374]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edx
mov byte [esi + 0x64], 0
mov dword [esi + 0x68], eax
test byte [edi + 8], 8
je 0x424e8a
test dl, 0x10
jne 0x424e8a
mov al, 1
jmp 0x424e8c
xor al, al
mov edx, dword [ebp + 0x10]
push ecx
mov byte [esi + 0x6c], al
mov dword [esi + 0x70], edx
push dword [edi + 0x18]
call fcn.00425730
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x425e50
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x42606d
cmp eax, 0x7c
je 0x42606d
cmp eax, 0x29
jne 0x425e8c
cmp dword [esi + 0x10], 0
jne 0x42606d
test dword [esi + 0x50], 0x10000000
je 0x426084
cmp eax, 0x2e
jne 0x425ea0
push 5
lea ecx, [esi + 0x24]
call fcn.004260e0
jmp 0x426051
cmp eax, 0x5c
jne 0x425f05
mov ecx, esi
call fcn.00425df0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x425ed2
cmp byte [esi + 0x48], 0x62
jne 0x425ed2
push 4
lea ecx, [esi + 0x24]
call fcn.004260e0
mov ecx, esi
call fcn.00425df0
jmp 0x42605f
test eax, eax
je 0x425ef9
cmp byte [esi + 0x48], 0x42
jne 0x425ef9
push 4
lea ecx, [esi + 0x24]
call fcn.004260e0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00425df0
jmp 0x42605f
mov ecx, esi
call fcn.00426ce0
jmp 0x426058
cmp eax, 0x5b
jne 0x425fb8
mov ecx, esi
call fcn.00425df0
lea ecx, [esi + 0x24]
call fcn.00427fa0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x425f36
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00425df0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x425fa2
cmp eax, 0x5d
jne 0x425fa2
test dword [esi + 0x2c], 0x100
mov bl, al
je 0x425f60
mov eax, dword [esi + 0x30]
push 0x5d
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov bl, al
mov edi, dword [esi + 0x28]
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x425f86
push 0x20
call fcn.005b86e9
xorps xmm0, xmm0
mov dword [ebp - 4], eax
add esp, 4
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x18], eax
movzx edx, bl
mov eax, edx
and edx, 7
shr eax, 3
add ecx, eax
movzx eax, byte [ecx]
bts eax, edx
mov byte [ecx], al
mov ecx, esi
call fcn.00425df0
mov ecx, esi
call fcn.00427ad0
cmp dword [esi + 0x4c], 0x5d
jne 0x42607d
jmp 0x426051
cmp eax, 0x28
jne 0x425fe4
mov ecx, esi
call fcn.00425df0
mov ecx, esi
call fcn.00426e80
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x426084
mov ecx, esi
call fcn.00425df0
test bl, bl
je 0x42605f
jmp 0x426058
cmp eax, 0x5e
jne 0x425ffc
push 2
lea ecx, [esi + 0x24]
call fcn.004260e0
mov ecx, esi
call fcn.00425df0
jmp 0x42605f
cmp eax, 0x24
jne 0x426014
push 3
lea ecx, [esi + 0x24]
call fcn.004260e0
mov ecx, esi
call fcn.00425df0
jmp 0x42605f
cmp eax, 0x2a
je 0x426076
cmp eax, 0x2b
je 0x426076
cmp eax, 0x3f
je 0x426076
cmp eax, 0x7b
je 0x426076
cmp eax, 0x7d
jne 0x426036
test dword [esi + 0x50], 0x10000000
je 0x42608b
cmp eax, 0x5d
jne 0x426044
test dword [esi + 0x50], 0x10000000
je 0x42607d
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004270f0
mov ecx, esi
call fcn.00425df0
mov ecx, esi
call fcn.00426f90
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x425e67
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.004250a0
push 4
call fcn.004250a0
push 5
call fcn.004250a0
push 6
call fcn.004250a0
int3
Function at 0x458f90
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5feffb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0xa4]
xorps xmm0, xmm0
mov dword [ebp - 0x74], eax
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 0x80
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x64], 0
call fcn.004140c0
mov esi, eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
call fcn.00414150
cmp dword [esi + 0x14], 0x10
jb 0x459063
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x45906b
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x4590be
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4590b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459174
push edx
push ecx
call fcn.005b8996
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edx, 0x10
jb 0x459110
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x459106
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459179
push edx
push ecx
call fcn.005b8996
add esp, 8
mov eax, dword [ebp - 0x74]
push 0
push 0
push 0x7fc
mov dword [eax], 1
push dword [edi + 0x3cc]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call dword [sym.imp.USER32.dll_PostMessageA]
push 1
mov ecx, edi
call fcn.005839c4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.005d36fe
call fcn.005d36fe
int3
Function at 0x459380
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff06d
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x65e374]
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 esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
push str.click
mov dword [ebp - 0x18], 0
call fcn.00582e0d
test al, al
je 0x4594d5
mov ecx, dword [edi + 0x88]
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0
mov ecx, eax
push str.cancel
mov dword [ebp - 0x18], 1
call fcn.00582e0d
test al, al
jne 0x45942f
mov ecx, dword [edi + 0x88]
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, eax
push str.close
mov dword [ebp - 0x18], 3
call fcn.00582e0d
test al, al
jne 0x45942f
xor bl, bl
jmp 0x459431
mov bl, 1
test byte [ebp - 0x18], 2
je 0x459442
lea ecx, [ebp - 0xa0]
call fcn.00582d5b
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.00582d5b
test bl, bl
je 0x459461
push 1
lea ecx, [esi - 0x10]
call fcn.005839c4
jmp 0x4594d5
mov ecx, dword [edi + 0x88]
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push 0x630220
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00582e0d
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00582d5b
test bl, bl
je 0x4594d5
mov ecx, dword [esi + 0x398]
push 0
mov eax, dword [ecx]
call dword [eax + 0xec]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
lea eax, [esi - 0x10]
push eax
push 0x459500
push 0
push 0
call fcn.005d5fe0
add esp, 0x18
test eax, eax
je 0x4594d5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.005b8427
mov esp, ebp
pop ebp
ret 4
Function at 0x45a0d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff1cb
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x65e374]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x3bc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x3c0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x3a4], ecx
mov dword [ebx + 0x3a0], eax
test ecx, ecx
je 0x45a124
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0057ea50
mov ecx, dword [ebx + 0x3dc]
mov dword [ebp + 8], eax
test ecx, ecx
jne 0x45a1a2
push 0x464
call fcn.005b86e9
mov edi, eax
mov dword [ebp + 0x14], edi
push 0x464
push 0
push edi
mov dword [ebp - 4], 0
call fcn.005d05b0
add esp, 0x10
mov ecx, edi
call fcn.00583870
lea ecx, [edi + 0x14]
mov dword [edi], vtable.CShadowWnd.0
call fcn.0057d6b5
lea ecx, [edi + 0xd8]
mov byte [ebp - 4], 1
call fcn.0057d34c
push str.filemenubk.png_corner1_1_1_1
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
call fcn.00582de9
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [ebx + 0x3dc], edi
mov esi, dword [ebp + 8]
push 0
push bind
push bind
push bind
push bind
push 0x80088
push 0x94000000
push 0x6292df
push esi
call fcn.005839ea
push 0
push bind
push bind
push bind
push bind
push 0x88
push 0x96000000
push 0
push esi
mov ecx, ebx
call fcn.005839ea
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x45a21c
nop word [eax + eax]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x45a210
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46e830
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601744
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x65e374]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00405df0
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.00405df0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x38]
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
lea eax, [esi + 0x38]
push eax
call fcn.00405df0
lea eax, [esi + 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x50]
call fcn.00405df0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x70]
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
lea eax, [esi + 0x70]
push eax
call fcn.00405df0
mov byte [ebp - 4], 4
lea ecx, [edi + 0xac]
mov eax, dword [esi + 0x88]
mov dword [edi + 0x88], eax
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x8c], eax
mov eax, dword [esi + 0x90]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x94]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
mov eax, dword [esi + 0xa0]
mov dword [edi + 0xa0], eax
mov eax, dword [esi + 0xa4]
mov dword [edi + 0xa4], eax
mov eax, dword [esi + 0xa8]
mov dword [edi + 0xa8], eax
lea eax, [esi + 0xac]
push eax
call fcn.004a6e00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4a2880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608900
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov eax, dword [0x660094]
add eax, 0x12
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x30], 1
call fcn.00407930
push 0x660084
lea ecx, [ebp - 0x2c]
call fcn.00405d30
push str._client_GetVersion
lea ecx, [ebp - 0x2c]
call fcn.00403690
push 0x20
call fcn.005b86e9
mov edi, eax
add esp, 4
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x48]
call fcn.00405df0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 4]
mov dword [edi], esi
call fcn.00405df0
mov dword [edi + 0x1c], 1
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4a296a
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2960
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a29f3
push edx
push ecx
call fcn.005b8996
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x38], 0
push eax
push 0
push edi
push 0x4a18f0
push 0
push 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x14], 0
call fcn.005d5fe0
add esp, 0x18
test eax, eax
je 0x4a29a6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4a29d6
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a29cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a29f8
push edx
push ecx
call fcn.005b8996
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret 4
call fcn.005d36fe
call fcn.005d36fe
int3
Function at 0x4da530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x3c], eax
mov esi, ecx
mov ecx, ebx
push edi
call fcn.004cd3c0
mov edi, dword [ebx + 0x18]
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
movsx eax, byte [ebx + 0x44]
mov dword [ebp - 0x14], esi
mov esi, dword [ebx + 0x1c]
mov eax, dword [ebx + eax*4 + 0x78]
mov ecx, dword [eax + 0x3c]
movzx eax, word [ebx + 0x20]
sub ecx, edi
cmp eax, ecx
cmovae eax, ecx
cmp esi, eax
ja 0x4da591
mov eax, 0x1010
mov dword [ebp - 0x24], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x28], esi
jmp 0x4da5b0
lea eax, [ebp - 0x34]
xor edx, edx
push eax
push esi
mov ecx, ebx
call fcn.004d5410
add esp, 8
test eax, eax
jne 0x4da67b
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov al, byte [edi]
cmp al, 0x80
jae 0x4da5bb
movzx ebx, al
jmp 0x4da5c8
lea edx, [ebp - 0x38]
mov ecx, edi
call fcn.004bba90
mov ebx, dword [ebp - 0x38]
cmp ebx, 3
jb 0x4da641
cmp ebx, esi
jg 0x4da641
lea ecx, [edi - 1]
add ecx, ebx
mov al, byte [ecx]
cmp al, 0x80
jae 0x4da5e1
movzx edx, al
jmp 0x4da5ec
lea edx, [ebp - 0x38]
call fcn.004bba90
mov edx, dword [ebp - 0x38]
lea eax, [edx - 1]
cmp eax, 8
ja 0x4da641
cmp edx, 7
je 0x4da641
movzx ecx, byte [edx + 0x62a678]
lea eax, [ecx + ebx]
cmp esi, eax
jb 0x4da641
sub esi, ecx
lea eax, [ebp - 0x64]
push eax
lea ecx, [edi + esi]
call fcn.004d91c0
mov ecx, dword [ebp - 0x3c]
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x34]
call fcn.004d4af0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x2c], 0x2460
jne 0x4da650
cmp dword [ebp - 0x1c], 0
je 0x4da658
lea ecx, [ebp - 0x34]
call fcn.004d4a50
push 0x6376e4
push 0x127fd
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004ba090
add esp, 0x14
mov eax, 0xb
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b8427
mov esp, ebp
pop ebp
ret