joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419240
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [0x653474]
test ecx, ecx
je 0x41934f
call fcn.0041c970
test eax, eax
jne 0x41934f
push esi
push edi
mov edi, dword [esp + 0x18]
push eax
push 0x80
push 3
push eax
push 3
push bind
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4192ae
push edi
push str.Cant_Find__s
push 0x65334c
call fcn.0040bb70
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x653470]
push eax
push edi
call fcn.00462c20
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [ebx + 4]
push ecx
push esi
mov dword [esp + 0x20], 0
call edi
push 0
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [ebx + 8]
push eax
push esi
call edi
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push esi
call edi
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
push ecx
call fcn.004a99f8
mov ecx, dword [esp + 0x14]
add esp, 4
push 0
lea edx, [esp + 0x10]
push edx
lea edx, [ecx + ecx]
push edx
push eax
push esi
mov dword [ebx + 0xc], eax
call edi
cmp dword [esp + 0x1c], 0x22b
jne 0x41933b
mov ecx, dword [ebx + 0xc]
call fcn.0044faa0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x419450
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [0x653474]
test ecx, ecx
je 0x4195d9
call fcn.0041c970
test eax, eax
jne 0x4195d9
push ebx
mov ebx, dword [esp + 0x10]
push edi
push eax
push 0x80
push 3
push eax
push 3
push bind
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4194ba
push ebx
push str.Cant_Find__s
push 0x65334c
call fcn.0040bb70
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
pop ecx
ret 8
push ebp
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x653470]
push eax
push ebx
call fcn.00462c20
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esi + 4]
push ecx
push edi
call ebp
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esi + 8]
push eax
push edi
call ebp
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea ebx, [esi + 0xc]
push ebx
push edi
call ebp
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esi + 0x10]
push eax
push edi
call ebp
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea eax, [esi + 0x20]
push eax
push edi
call ebp
mov edx, dword [esi + 0x10]
imul edx, dword [ebx]
shl edx, 2
push edx
call fcn.004a99f8
mov dword [esi + 0x1c], eax
mov eax, dword [ebx]
shl eax, 2
push eax
call fcn.004a99f8
mov dword [esi + 0x14], eax
mov eax, dword [ebx]
add esp, 8
test eax, eax
mov dword [esp + 0x18], 0
jbe 0x41957c
mov ecx, dword [esi + 0x10]
shl ecx, 2
push ecx
call fcn.004a99f8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x14]
add esp, 4
mov dword [edx + ecx*4], eax
mov eax, dword [ebx]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jb 0x419558
mov eax, dword [esi + 0x20]
shl eax, 1
push eax
call fcn.004a99f8
mov edx, dword [esi + 0x10]
imul edx, dword [ebx]
add esp, 4
push 0
lea ecx, [esp + 0x14]
push ecx
shl edx, 2
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x1c]
push edx
push eax
push edi
call ebp
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
push 0
lea ecx, [esp + 0x14]
push ecx
shl edx, 1
push edx
push eax
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00419380
pop ebp
pop edi
pop ebx
mov eax, 1
pop esi
pop ecx
ret 8
xor eax, eax
pop esi
pop ecx
ret 8
Function at 0x41a5f0
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x44
mov eax, dword [0x4bbb2c]
mov ecx, dword [0x4bbb30]
mov edx, dword [0x4bbb34]
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 8], eax
mov eax, dword [0x4bbb38]
mov dword [esp + 0xc], ecx
mov cx, word [0x4bbb3c]
mov dword [esp + 0x10], edx
mov dl, byte [0x4bbb3e]
push 5
push esi
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], cx
mov byte [esp + 0x22], dl
mov dword [esp + 0x24], 0x30
mov dword [esp + 0x28], 0xb
mov dword [esp + 0x2c], 0x41a990
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], esi
call edi
push 0x76
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x3c], eax
lea eax, [esp + 8]
push 5
mov ecx, eax
push esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call edi
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push esi
push 0
push 0
push 0x1e0
push 0x280
push 0
push 0
push bind
lea eax, [esp + 0x2c]
push eax
mov ecx, eax
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
xor edx, edx
test eax, eax
setne dl
pop edi
mov dword [0x653498], eax
mov dword [0x65349c], esi
pop esi
mov eax, edx
add esp, 0x44
ret
Function at 0x41a710
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, 0x4bb448
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x41a7f1
mov ecx, dword [str.___t_n]
mov dl, byte [0x4bbb44]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], dl
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [esp + 8]
push ecx
push eax
call fcn.004ab301
lea edx, [esp + 0x10]
push edx
push 0
call fcn.004ab301
add esp, 0x10
xor edi, edi
test eax, eax
je 0x41a7a6
mov esi, str.127.0.0.1
lea esp, [esp]
cmp esi, 0x4c81ea
jge 0x41a7f1
mov edx, esi
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41a780
lea eax, [esp + 8]
push eax
push 0
inc edi
add esi, 0x29
call fcn.004ab301
add esp, 8
test eax, eax
jne 0x41a770
cmp edi, 2
jg 0x41a7f1
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push ecx
push esi
call fcn.0041a5f0
add esp, 8
test eax, eax
je 0x41a7f1
mov edx, dword [0x653498]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x653498]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [0x653498]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call fcn.0041a560
add esp, 4
test eax, eax
jne 0x41a7fc
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x24
ret 0x10
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
call esi
test eax, eax
je 0x41a866
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x41a87c
mov edx, dword [0x6534a0]
mov eax, dword [0x653498]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x41a816
lea ecx, [esp + 0x18]
push ecx
call ebx
lea edx, [esp + 0x18]
push edx
call ebp
jmp 0x41a816
mov eax, dword [0x653494]
test eax, eax
je 0x41a816
mov ecx, dword [0x65347c]
call fcn.0041cde0
jmp 0x41a816
mov eax, dword [esp + 0x20]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x24
ret 0x10
Function at 0x41ce00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x30], bl
mov ecx, 0x40
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x30]
push 0x104
push eax
call fcn.004ab591
lea edi, [esp + 0x38]
add esp, 8
dec edi
nop
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x41ce40
mov ecx, dword [str._ini.ini]
mov edx, dword [0x4bbc80]
mov al, byte [0x4bbc84]
mov dword [edi], ecx
xor ecx, ecx
mov dword [esp + 0x11], ecx
mov dword [esp + 0x15], ecx
mov dword [esp + 0x19], ecx
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], ecx
mov dword [esp + 0x25], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x29], ecx
lea edx, [esp + 0x10]
mov word [esp + 0x2d], cx
push 0xa
push edx
mov byte [edi + 8], al
mov byte [esp + 0x18], bl
mov byte [esp + 0x37], cl
call fcn.004a7b20
push eax
call fcn.004aa79b
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.version
push str.Version
call esi
lea edx, [esp + 0x30]
push edx
push ebx
push str.screen
push str.Screen
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x41ceed
lea eax, [esp + 0x30]
push eax
push 0x4bbc58
push str.screen
push str.Screen
call esi
lea ecx, [esp + 0x30]
push ecx
push 0x15
lea edx, [ebp + 0x6c]
push edx
push 0x4bb448
push str.recentuser
push str.RECENTUSER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x41cf27
lea eax, [esp + 0x30]
push eax
push 0x4bb448
push str.recentuser
push str.RECENTUSER
call esi
pop edi
mov byte [ebp + 0x80], bl
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41d1d7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b8ceb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, esi
mov dword [esp + 8], esi
mov dword [0x653474], eax
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esi], 0x4bbc94
call fcn.0041b870
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword [esi + 0x48], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov byte [esi + 0x6c], bl
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x4c], 0xc8
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x421990
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4b8e0b
mov eax, dword fs:[0]
push eax
mov eax, 0x20094
mov dword fs:[0], esp
call fcn.004aa3e0
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x38]
push edi
mov ecx, ebx
mov dword [esp + 0xc], esi
lea edi, [esi + 0x20]
mov dword [esp + 0x10], ebx
call fcn.00418380
mov edx, edi
mov ecx, eax
call fcn.00485050
test eax, eax
je 0x421aff
mov ecx, ebx
call fcn.0040ba80
mov bl, al
push ebp
mov ecx, edi
call fcn.00417f20
mov ecx, edi
movzx ebp, ax
call fcn.0041a4a0
cmp ebp, eax
ja 0x421afe
cmp eax, 4
jb 0x421afe
push ebp
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
call fcn.0040b780
cmp word [esp + 0x98], 0xffff
jne 0x421ac8
lea ecx, [esp + 0x10098]
call fcn.00417780
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x1009c]
mov dword [esp + 0x200b0], 0
call fcn.004177c0
lea ecx, [esp + 0x10098]
call fcn.00417870
movzx eax, byte [eax]
movzx eax, al
cmp eax, 0x100
jg 0x421aa0
mov esi, dword [esi + eax*4 + 0x44]
test esi, esi
je 0x421aa0
mov ecx, dword [esp + 0x9a]
add ecx, 0xfffffffc
movzx ecx, cx
xor eax, eax
dec ecx
test ecx, ecx
jle 0x421a92
xor byte [esp + eax + 0x9d], bl
inc eax
cmp eax, ecx
jl 0x421a86
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x10098]
push edx
call esi
push ebp
mov ecx, edi
call fcn.0040b970
lea ecx, [esp + 0x10098]
mov dword [esp + 0x200ac], 0xffffffff
call fcn.00417660
mov esi, dword [esp + 0x10]
jmp 0x4219e4
mov ecx, dword [esp + 0x14]
call fcn.00418380
push eax
lea eax, [esp + 0x1c]
push str.Invalide_Header..._socket_:__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0x4db
push str..classGameSocket.cpp
mov ecx, 0x65334c
call fcn.0040baf0
pop ebp
mov ecx, dword [esp + 0x200a0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x200a0
ret

Function at 0x4223a0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x38]
mov ecx, edi
mov byte [esp + 8], 0x4c
call fcn.0040ba40
mov cx, word [esp + 0x1c]
mov edx, dword [esp + 0x20]
movzx eax, ax
mov word [esp + 0xd], cx
mov ecx, edi
mov dword [esp + 9], eax
mov dword [esp + 0xf], edx
mov word [esp + 0x13], 0
call fcn.0040ba60
lea ecx, [esi + 8]
push eax
push 0xd
lea eax, [esp + 0x10]
push eax
call fcn.00417fd0
push 2
mov ecx, edi
call fcn.00418380
mov ecx, dword [esi + 4]
push eax
push 0x403
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
add esp, 0x10
ret 8

Function at 0x423833
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x38]
mov ecx, edi
mov byte [esp + 8], 0xcf
call fcn.0040ba40
movzx cx, byte [esp + 0x1c]
movzx dx, byte [esp + 0x20]
movzx eax, ax
mov dword [esp + 9], eax
movzx ax, byte [esp + 0x24]
mov word [esp + 0xd], cx
mov ecx, edi
mov word [esp + 0xf], dx
mov word [esp + 0x11], ax
call fcn.0040ba60
lea ecx, [esp + 8]
push eax
push 0xd
push ecx
lea ecx, [esi + 8]
call fcn.00417fd0
push 2
mov ecx, edi
call fcn.00418380
mov edx, dword [esi + 4]
push eax
push 0x403
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x42ee60
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xa4
push ebx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push esi
mov esi, ecx
push edi
mov edi, 1
mov dword [esi + 0x444], edi
mov dword [esi + 0x448], edi
mov dword [esi + 0x44c], edi
mov dword [esi + 0x450], edi
mov dword [esi + 0x478], edi
mov dword [esi + 0x460], edi
call ebx
mov dword [esi + 0x464], eax
call ebx
mov ecx, dword [esp + 0xb4]
mov dword [esi + 0x468], eax
mov eax, dword [esp + 0xb8]
cmp eax, edi
mov dword [esi + 0x46c], eax
mov dword [esi + 4], ecx
jne 0x42eee4
mov ecx, esi
mov dword [0x658cd4], 0
call fcn.00427750
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xa4
ret 8
mov edx, dword [esi + 0x38]
push ebp
lea ebp, [esi + 0x38]
push edi
mov ecx, ebp
call dword [edx + 4]
test eax, eax
jne 0x42ef13
push str.Game_Socket_Init_Error_
mov ecx, 0x65334c
call fcn.0040bbd0
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xa4
ret 8
push 4
lea eax, [esp + 0x18]
push eax
push 8
push 0xffff
mov ecx, ebp
mov dword [esp + 0x24], edi
call fcn.00418380
push eax
call sub.WS2_32.dll_setsockopt
test eax, eax
je 0x42ef54
push str.Game_Socket_Option_Set_Error_
mov ecx, 0x65334c
call fcn.0040bbd0
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xa4
ret 8
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x80
xor ebx, ebx
push 0xffff
mov ecx, ebp
mov word [esp + 0x20], di
mov word [esp + 0x22], bx
call fcn.00418380
push eax
call sub.WS2_32.dll_setsockopt
test eax, eax
jne 0x42ef36
mov edx, dword [esi + 4]
push 0x10
push 0x403
push edx
mov ecx, ebp
call fcn.00418380
push eax
call sub.WS2_32.dll_WSAAsyncSelect
cmp eax, 0xffffffff
je 0x42ef04
xor eax, eax
mov byte [esp + 0x18], bl
mov ecx, 0xc
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x4c]
push eax
call fcn.004a7b60
add eax, 0x32
lea edx, [esp + 0x1c]
add esp, 4
sub edx, eax
jmp 0x42efd0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x42efd0
lea ecx, [esp + 0x4c]
push ecx
call fcn.004a7b60
mov eax, dword [eax + 0x64]
add esp, 4
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
mov dword [0x658cd4], ebx
call fcn.004182e0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xa4
ret 8
Function at 0x445ba0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b8f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
push edi
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 3
push bind
push ebx
mov esi, ecx
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x445c1b
push ebx
push str.Cant_Find__s
push 0x65334c
call fcn.0040bb70
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
call ebx
cmp dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
jbe 0x445d8e
push ebp
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x50]
push eax
push edi
mov dword [esp + 0x58], ebp
call ebx
mov eax, dword [esp + 0x44]
cmp eax, 0x5df
jae 0x445d79
cmp dword [esi + eax*4 + 4], ebp
jne 0x445d79
push 0x10
call fcn.004a99fd
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x38], ebp
je 0x445c93
mov ecx, eax
call fcn.00419210
jmp 0x445c95
xor eax, eax
mov ecx, dword [esp + 0x44]
push ebp
lea edx, [esp + 0x14]
push edx
mov dword [esi + ecx*4 + 4], eax
push 4
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x28], ebp
call ebx
push ebp
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esp + 0x30]
push edx
push edi
call ebx
push ebp
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push edi
call ebx
mov eax, dword [esp + 0x14]
cmp eax, 0x100
jge 0x445d5b
cmp eax, ebp
jle 0x445d5b
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esi + edx*4 + 4]
push eax
call fcn.004191e0
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + eax*4 + 4]
mov ebp, dword [ecx + 0xc]
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + eax]
push ecx
push ebp
push edi
call ebx
cmp dword [esp + 0x40], 0x22b
jne 0x445d2f
mov ecx, ebp
call fcn.0044faa0
mov eax, dword [esp + 0x14]
xor ebp, ebp
test eax, eax
jne 0x445d79
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + edx*4 + 4]
cmp ecx, ebp
je 0x445d4b
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x44]
mov dword [esi + ecx*4 + 4], ebp
mov dword [esp + 0x1c], ebp
xor ebp, ebp
jmp 0x445d79
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + edx*4 + 4]
cmp ecx, ebp
je 0x445d6d
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x44]
mov dword [esi + ecx*4 + 4], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jb 0x445c47
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x446390
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
push ebx
push esi
push edi
mov esi, ecx
mov byte [esp + 0x50], 0xa
call fcn.004a7b40
mov byte [esp + 0x59], al
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x260], bl
mov ecx, 0x40
lea edi, [esp + 0x261]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x260]
push 0x104
push eax
call fcn.004ab591
lea edi, [esp + 0x268]
add esp, 8
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4463e8
mov ecx, dword [str._ini.ini]
mov edx, dword [0x4bbc80]
mov al, byte [0x4bbc84]
mov dword [edi], ecx
movzx ecx, byte [esp + 0x59]
push ecx
mov dword [edi + 4], edx
lea edx, [esp + 0x14]
push str.world_d
push edx
mov byte [edi + 8], al
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x260]
push eax
push ebx
lea ecx, [esp + 0x18]
push ecx
push str.GUILDMARKVERSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0xa
push 0x20b
lea edx, [esp + 0x58]
push edx
lea ecx, [esi + 8]
mov dword [esp + 0x61], eax
mov byte [esp + 0x66], bl
mov byte [esp + 0xa6], bl
mov byte [esp + 0xe6], bl
mov byte [esp + 0x126], bl
mov byte [esp + 0x166], bl
mov byte [esp + 0x1a6], bl
mov byte [esp + 0x1e6], bl
mov byte [esp + 0x226], bl
call fcn.00417fd0
push 2
lea ecx, [esi + 0x88]
call fcn.00418380
push eax
mov eax, dword [esi + 4]
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448440
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
push edi
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 3
push bind
mov ebx, ecx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x448486
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
lea eax, [ebx + 0x38]
mov ecx, 0x64
mov edi, edi
mov dword [eax + 4], ebp
mov dword [eax], ebp
mov byte [eax + 0xc], 0
mov byte [eax + 0x2c], 0
add eax, 0x194
dec ecx
jne 0x448490
push esi
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x14]
push ecx
push 4
lea esi, [ebx + 0x9e14]
push esi
push edi
call ebp
cmp dword [esi], 0
mov dword [esp + 0x18], 0
jle 0x44856c
mov eax, 0xffffffc0
sub eax, ebx
lea esi, [ebx + 0x40]
mov dword [esp + 0x20], eax
jmp 0x4484e3
mov ebx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x14]
push edx
push 4
push esi
push edi
call ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
add eax, esi
add ecx, eax
push 0
mov byte [ecx + ebx + 0x44], 0
mov eax, dword [esi]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esi + 4]
push ecx
push edi
call ebp
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea ebx, [esi + 0x20]
push ebx
push edi
call ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx]
lea eax, [edx + esi]
add ecx, eax
mov eax, dword [esp + 0x14]
mov byte [ecx + eax + 0x64], 0
mov edx, dword [ebx]
push 0
lea ecx, [esp + 0x14]
push ecx
push edx
lea eax, [esi + 0x24]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x9e14]
add ecx, 0x9e14
inc eax
add esi, 0x194
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x4484df
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
Function at 0x4493e0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x404
push ebx
push esi
push edi
mov ebx, ecx
mov edx, dword [ebx + 8]
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 0x3ff
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x449492
jmp 0x449420
mov esi, dword [esp + 0xc]
test esi, esi
jbe 0x449492
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x449430
mov ecx, dword [ebp + 0xc]
sub eax, edx
add eax, esi
cmp eax, ecx
jg 0x449492
lea eax, [esp + 0x10]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x449448
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x449452
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 0x3ff
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x449420
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8