joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a5a50
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd75b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x6d5760]
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 ebx, ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
push 0
push 0x5eb3bc
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00407960
push esi
push 0
push 0x400
mov byte [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4a5b06
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00413d70
cmp dword [ebp - 0x21c], 0x10
jb 0x4a5b70
push dword [ebp - 0x230]
call fcn.005b62e5
add esp, 4
jmp 0x4a5b70
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x4a5b25
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a5b57
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004a52e0
push esi
test eax, eax
je 0x4a5b1d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x230]
call fcn.00414e30
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00413d70
lea ecx, [ebp - 0x230]
call fcn.00407230
mov eax, edi
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.005b6a74
mov esp, ebp
pop ebp
ret 8
Function at 0x4a5f60
Capabilities:
Create thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
jne 0x4a5fed
call fcn.004a5ff0
push 0
push 0
push 0
push 0
mov dword [edi + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [0x7135d8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0x4a5480
push 0
push 0
mov dword [0x7135dc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x7135e0], eax
test eax, eax
jne 0x4a5fd7
push eax
push eax
push 0x10
push dword [0x7167c4]
mov dword [0x716c20], 1
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x717044]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], 1
mov dword [edi + 0x4c], 0
pop edi
ret

Function at 0x4a5ff0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd7d6
mov eax, dword fs:[0]
push eax
mov eax, 0x2464
call fcn.005b7f80
mov eax, dword [0x6d5760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x34]
lea ecx, [edi + 0x30]
push dword [edi + 0x30]
call fcn.0041be30
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x18]
mov dword [edi + 0x34], eax
push dword [edi + 0x1c]
push dword [edi + 0x18]
call fcn.0041be30
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x24]
mov dword [edi + 0x1c], eax
push dword [edi + 0x28]
push dword [edi + 0x24]
call fcn.0041be30
mov eax, dword [edi + 0x24]
push 0x1ff
mov dword [edi + 0x28], eax
lea eax, [ebp - 0x20f]
push 0
push eax
mov byte [ebp - 0x210], 0
call fcn.005b7980
add esp, 0xc
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
lea ecx, [ebp - 0x2470]
mov dword [ebp - 4], 0
call fcn.0052f140
push 0
push 0
push 0x10
push dword [0x7167c4]
mov dword [0x716c20], 1
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x2470]
mov byte [ebp - 4], 0
call fcn.0052f1b0
cmp dword [ebp - 0x214], 0x10
jb 0x4a60eb
push dword [ebp - 0x228]
call fcn.005b62e5
add esp, 4
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.005b6a74
mov esp, ebp
pop ebp
ret
Function at 0x4a6110
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x6d5760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x4a6216
mov ecx, dword [0x717044]
mov eax, ecx
sub eax, dword [esi + 0x44]
cmp eax, 0x1388
jb 0x4a6169
cmp dword [esi + 0x48], 0
jne 0x4a6169
mov dword [esi + 0x48], 1
push dword [0x7135d8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x717044]
mov dword [esi + 0x44], eax
mov ecx, dword [0x717044]
mov eax, dword [esi + 0x4c]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x4a6198
sub ecx, eax
cmp ecx, 0x1388
jb 0x4a6198
push 0
push 0
push 0x10
push dword [0x7167c4]
mov dword [0x716c20], 1
call esi
push dword [0x7135e0]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x4a61c0
push 0
push 0
push 0x10
push dword [0x7167c4]
mov dword [0x716c20], 1
call esi
push 0x2c8
lea eax, [ebp - 0x2cc]
push 0
push eax
call fcn.005b7980
add esp, 0xc
mov dword [ebp - 0x2d0], 0x10007
lea eax, [ebp - 0x2d0]
push eax
push dword [0x7135e0]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4a6216
push 0
push 0
push 0x10
push dword [0x7167c4]
mov dword [0x716c20], 1
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b6a74
mov esp, ebp
pop ebp
ret
Function at 0x4cfae3
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff8
push esi
mov esi, ecx
cmp eax, 0x4e
ja case.0x4cf9ec.10
movzx eax, byte [eax + 0x4cfb78]
jmp dword [eax*4 + 0x4cfb44]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x3e], 1
je case.0x4cf9ec.10
call fcn.0047a0f0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0047a170
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0047a200
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0047a020
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x3e], 1
je case.0x4cf9ec.10
call fcn.0047a0d0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0047a090
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0047a6d0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x36]
test ecx, ecx
je case.0x4cf9ec.10
push 8
call fcn.004eb380
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0047a310
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0047a4e0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x6301e0
call fcn.004f2850
mov eax, 1
pop esi
pop ebp
ret 0x10
mov dword [esi + 0xc], 1
mov eax, 1
pop esi
pop ebp
ret 0x10
cmp dword [esi + 0xc], 0
je case.0x4cf9ec.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x4cf9ec.10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x4cf9ec.10
call fcn.00408970
push 1
cmp dword [eax], 0
jne 0x4cfb23
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
call fcn.00408970
mov ecx, eax
call fcn.004690f0
jmp 0x4cfb29
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.0047aa90
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x4cfbd0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 4], 0
jne 0x4cfbdf
xor eax, eax
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0x102
ja 0x4cfc21
je 0x4cfc14
sub eax, 0x100
je 0x4cfc07
dec eax
jne 0x4cfc2f
cmp dword [ebp + 0x10], 0x11
jne 0x4cfc2f
mov dword [ecx + 0xc], eax
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], 0x100
pop ebp
jmp fcn.004cf9d0
mov dword [ebp + 0xc], 0x102
pop ebp
jmp fcn.004cf7f0
cmp eax, 0x10f
je 0x4cfc38
cmp eax, 0x286
je 0x4cfc38
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.004cf850
Function at 0x4eafa0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0663
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d5760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004df160
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], 0
mov dword [esi], vtable.cWindow.0
call fcn.004ddc60
lea ecx, [esi + 0x8b4]
mov byte [ebp - 4], 1
call fcn.004da6c0
xor eax, eax
mov dword [esi + 8], 0
mov word [esi + 0x1a], ax
mov eax, 1
mov word [esi + 0xc], ax
mov dword [esi + 0xe], eax
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x90c], eax
mov dword [esi + 0x8d4], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x904], eax
mov dword [esi + 0x908], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x8ac], eax
mov dword [esi + 0x8b0], eax
mov eax, esi
mov dword [esi + 0x12], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x8d8], 0xffffff
mov dword [esi + 0x8dc], 0xff
mov dword [esi + 0x8e0], 0x64
mov dword [esi + 0x16], fcn.00561cf0
mov dword [esi + 0x910], 0x3f800000
mov dword [esi + 0x914], 0x3f800000
mov dword [esi + 0x30], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4f1600
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
pop ebp
jmp fcn.004e0a90

Function at 0x4f1d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
push 0x5e89a0
push str.._data_usercfginfo.dat
mov dword [ebp - 4], ebx
call fcn.005b7e0b
mov esi, eax
add esp, 8
test esi, esi
je 0x4f1de1
push edi
push esi
push 1
lea edi, [ebx + 0x10]
push 0x2c
push edi
call fcn.005b83b7
push esi
call fcn.005b7cd0
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f1d66
sub ecx, edx
je 0x4f1da3
mov esi, 0xfffffff0
mov edx, edi
sub esi, ebx
lea ebx, [ebx]
add byte [edx], 0x9d
lea edx, [edx + 1]
mov ecx, edi
lea ebx, [ecx + 1]
jmp 0x4f1d90
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f1d90
sub ecx, ebx
lea eax, [esi + edx]
cmp eax, ecx
jb 0x4f1d80
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov ecx, ebx
lea edx, [ecx + 1]
jmp 0x4f1db0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f1db0
sub ecx, edx
je 0x4f1de0
mov edi, 0xffffffdc
mov edx, ebx
sub edi, dword [ebp - 4]
add byte [edx], 0x9d
lea edx, [edx + 1]
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f1dd0
sub eax, esi
lea ecx, [edi + edx]
cmp ecx, eax
jb 0x4f1dc5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f26a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6d5760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x5e8a0c
push str.._data_usercfginfo.dat
mov esi, ecx
call fcn.005b7e0b
movdqu xmm0, xmmword [esi + 0x10]
mov ecx, dword [esi + 0x38]
mov edi, eax
add esp, 8
mov dword [ebp - 8], ecx
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [ebp - 0x20], xmm0
movq xmm0, qword [esi + 0x30]
movq qword [ebp - 0x10], xmm0
test edi, edi
je 0x4f2764
lea ecx, [ebp - 0x30]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f26f8
sub ecx, esi
je 0x4f271d
add byte [ebp + edx - 0x30], 0x63
lea ecx, [ebp - 0x30]
inc edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f2710
sub ecx, esi
cmp edx, ecx
jb 0x4f2703
lea ecx, [ebp - 0x1c]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f2725
sub ecx, esi
je 0x4f274d
add byte [ebp + edx - 0x1c], 0x63
lea eax, [ebp - 0x1c]
inc edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f2740
sub eax, esi
cmp edx, eax
jb 0x4f2730
push edi
push 1
lea eax, [ebp - 0x30]
push 0x2c
push eax
call fcn.005b86ce
push edi
call fcn.005b7cd0
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b6a74
mov esp, ebp
pop ebp
ret

Function at 0x4f28e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov edi, ecx
lea eax, [edi + 0x10]
mov dword [edi + 0x38], esi
push eax
call fcn.005b7fdc
push dword [ebp + 0x10]
lea eax, [edi + 0x24]
push eax
call fcn.005b7fdc
add esp, 0x10
test esi, esi
je 0x4f2919
mov ecx, edi
call fcn.004f26a0
pop edi
pop esi
pop ebp
ret 0xc
push str.._data_usercfginfo.dat
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4f2b60
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x6303ac]
push esi
mov esi, ecx
mov ecx, 0x6303a4
push 0
mov eax, dword [eax + 8]
push 0
mov dword [eax + 0xc], 1
cmp dword [esi + 0x10], 0
je 0x4f2b9b
push 3
mov dword [0x715f02], 1
call fcn.00528dc0
mov dword [esi + 0x10], 0
jmp 0x4f2ba2
push 2
call fcn.00528dc0
cmp dword [0x637904], 0
pop esi
jne 0x4f2bc0
mov dword [0x637904], 1
mov ecx, 0x637868
jmp fcn.00559c40
ret
Function at 0x526d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x526d8d
push 0
lea eax, [ebp + 8]
push eax
push 0x498
lea eax, [edi + 0x49c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x526d95
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push 0
lea eax, [ebp + 8]
push eax
push 0xa8
lea eax, [edi + 0x9dc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x526d87
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x52e5b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x630938
push esi
push edi
push ebx
call fcn.0053dfe0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
mov dword [0x7167c0], ebx
call edi
shl eax, 2
push 0x21
mov dword [ebp - 4], eax
call edi
mov ebx, eax
push 4
shl ebx, 2
call edi
movdqu xmm0, xmmword [0x6f7ad6]
mov ecx, dword [0x6f7ae6]
add ebx, eax
push 0
movdqu xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x1c], ecx
call edi
movdqu xmm1, xmmword [ebp - 0x18]
mov edx, dword [ebp - 4]
xor esi, esi
push esi
push dword [ebp + 8]
movdqa xmm0, xmm1
psrldq xmm1, 8
psrldq xmm0, 4
movd ecx, xmm0
push esi
push esi
cmp eax, ecx
movd eax, xmm1
cmove edx, esi
add eax, ebx
push eax
lea eax, [ecx + edx]
push eax
push esi
push closesocket
push 0xca0000
push 0x7167c8
push 0x7169c8
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x7167c4], esi
test esi, esi
jne 0x52e667
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
mov ecx, 0x6303a4
call fcn.00528760
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 2
mov ecx, 0x6303a4
call fcn.00528dc0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x533870
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x1f2], 0
je 0x533922
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x533922
push edi
mov ecx, 1
mov edi, 0x716c90
xor eax, eax
lock cmpxchg dword [edi], ecx
cmp eax, 1
je 0x533908
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
movq qword [0x716c78], xmm0
mov eax, dword [eax + 8]
mov dword [0x716c80], eax
mov eax, dword [ebp + 0xc]
movq xmm0, qword [eax]
movq qword [0x716c84], xmm0
mov eax, dword [eax + 8]
mov dword [0x716c8c], eax
mov eax, dword [esi + 0x1f2]
mov dword [0x716c74], eax
mov eax, dword [ebp + 0x14]
mov dword [0x6305a4], eax
lea eax, [ebp + 0x10]
push eax
push 0
push 0
push 0x533cb0
push 0
push 0
mov dword [0x716c70], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x533910
xchg dword [edi], eax
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0x10
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x534810
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6d5760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x104]
mov ebx, ecx
mov edx, edi
sub esi, edi
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x534835
movsx eax, byte [edi]
push eax
call fcn.005bc0cd
add esp, 4
test eax, eax
je 0x5348c4
lea eax, [ebp - 0x104]
push eax
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x534877
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b6a74
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xc]
xor edi, edi
cmp dword [ecx], edi
je 0x5348c4
movsx eax, word [esi + 0xa]
push eax
push dword [ecx]
lea eax, [ebp - 0x110]
push eax
call fcn.005b6ee0
add esp, 0xc
push dword [ebp - 0x110]
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x104]
push 0x5e896c
push eax
call fcn.005b7fdc
mov eax, dword [esi + 0xc]
lea edi, [edi + 1]
lea ecx, [eax + edi*4]
add esp, 0xc
cmp dword [ecx], 0
jne 0x534880
lea eax, [ebp - 0x104]
push eax
push 0x20
push 0x7199c8
call fcn.005bc1d3
imul eax, dword [0x719a20], 0x32
add esp, 0xc
mov esi, dword [ebp + 0xc]
add eax, dword [0x719a1c]
imul eax, eax, 0x5e
cmp si, word [eax + 0x6f7cac]
jne 0x534912
cmp dword [0x7199fc], 0
je 0x534912
cmp dword [0x719a18], 0
jne 0x534912
mov ecx, 0x7199f0
call fcn.0057e8f0
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x104]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
xor ecx, ecx
mov dword [ebx + 0x14], eax
test eax, eax
pop edi
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005b6a74
mov esp, ebp
pop ebp
ret 8
Function at 0x548040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3036
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d5760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.CMunpaMarkManager.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0x40
mov byte [ebp - 4], 1
mov dword [edi + 0x4c], 0
call fcn.004159f0
push 0x40
lea ecx, [edi + 0x28]
call fcn.004159f0
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

Function at 0x548eb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e454b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d5760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CNewbieGuide.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push 0x60
mov dword [ebp - 4], 0
call fcn.004159f0
mov dword [esi + 0x30], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x54e810
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7a9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d5760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esi], vtable.COBalloonName.0
push 0x3d
push eax
mov dword [esi + 0xf2], eax
mov dword [esi + 0xfa], eax
mov byte [esi + 0xfe], al
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esi + 0x34]
push eax
mov dword [esi + 0x72], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0xf6], 0
mov dword [esi + 0x76], 0xffffff
mov dword [esi + 0x7a], 0xffffff
call fcn.005b7980
xorps xmm0, xmm0
movdqu xmmword [esi + 0x7e], xmm0
mov byte [esi + 0x8e], 0
movdqu xmmword [esi + 0x8f], xmm0
push 0x860
movdqu xmmword [esi + 0x9f], xmm0
mov byte [esi + 0xaf], 0
movdqu xmmword [esi + 0xb0], xmm0
movdqu xmmword [esi + 0xc0], xmm0
mov byte [esi + 0xd0], 0
movdqu xmmword [esi + 0xd1], xmm0
movdqu xmmword [esi + 0xe1], xmm0
mov byte [esi + 0xf1], 0
movdqu xmmword [esi + 0x11e], xmm0
mov byte [esi + 0x12e], 0
call fcn.005b6294
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x54e94e
mov ecx, eax
call fcn.004ddc60
jmp 0x54e950
xor eax, eax
mov dword [esi + 0x104], eax
mov eax, esi
mov dword [esi + 0x100], 0
mov dword [esi + 0x116], 0
mov dword [esi + 0x10a], 0
mov dword [esi + 0x10e], 0
mov dword [esi + 0x112], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x559b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push closesocket
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x559bb3
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x559bbb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0x61208
jne 0x559bac
push 0
lea eax, [ebp - 4]
push eax
push 0xac
lea eax, [ebx + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x559bac
cmp dword [ebp - 4], 0xac
push esi
ja 0x559bad
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x559e70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x84]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp eax, dword [esi + 0x80]
je 0x559e92
mov dword [ecx + 0xb0], 1
push 0
push 0x80
push 2
push 0
lea ebx, [ecx + 4]
mov ecx, 0x2b
push 0
push 0x40000000
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push str.._ini_GameOption.opt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x559ef4
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 4]
push 0
push eax
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x61208
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 0xac
push ebx
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5632b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e39f3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d5760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
push 0xa
mov byte [ebp - 4], 1
call fcn.004159f0
push 0x14
lea ecx, [edi + 0x24]
call fcn.004159f0
mov ecx, edi
call fcn.005640c0
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