joyce8/EMBER2024-capa huggingface dataset:
Function at 0x528720
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 0xc], 0x10
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10c], eax
jne 0x528765
cmp dword [0x6573f0], 0
je 0x528765
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
mov ecx, esi
mov eax, 0x587394
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x528790
test dl, dl
je 0x52878c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x528790
add eax, 2
add ecx, 2
test dl, dl
jne 0x528770
xor eax, eax
jmp 0x528795
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5287a5
mov dword [edi + 8], 1
jmp 0x528829
mov ecx, esi
mov eax, 0x5946b8
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5287d0
test dl, dl
je 0x5287cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5287d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x5287b0
xor eax, eax
jmp 0x5287d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5287e2
mov dword [edi + 8], 2
jmp 0x528829
mov ecx, esi
mov eax, 0x5946bc
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x528810
test dl, dl
je 0x52880c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x528810
add eax, 2
add ecx, 2
test dl, dl
jne 0x5287f0
xor eax, eax
jmp 0x528815
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x528822
mov dword [edi + 8], 2
jmp 0x528829
mov dword [edi + 8], 0
mov eax, dword [edi + 8]
sub eax, 0
je 0x5288a7
dec eax
je 0x528889
dec eax
jne 0x5288f2
mov eax, dword [0x65fadc]
mov edx, dword [eax]
lea esi, [edi + 0xc]
push esi
push eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [esi]
mov edx, dword [ebp - 0x10c]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov dword [edi + 0x10], eax
test eax, eax
je 0x5288f2
cmp dword [esi], 0
je 0x5288f2
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x10c]
mov ecx, edi
call fcn.00528470
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x10c]
push 0x586598
push esi
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov dword [edi + 4], eax
test eax, eax
jne 0x528873
test byte [ebp + 0xc], 1
jne 0x5288f2
push esi
lea ecx, [ebp - 0x108]
push str.__s__file_is_not_found
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x108]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.005762ee
mov esp, ebp
pop ebp
ret 8

Function at 0x52a180
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
movzx ecx, byte [eax + 0x52a30c]
mov edi, 1
jmp dword [ecx*4 + 0x52a2d8]
Function at 0x52c150
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x5b107c]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
mov esi, ecx
lea edx, [esp + 0x1c]
push edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x52c177
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCR100.dll_isalpha]
add esp, 4
test eax, eax
je 0x52c23f
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x52c1d5
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Error:__u_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.005762ee
mov esp, ebp
pop ebp
ret 4
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push str.name_s_naliases_s_naddrtype_d_nlength_d_n
call dword [sym.imp.MSVCR100.dll_printf]
mov eax, dword [esi + 0xc]
xor edi, edi
add esp, 0x14
cmp dword [eax], edi
je 0x52c23f
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
movsx ecx, word [esi + 0xa]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call sub.MSVCR100.dll_memcpy
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x24]
push 0x5865b0
push edx
call ebx
mov eax, dword [esi + 0xc]
inc edi
lea eax, [eax + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x52c203
lea ecx, [esp + 0x20]
push ecx
push 0x20
push 0x65f310
call dword [sym.imp.MSVCR100.dll_strcpy_s]
mov edx, dword [0x682580]
mov ecx, dword [ebp + 8]
imul edx, edx, 0x58
add esp, 0xc
cmp cx, word [edx + 0x698390]
jne 0x52c280
cmp dword [0x682560], 0
je 0x52c280
cmp dword [0x68257c], 0
jne 0x52c280
call fcn.00512cc0
mov eax, dword [0x6831ec]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
lea ecx, [esp + 0x24]
push ecx
push eax
call edx
xor ecx, ecx
test eax, eax
setne cl
pop edi
mov dword [0x6831f0], eax
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.005762ee
mov esp, ebp
pop ebp
ret 4
Function at 0x52cb10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a8
mov eax, dword [0x5b107c]
xor eax, esp
mov dword [esp + 0x2a4], eax
cmp dword [0x65facc], 0
mov eax, dword [ebp + 8]
push esi
push edi
je 0x52cb80
push ecx
push edx
push eax
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x65f338
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x65f338
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x52ccb5
int3
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
test ecx, ecx
je 0x52cba1
push ecx
push edx
push eax
lea eax, [esp + 0x1b4]
push str._s_line:_d__msg:_s_
push eax
call esi
add esp, 0x14
jmp 0x52cbb5
push edx
push eax
lea ecx, [esp + 0x1b0]
push str._s_line:_d_
push ecx
call esi
add esp, 0x10
push 0xff
lea edx, [esp + 0xad]
push 0
push edx
mov byte [esp + 0xb4], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x16]
movzx edx, word [esp + 0x12]
movzx eax, word [esp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0xb4]
push str.._Log_Assert__4d_02d_02d.txt
push ecx
call esi
add esp, 0x14
cmp dword [0x69ce40], 0
jne 0x52ccb5
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x52cc87
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xa8]
push 0x5948e0
push ecx
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x52ccb5
call fcn.0052cd70
push eax
lea edx, [esp + 0x1ac]
push edx
push str._stime:_s_n
push esi
call dword [sym.imp.MSVCR100.dll_fprintf]
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x2a4]
xor ecx, esp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0xc]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x52cc33
mov dword [0x69ce40], 1
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
xor ecx, esp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
Function at 0x52d7d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3a8
mov eax, dword [0x5b107c]
xor eax, esp
mov dword [esp + 0x3a4], eax
push esi
push edi
push 0x1ff
lea eax, [esp + 0x1ad]
push 0
push eax
mov edi, ecx
mov esi, edx
mov byte [esp + 0x1b4], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
test esi, esi
je 0x52d830
push esi
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
push ebx
push edi
lea ecx, [esp + 0x1b4]
push str._s_line:_d__msg:_s_
push ecx
call esi
add esp, 0x14
jmp 0x52d84a
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
push ebx
push edi
lea edx, [esp + 0x1b0]
push str._s_line:_d_
push edx
call esi
add esp, 0x10
push 0xff
lea eax, [esp + 0xad]
push 0
push eax
mov byte [esp + 0xb4], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x16]
movzx eax, word [esp + 0x12]
movzx ecx, word [esp + 0x10]
push edx
push eax
push ecx
lea edx, [esp + 0xb4]
push str.._Log_Debug__4d_02d_02d.txt
push edx
call esi
add esp, 0x14
cmp dword [0x69cf48], 0
jne 0x52d94a
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x52d91c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0xa8]
push 0x5948e0
push edx
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x52d94a
call fcn.0052cd70
push eax
lea eax, [esp + 0x1ac]
push eax
push str._stime:_s_n
push esi
call dword [sym.imp.MSVCR100.dll_fprintf]
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x3a4]
xor ecx, esp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xc]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0xc]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x52d8c8
mov dword [0x69cf48], 1
mov ecx, dword [esp + 0x3ac]
pop edi
pop esi
xor ecx, esp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
Function at 0x538400
Capabilities:
Print debug messages

Disassembly:
push ebx
push edi
push 0x80
lea ebx, [esi + 0x18]
push str.LevPenalty
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
lea edi, [esi + 4]
add esp, 0xc
cmp dword [edi], 0
mov dword [esi + 0xc], 0xa
jne 0x538432
call fcn.00538660
mov eax, dword [edi]
mov dword [esi + 8], eax
push 0xa
push 0x63
push ebx
lea edi, [esi + 0x9c]
push str._MemoryPooltempl__s_
push edi
mov dword [esi + 0x98], 0x63
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x14]
lea ecx, [eax*4]
push ecx
push eax
mov eax, dword [esi + 0xc]
push edx
push eax
push 0x63
push ebx
push str.__s__Init_t_d_t_d_t_d_t_d_t_d_n
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
push edi
call fcn.00574d40
add esp, 0x24
pop edi
pop ebx
ret

Function at 0x539840
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
mov esi, dword [0x65fad4]
push edi
push 0x80
lea ebx, [esi + 0x18]
push str.CDelayGroup
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax], 0
mov edi, 0x10
mov dword [esi + 0xc], edi
jne 0x53987f
push eax
call fcn.00539a40
mov eax, dword [esi + 4]
add esp, 4
mov dword [esi + 8], eax
push 0x10
push 0x10
push ebx
mov dword [esi + 0x98], edi
lea edi, [esi + 0x9c]
push str._MemoryPooltempl__s_
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x14]
lea ecx, [eax*4]
push ecx
push eax
mov eax, dword [esi + 0xc]
push edx
push eax
push 0x10
push ebx
push str.__s__Init_t_d_t_d_t_d_t_d_t_d_n
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
push edi
call fcn.00574d40
add esp, 0x24
pop edi
pop esi
pop ebx
ret
Function at 0x5398e0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x5398ec
pop esi
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x539905
dec ecx
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x5399ea
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x14]
push ebx
push edi
test eax, eax
jne 0x53997a
mov edi, dword [esi + 0xc]
lea ebx, [esi + 4]
push ebx
call fcn.00539a40
mov edx, dword [ebx]
mov ecx, dword [esi + 0x14]
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
push ecx
mov dword [esi + 8], edx
mov edx, dword [esi + 0xc]
push edx
push eax
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push 0x588a30
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
add dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Increse_t_d_t_d_t_d_t_d_t_d_n
jmp 0x5399d0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x14]
push eax
push ecx
push edx
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push str.___s_alloc_Band
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
sub dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Decrese_t_d_t_d_t_d_t_d_t_d_n
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
push edi
call fcn.00574d40
add esp, 0x24
pop edi
pop ebx
mov ecx, esi
pop esi
jmp fcn.005398e0
inc dword [esi + 0x14]
pop esi
ret

Function at 0x53f5b0
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
push 0x80
push str.g_PoolSTLIST
push 0x657108
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
cmp dword [0x6570f4], 0
mov dword [0x6570fc], 0x32
mov edi, 0x64
jne 0x53f5f8
push ebx
mov ebx, 0x6570f4
call fcn.0053f820
mov eax, dword [0x6570f4]
mov dword [0x6570f8], eax
pop ebx
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
push 0x32
push edi
push 0x657108
push str._MemoryPooltempl__s_
push 0x65718c
mov dword [0x657188], edi
call esi
add esp, 0x14
push 0x65718c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x657188]
mov edx, dword [0x657104]
lea ecx, [eax*4]
push ecx
push eax
mov eax, dword [0x6570fc]
push edx
push eax
push edi
push 0x657108
push str.__s__Init_t_d_t_d_t_d_t_d_t_d_n
push 0x65718c
call esi
push 0x65718c
call fcn.00574d40
add esp, 0x24
pop edi
pop esi
ret
Function at 0x542bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577fdb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b107c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edi + 8]
xor eax, eax
mov dword [edi], vtable.CSkillObjectTargetList.0
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [ebp - 4], eax
call fcn.005430b0
movzx eax, word [ebx + 0xb7]
mov word [edi + 0x30], ax
mov cx, word [ebx + 0xad]
mov word [edi + 0x32], cx
mov dword [edi + 0x2c], 0
mov dx, word [ebx + 0x27]
mov word [edi + 0x34], dx
movzx eax, word [ebx + 0x29]
mov word [edi + 0x36], ax
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 0x542f60
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x542f6c
pop esi
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x542f85
dec ecx
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x543069
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x14]
push ebx
push edi
test eax, eax
jne 0x542ff9
mov edi, dword [esi + 0xc]
lea ebx, [esi + 4]
call fcn.0053f820
mov edx, dword [ebx]
mov ecx, dword [esi + 0x14]
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
push ecx
mov dword [esi + 8], edx
mov edx, dword [esi + 0xc]
push edx
push eax
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push 0x588a30
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
add dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Increse_t_d_t_d_t_d_t_d_t_d_n
jmp 0x54304f
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x14]
push eax
push ecx
push edx
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push str.___s_alloc_Band
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
sub dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Decrese_t_d_t_d_t_d_t_d_t_d_n
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
push edi
call fcn.00574d40
add esp, 0x24
pop edi
pop ebx
mov ecx, esi
pop esi
jmp fcn.00542f60
inc dword [esi + 0x14]
pop esi
ret
Function at 0x5495e0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
push edi
mov ebx, ecx
cmp esi, dword [0x65f94c]
jb 0x549614
xor ecx, ecx
push str.EngineCloud.cpp
lea edx, [ecx + 0x5b]
call fcn.0052cb10
add esp, 4
cmp dword [0x6573f0], 0xd
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
je 0x549635
mov eax, dword [0x6573dc]
push eax
call edi
mov dword [0x6573f0], 0xd
mov ecx, dword [0x65faf4]
mov eax, dword [ecx + esi*4]
push 0x5497d0
call fcn.00547390
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
jne 0x5496b2
mov edx, dword [0x65faf4]
mov eax, dword [edx + esi*4]
push eax
lea ecx, [ebp - 0x108]
push str.Fail_To_Create_Cloud_:__s
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x108]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [0x6573f0], 0
je 0x54969f
mov eax, dword [0x6573a8]
push eax
call edi
mov dword [0x6573f0], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
cmp dword [0x6573f0], 0
je 0x5496ce
mov ecx, dword [0x6573a8]
push ecx
call edi
mov dword [0x6573f0], 0
mov edx, dword [0x65fab8]
mov dword [ebx + 0x98], edx
lea edi, [ebx + 0x9c]
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800001ff
jns 0x5496f4
dec eax
or eax, 0xfffffe00
inc eax
mov esi, dword [0x65f93c]
imul eax, eax, 0x64
sub esi, dword [0x65f938]
mov dword [ebp - 0x10c], eax
inc esi
fild dword [ebp - 0x10c]
fstp dword [edi]
call dword [sym.imp.MSVCR100.dll_rand]
cdq
idiv esi
mov dword [ebp - 0x10c], edx
fild dword [ebp - 0x10c]
fiadd dword [0x65f938]
fstp dword [ebx + 0xa0]
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800001ff
jns 0x549747
dec eax
or eax, 0xfffffe00
inc eax
imul eax, eax, 0x64
mov dword [ebp - 0x10c], eax
push edi
mov ecx, ebx
fild dword [ebp - 0x10c]
fstp dword [ebx + 0xa4]
call fcn.0054a2f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.005762ee
mov esp, ebp
pop ebp
ret
Function at 0x549a30
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
xor eax, eax
mov dword [esi + 0x2c], eax
mov byte [esi + 0x28], al
mov eax, dword [ebp + 8]
mov ebx, 0xa
mov dword [esi + 0x10], eax
cmp dword [0x6573f0], ebx
je 0x549a6e
mov ecx, dword [0x6573d0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], ebx
mov eax, dword [0x65fadc]
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0x188]
call eax
push 0x549ba0
mov ebx, esi
mov eax, edi
call fcn.00547390
lea edx, [esi + 0x9c]
add esp, 4
mov dword [esi + 0x14], eax
mov eax, edi
sub edx, edi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x549aa0
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x549b0c
push 0x5948e0
push str.._Log_MissedObjectList.txt
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x549ae4
push edi
push 0x596998
push esi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
cmp dword [0x6573f0], 0
je 0x549b04
mov ecx, dword [0x6573a8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
xor eax, eax
pop esi
pop ebx
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
push edx
push eax
mov eax, edi
call fcn.005491f0
mov dword [esi + 0x3c], eax
cmp dword [0x6573f0], 0
je 0x549b3e
mov eax, dword [0x6573a8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x6573f0], 0
movzx edx, word [ebp + 0x10]
movzx ecx, bx
push 1
push ecx
push edx
mov edx, 1
call fcn.0054a500
mov ecx, esi
call fcn.0054a8f0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x549b78
movzx ecx, byte [ebp + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x10]
cmp dword [edx + 4], 5
jne 0x549b78
mov ecx, esi
call fcn.0054a870
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x10

Function at 0x549be0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577f36
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x5b107c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CEngineObject.0
mov edx, 0xffff
push 0xa
lea ecx, [esi + 0x40]
mov dword [esi + 0x30], 1
mov word [esi + 0x34], dx
call fcn.00574250
xor ebx, ebx
push 0xa
lea ecx, [esi + 0x5c]
mov dword [ebp - 4], ebx
call fcn.00574250
push 0xa
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 1
call fcn.00574250
fld1
fstp dword [esi + 8]
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], 0xffffffff
mov byte [esi + 0x28], bl
mov dword [esi + 0x20], 1
mov dword [esi + 0x3c], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x94], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x54a570
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebx + 0x14], 0
push esi
push edi
jne 0x54a583
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x54a5b0
mov edi, 6
cmp dword [0x6573f0], edi
je 0x54a67d
mov ecx, dword [0x6573c0]
push ecx
jmp 0x54a675
cmp eax, 1
jne 0x54a5d1
mov edi, 8
cmp dword [0x6573f0], edi
je 0x54a67d
mov edx, dword [0x6573c8]
jmp 0x54a674
cmp eax, 2
jne 0x54a5f2
mov edi, 9
cmp dword [0x6573f0], edi
je 0x54a67d
mov eax, dword [0x6573cc]
push eax
jmp 0x54a675
cmp eax, 4
jne 0x54a60d
mov edi, 0xa
cmp dword [0x6573f0], edi
je 0x54a67d
mov ecx, dword [0x6573d0]
push ecx
jmp 0x54a675
cmp eax, 3
jne 0x54a627
mov edi, 6
cmp dword [0x6573f0], edi
je 0x54a67d
mov edx, dword [0x6573c0]
jmp 0x54a674
cmp eax, 7
jne 0x54a641
mov edi, 8
cmp dword [0x6573f0], edi
je 0x54a67d
mov eax, dword [0x6573c8]
push eax
jmp 0x54a675
cmp eax, 9
jne 0x54a65c
mov edi, 0xe
cmp dword [0x6573f0], edi
je 0x54a67d
mov ecx, dword [0x6573e0]
push ecx
jmp 0x54a675
cmp eax, 0xa
jne 0x54a67d
mov edi, 0xf
cmp dword [0x6573f0], edi
je 0x54a67d
mov edx, dword [0x6573e4]
push edx
call esi
mov dword [0x6573f0], edi
mov edx, dword [ebp + 0xc]
mov eax, dword [0x65fadc]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebx + 0x14]
push edx
push eax
mov eax, dword [ecx + 0xf8]
call eax
cmp dword [0x6573f0], 0
mov edi, eax
je 0x54a6b7
mov ecx, dword [0x6573a8]
push ecx
call esi
mov dword [0x6573f0], 0
mov eax, edi
pop edi
pop esi
pop ebp
ret 8