joyce8/EMBER2024-capa huggingface dataset:
Function at 0x527863
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.0x52776c.10
movzx eax, byte [eax + 0x5278d8]
jmp dword [eax*4 + 0x5278a4]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x52776c.10
call fcn.00526790
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00526810
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005268a0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005266c0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x52776c.10
call fcn.00526770
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00526730
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00526dc0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x38]
test ecx, ecx
je case.0x52776c.10
push 8
call fcn.0045c900
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005269a0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00526bd0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x6d0af0
call fcn.00464670
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.0x52776c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x52776c.10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x52776c.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.00527190
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x527930
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 4], 0
jne 0x52793f
xor eax, eax
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0x102
ja 0x527981
je 0x527974
sub eax, 0x100
je 0x527967
dec eax
jne 0x52798f
cmp dword [ebp + 0x10], 0x11
jne 0x52798f
mov dword [ecx + 0xc], eax
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], 0x100
pop ebp
jmp fcn.00527750
mov dword [ebp + 0xc], 0x102
pop ebp
jmp fcn.005275e0
cmp eax, 0x10f
je 0x527998
cmp eax, 0x286
je 0x527998
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00527640
Function at 0x529940
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x114]
mov ebx, ecx
mov eax, edi
mov dword [ebp - 4], ebx
sub esi, edi
mov edi, edi
mov dl, byte [eax]
lea eax, [eax + 1]
mov byte [esi + eax - 1], dl
test dl, dl
jne 0x529960
movsx eax, byte [edi]
push eax
call dword [sym.imp.MSVCR120.dll_isalpha]
add esp, 4
test eax, eax
je 0x5299e6
lea eax, [ebp - 0x114]
push eax
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x529999
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xc]
xor edi, edi
cmp dword [ecx], edi
je 0x5299e6
mov ebx, dword [sym.imp.MSVCR120.dll_sprintf]
movsx eax, word [esi + 0xa]
push eax
push dword [ecx]
lea eax, [ebp - 0x10]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
push dword [ebp - 0x10]
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x114]
push 0x58f388
push eax
call ebx
mov eax, dword [esi + 0xc]
lea edi, [edi + 1]
lea ecx, [eax + edi*4]
add esp, 0xc
cmp dword [ecx], 0
jne 0x5299a8
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x114]
push dword [ebp + 0xc]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
xor ecx, ecx
mov dword [ebx + 0x14], eax
test eax, eax
pop edi
setne cl
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x52b3e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x398
push esi
push 0x1ff
lea eax, [ebp - 0x30f]
mov byte [ebp - 0x310], 0
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
test eax, eax
je 0x52b42e
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push dword [ebp + 8]
push 0x5a15d8
push eax
call esi
add esp, 0x14
jmp 0x52b445
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push dword [ebp + 8]
push str._s_line:_d_
push eax
call esi
add esp, 0x10
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
lea eax, [ebp - 0x110]
push str.._Log_Debug__4d_02d_02d.txt
push eax
call esi
add esp, 0x14
cmp dword [0x6e8d98], 0
jne 0x52b52f
push edi
push 0
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x52b502
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x110]
push 0x5a1600
push eax
call dword [sym.imp.MSVCR120.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x52b52e
call fcn.0052abd0
push eax
lea eax, [ebp - 0x310]
push eax
push str._stime:_s_n
push esi
call dword [sym.imp.MSVCR120.dll_fprintf]
push esi
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0x10]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x52b4be
mov dword [0x6e8d98], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5358f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589b5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0
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 [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
push 0xa
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.00581bb0
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.00538f50
lea edi, [esi + 0x94]
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
lea ebx, [esi + 0xb8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea eax, [esi + 0xdc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x100]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x124]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
push 0x80
push 0x5a22d4
push 0x6ac960
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCR120.dll_strncpy]
add esp, 0xc
mov dword [0x6ac95c], 0x32
cmp dword [0x6ac954], 0
jne 0x535af4
push 0x64
push 0x6ac954
call fcn.00535d50
mov eax, dword [0x6ac954]
add esp, 8
mov dword [0x6ac958], eax
push 0x1e
mov ecx, edi
mov dword [esi + 0x64], 0
call fcn.004c4460
push 0x1e
mov ecx, ebx
call fcn.004c4460
push 0x1e
lea ecx, [esi + 0xdc]
call fcn.004c4460
push 0x1e
lea ecx, [esi + 0x100]
call fcn.004c4460
push 3
lea ecx, [esi + 0x124]
call fcn.004c4460
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x53b540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589bfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 8]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CSkillObjectTargetList.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 1
mov dword [ebp - 4], 0
call fcn.004c4460
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0xb7]
mov word [esi + 0x30], ax
movzx eax, word [ecx + 0xad]
mov word [esi + 0x32], ax
mov dword [esi + 0x2c], 0
movzx eax, word [ecx + 0x27]
mov word [esi + 0x34], ax
movzx eax, word [ecx + 0x29]
mov ecx, dword [ebp - 0xc]
mov word [esi + 0x36], ax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x5440c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
push edi
push 0x400
lea eax, [ebp - 0x404]
mov edi, ecx
push 0
push eax
call sub.MSVCR120.dll_memset
mov ebx, dword [ebp + 8]
add esp, 0xc
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5440f3
sub ecx, edx
push ecx
push ebx
mov ecx, edi
call fcn.00544060
xor edx, edx
mov ecx, dword [edi + 0x28]
mov esi, eax
div dword [edi + 0x24]
mov ecx, dword [ecx + edx*4]
test ecx, ecx
je 0x54412d
cmp dword [ecx], esi
je 0x544123
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x544116
jmp 0x54412d
cmp dword [ecx + 4], 0
jne 0x5441be
cmp dword [edi + 0x20], 0xcd
jb 0x544161
push 0x33
mov ecx, edi
call fcn.005441e0
lea eax, [ebp - 0x404]
push 0x5a33c4
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 8
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [edi]
push 0
push 0
push 0
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x18c]
mov dword [ebp - 4], eax
test eax, eax
je 0x5441be
mov ecx, dword [edi]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x114]
mov eax, dword [edi]
push dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov ecx, edi
call fcn.00544020
test eax, eax
je 0x5441a8
mov ecx, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [eax + 4], esi
push eax
lea ecx, [edi + 4]
call fcn.00581c70
push esi
lea eax, [ebp - 4]
push eax
lea ecx, [edi + 0x20]
call fcn.004779a0
push dword [ebp + 0x14]
mov eax, dword [edi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x18c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x544390
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x4c]
mov edi, eax
add edx, 0x493e0
cmp edi, edx
jbe 0x5443be
mov ecx, esi
call fcn.005442c0
push str._n____Cache_delete_one_item.__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret
Function at 0x544430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5868ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CMHAudioManager.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 [0x705db0], 0
push 0x20
mov dword [ebp - 4], 0
mov dword [esi + 0x4c], 0
call fcn.004c4460
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov word [esi + 0x44], ax
mov dword [esi + 0x34], eax
mov eax, esi
mov dword [esi + 0x28], 0x3f800000
mov dword [esi + 0x2c], 0x3f800000
mov dword [esi + 0x30], 0x3f800000
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x546d80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x10
je 0x546efc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 0x94
push 0
mov eax, dword [ebx]
mov dword [ebp + 8], eax
lea esi, [eax + 0x37c]
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, ebx
call fcn.005456a0
push 0
mov ecx, ebx
call fcn.00545520
test eax, eax
je 0x546ee4
push edi
lea esp, [esp]
mov edi, dword [eax]
mov ecx, eax
call fcn.00545220
mov bl, al
mov ecx, 0x705e10
mov eax, dword [ebp + 8]
add bl, byte [eax + 0x56c]
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.00546400
test eax, eax
je case.0x546e13.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x546e13.10
movzx ecx, byte [ecx + 0x546f48]
jmp dword [ecx*4 + 0x546f04]
movzx ecx, word [edi + 0x30]
mov eax, dword [eax]
mov dword [esi + ecx*4 - 4], eax
jmp case.0x546e13.10
movzx ecx, word [edi + 0x30]
movss xmm0, dword [eax + 8]
test cx, cx
je case.0x546e13.10
mov eax, dword [eax + 4]
mov dword [esi + ecx*4 + 0x24], eax
movss dword [esi + ecx*4 + 0x3c], xmm0
jmp case.0x546e13.10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x5c], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x10]
mov dword [esi + 0x58], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x18]
mov dword [esi + 0x64], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x68], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x70], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x74], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x24]
mov dword [esi + 0x7c], eax
movzx eax, bl
mov word [esi + 0x80], ax
jmp case.0x546e13.10
mov eax, dword [eax + 0x28]
mov dword [esi + 0x84], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x88], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8c], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x34]
mov dword [esi + 0x90], eax
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00545520
test eax, eax
jne 0x546dd0
pop edi
mov ecx, dword [0x6c1264]
call fcn.00466ad0
mov ecx, dword [0x6c1264]
call fcn.00466840
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x546e1a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x10
je 0x546efc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 0x94
push 0
mov eax, dword [ebx]
mov dword [ebp + 8], eax
lea esi, [eax + 0x37c]
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, ebx
call fcn.005456a0
push 0
mov ecx, ebx
call fcn.00545520
test eax, eax
je 0x546ee4
push edi
lea esp, [esp]
mov edi, dword [eax]
mov ecx, eax
call fcn.00545220
mov bl, al
mov ecx, 0x705e10
mov eax, dword [ebp + 8]
add bl, byte [eax + 0x56c]
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.00546400
test eax, eax
je case.0x546e13.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x546e13.10
movzx ecx, byte [ecx + 0x546f48]
jmp dword [ecx*4 + 0x546f04]
movzx ecx, word [edi + 0x30]
mov eax, dword [eax]
mov dword [esi + ecx*4 - 4], eax
jmp case.0x546e13.10
movzx ecx, word [edi + 0x30]
movss xmm0, dword [eax + 8]
test cx, cx
je case.0x546e13.10
mov eax, dword [eax + 4]
mov dword [esi + ecx*4 + 0x24], eax
movss dword [esi + ecx*4 + 0x3c], xmm0
jmp case.0x546e13.10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x5c], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x10]
mov dword [esi + 0x58], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x18]
mov dword [esi + 0x64], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x68], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x70], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x74], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x24]
mov dword [esi + 0x7c], eax
movzx eax, bl
mov word [esi + 0x80], ax
jmp case.0x546e13.10
mov eax, dword [eax + 0x28]
mov dword [esi + 0x84], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x88], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8c], eax
jmp case.0x546e13.10
mov eax, dword [eax + 0x34]
mov dword [esi + 0x90], eax
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00545520
test eax, eax
jne 0x546dd0
pop edi
mov ecx, dword [0x6c1264]
call fcn.00466ad0
mov ecx, dword [0x6c1264]
call fcn.00466840
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x54a7c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x1f4], 0
je 0x54a8e5
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x54a8e5
push edi
mov ecx, 1
mov edi, 0x705ef4
xor eax, eax
lock cmpxchg dword [edi], ecx
cmp eax, 1
je 0x54a8cb
cmp dword [edx + 0x24], 1
je 0x54a8cb
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
movq qword [0x705ed4], xmm0
mov eax, dword [eax + 8]
mov dword [0x705edc], eax
mov eax, dword [ebp + 0xc]
movq xmm0, qword [eax]
movq qword [0x705ee0], xmm0
mov eax, dword [eax + 8]
mov dword [0x705ee8], eax
mov eax, dword [esi + 0x1f4]
mov dword [0x705eec], eax
mov eax, dword [ebp + 0x14]
mov dword [0x6acb00], eax
mov dword [0x705ef0], edx
mov dword [esi + 0x3ac], 0
mov eax, dword [0x6d6f6c]
mov dword [eax + 0xa00], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x6d80a0
mov dword [0x705ec8], eax
call fcn.004db290
mov dword [0x705ecc], eax
lea eax, [ebp + 0x10]
push eax
push 0
push 0
push 0x54a8f0
push 0
push 0
mov dword [0x705ec0], 1
mov dword [0x705ec4], 1
mov dword [0x705efc], 0
mov dword [0x705ebc], 0
mov dword [0x705ed0], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x54a8d3
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 0x54c0d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a438
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.CTileManager.0
lea ecx, [edi + 0x38]
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
call fcn.0057fc10
mov dword [edi + 0x38], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x58]
push eax
call fcn.0054bf90
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x6c]
push eax
call fcn.0054bf90
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 4
lea ecx, [edi + 0x8c]
push eax
call fcn.0054bf90
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0xa0]
call fcn.0054bf90
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword [edi + 0xc], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x562fa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ab1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
push 0x40
mov byte [ebp - 4], 2
call fcn.004c4460
push 0x40
lea ecx, [ebx + 0x24]
call fcn.004c4460
push 0x40
lea ecx, [ebx + 0x48]
call fcn.004c4460
mov ecx, ebx
call fcn.00562c80
mov ecx, ebx
call fcn.00562b50
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x56fdf0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x20]
test eax, eax
je 0x56fe2c
push 0x7c9
mov ecx, 0x6db090
call fcn.004e9380
push eax
push 0x17
push 0x6db090
call fcn.004e8b40
add esp, 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x7040b8]
mov dword [ebp - 4], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea edx, [ebp - 4]
push edx
push 0x5a564c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x134]
test eax, eax
je 0x56fe25
cmp dword [esi + 0xc], 0
jne 0x56fe8b
push str.bdcap32.dll
mov ecx, esi
call fcn.0056ffb0
test eax, eax
jns 0x56fe71
push 0x7ca
jmp 0x56fe0b
mov eax, dword [esi]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call dword [eax + 0xc]
cmp dword [esi + 0xc], 0
je 0x56ff4b
mov eax, dword [esi]
push 0x140
push 0xf
push esi
call dword [eax + 0x40]
mov ecx, esi
call fcn.00570320
push 0
mov ecx, 0x706b10
call fcn.0055cc30
push eax
lea eax, [ebp - 0x108]
push str._sScreenShot
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x108]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x56fee5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x56fe25
push 0x104
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
push 0x5a572c
push str.Capture
lea eax, [ebp - 0x108]
push eax
call fcn.00570270
lea eax, [ebp - 0x20c]
mov ecx, 0x6db090
push eax
push 0x971
call fcn.004e9380
push eax
push 0x17
push 0x6db090
call fcn.004e8b40
add esp, 0x10
lea eax, [ebp - 0x20c]
push dword [ebp - 4]
push 4
push 0
push eax
push esi
call fcn.00570470
test eax, eax
js 0x56fe25
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x574670
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
lea eax, [ebp - 0x100]
push esi
push edi
push 0xff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x100]
push 0x5c
push eax
call dword [sym.imp.MSVCR120.dll_strrchr]
add esp, 8
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x14]
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5746b0
lea edi, [ebp - 0x100]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x5746c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x100]
push eax
push 0xff
push dword [ebp + 0x10]
and ecx, 3
push 0
push dword [ebp + 0xc]
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x57b8d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6e5a9c]
sub esp, 0x10c
push ebx
push esi
push eax
push eax
mov ebx, ecx
mov ecx, 0x706b10
push 0
call fcn.0055cc30
push eax
lea eax, [ebp - 0x10c]
push str._sData_d_d.UIE
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x10c]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x57b951
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 0x57b959
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 0x57b94a
push 0
lea eax, [ebp - 4]
push eax
push 0x16c
lea eax, [ebx + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x57b94a
cmp dword [ebp - 4], 0x16c
push esi
ja 0x57b94b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret