joyce8/EMBER2024-capa huggingface dataset:
Function at 0x516f20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x104]
mov ebx, ecx
mov eax, esi
mov dword [ebp - 0x118], ebx
sub edx, esi
lea ebx, [ebx]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x516f50
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCR120.dll_isalpha]
add esp, 4
test eax, eax
je 0x516fea
lea eax, [ebp - 0x104]
push eax
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x516f92
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xc]
push edi
xor edi, edi
cmp dword [ecx], edi
je 0x516fe9
mov ebx, dword [sym.imp.MSVCR120.dll_sprintf]
movsx eax, word [esi + 0xa]
push eax
push dword [ecx]
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
push dword [ebp - 0x110]
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x104]
push 0x583a60
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 0x516fa2
mov ebx, dword [ebp - 0x118]
pop edi
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x104]
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 esi
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 8
Function at 0x518c20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x303]
push edi
mov edi, dword [ebp + 8]
push 0x1ff
push 0
push eax
mov byte [ebp - 0x304], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x304]
test esi, esi
je 0x518c7a
push esi
push dword [ebp + 0xc]
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
push edi
push 0x5917b0
push eax
call esi
add esp, 0x14
jmp 0x518c8f
push dword [ebp + 0xc]
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
push edi
push str._s_line:_d_
push eax
call esi
add esp, 0x10
push 0xff
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x30e]
push eax
movzx eax, word [ebp - 0x312]
push eax
movzx eax, word [ebp - 0x314]
push eax
lea eax, [ebp - 0x104]
push str.._Log_Debug__4d_02d_02d.txt
push eax
call esi
add esp, 0x14
cmp dword [0x6da0f0], 0
jne 0x518d93
push 0
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x518d61
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x104]
push 0x5917d8
push eax
call dword [sym.imp.MSVCR120.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x518d93
call fcn.005182d0
push eax
lea eax, [ebp - 0x304]
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 ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00574cc2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x3a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x518d13
mov dword [0x6da0f0], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00574cc2
mov esp, ebp
pop ebp
ret
Function at 0x5236a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57eb8d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a78d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
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.00573130
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.00527070
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 0x5924b0
push 0x6a6f38
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCR120.dll_strncpy]
add esp, 0xc
mov dword [0x6a6f34], 0x32
cmp dword [0x6a6f2c], 0
jne 0x5238ae
push 0x64
push 0x6a6f2c
call fcn.00523b20
mov eax, dword [0x6a6f2c]
add esp, 8
mov dword [0x6a6f30], eax
push 0x1e
mov ecx, edi
mov dword [esi + 0x64], 0
call fcn.005118a0
push 0x1e
mov ecx, ebx
call fcn.005118a0
push 0x1e
lea ecx, [esi + 0xdc]
call fcn.005118a0
push 0x1e
lea ecx, [esi + 0x100]
call fcn.005118a0
push 3
lea ecx, [esi + 0x124]
call fcn.005118a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5297c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57edfb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a78d0]
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 + 8]
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.005118a0
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 word [esi + 0x36], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x532bb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x408], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x418], eax
xor esi, esi
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x41c], eax
xor edi, edi
mov eax, dword [ebp + 0x14]
push 0x400
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x414], ebx
call sub.MSVCR120.dll_memset
mov edx, dword [ebp - 0x408]
add esp, 0xc
mov dword [ebp - 0x40c], esi
lea ecx, [edx + 1]
lea ebx, [ebx]
mov al, byte [edx]
inc edx
test al, al
jne 0x532c20
sub edx, ecx
mov dword [ebp - 0x410], esi
xor ecx, ecx
cmp edx, 2
jl 0x532c66
lea ebx, [edx - 1]
lea esp, [esp]
mov eax, dword [ebp - 0x408]
movsx eax, byte [eax + ecx]
add esi, eax
mov eax, dword [ebp - 0x408]
movsx eax, byte [eax + ecx + 1]
add ecx, 2
add edi, eax
cmp ecx, ebx
jl 0x532c40
mov ebx, dword [ebp - 0x414]
cmp ecx, edx
jge 0x532c7a
mov eax, dword [ebp - 0x408]
movsx eax, byte [eax + ecx]
mov dword [ebp - 0x410], eax
lea eax, [edi + esi]
xor edx, edx
add eax, dword [ebp - 0x410]
div dword [ebx + 0x48]
mov esi, edx
xor edx, edx
mov eax, esi
div dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x532cb7
jmp 0x532ca0
cmp dword [eax], esi
je 0x532cad
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x532ca0
jmp 0x532cb7
cmp dword [eax + 4], 0
jne 0x532d5c
cmp dword [ebx + 0x20], 0xcd
jb 0x532ceb
push 0x33
mov ecx, ebx
call fcn.00532da0
lea eax, [ebp - 0x404]
push 0x5935a0
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 [ebx]
mov edi, dword [ebp - 0x408]
push 0
push 0
mov ecx, dword [eax]
push 0
push edi
push eax
call dword [ecx + 0x18c]
mov dword [ebp - 0x40c], eax
test eax, eax
je 0x532d62
mov ecx, dword [ebx]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x114]
mov eax, dword [ebx]
push dword [ebp - 0x40c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov ecx, ebx
call fcn.00532b70
test eax, eax
je 0x532d41
mov ecx, dword [ebp - 0x40c]
mov dword [eax + 8], ecx
mov dword [eax + 4], esi
push eax
lea ecx, [ebx + 4]
call fcn.005731f0
push esi
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebx + 0x20]
call fcn.00435340
jmp 0x532d62
mov edi, dword [ebp - 0x408]
push dword [ebp - 0x420]
mov eax, dword [ebx]
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x18c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x532ef0
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x4c]
mov ebx, eax
add edx, 0x493e0
cmp ebx, edx
jbe 0x532f57
cmp dword [esi + 0x10], 0
jle 0x532f49
push edi
lea ecx, [esi + 4]
call fcn.00573560
mov edi, eax
test edi, edi
je 0x532f48
push dword [edi + 8]
call fcn.0052e670
add esp, 4
lea ecx, [esi + 0x20]
push dword [edi + 4]
call fcn.005220e0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
pop edi
push str._n____Cache_delete_one_item.__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], ebx
pop esi
pop ebx
ret

Function at 0x535a40
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 0x535bbc
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.00534300
push 0
mov ecx, ebx
call fcn.00534150
test eax, eax
je 0x535ba4
push edi
lea esp, [esp]
mov edi, dword [eax]
mov ecx, eax
call fcn.00533e30
mov bl, al
mov ecx, 0x6f70e8
mov eax, dword [ebp + 8]
add bl, byte [eax + 0x56c]
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.005350d0
test eax, eax
je case.0x535ad3.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x535ad3.10
movzx ecx, byte [ecx + 0x535c08]
jmp dword [ecx*4 + 0x535bc4]
movzx ecx, word [edi + 0x30]
mov eax, dword [eax]
mov dword [esi + ecx*4 - 4], eax
jmp case.0x535ad3.10
movzx ecx, word [edi + 0x30]
movss xmm0, dword [eax + 8]
test cx, cx
je case.0x535ad3.10
mov eax, dword [eax + 4]
mov dword [esi + ecx*4 + 0x24], eax
movss dword [esi + ecx*4 + 0x3c], xmm0
jmp case.0x535ad3.10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x5c], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x10]
mov dword [esi + 0x58], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x18]
mov dword [esi + 0x64], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x68], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x70], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x74], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x24]
mov dword [esi + 0x7c], eax
movzx eax, bl
mov word [esi + 0x80], ax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x28]
mov dword [esi + 0x84], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x88], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8c], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x34]
mov dword [esi + 0x90], eax
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00534150
test eax, eax
jne 0x535a90
pop edi
mov ecx, dword [0x6bbb4c]
call fcn.0044b980
mov ecx, dword [0x6bbb4c]
call fcn.0044b6a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x535ada
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 0x535bbc
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.00534300
push 0
mov ecx, ebx
call fcn.00534150
test eax, eax
je 0x535ba4
push edi
lea esp, [esp]
mov edi, dword [eax]
mov ecx, eax
call fcn.00533e30
mov bl, al
mov ecx, 0x6f70e8
mov eax, dword [ebp + 8]
add bl, byte [eax + 0x56c]
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.005350d0
test eax, eax
je case.0x535ad3.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x535ad3.10
movzx ecx, byte [ecx + 0x535c08]
jmp dword [ecx*4 + 0x535bc4]
movzx ecx, word [edi + 0x30]
mov eax, dword [eax]
mov dword [esi + ecx*4 - 4], eax
jmp case.0x535ad3.10
movzx ecx, word [edi + 0x30]
movss xmm0, dword [eax + 8]
test cx, cx
je case.0x535ad3.10
mov eax, dword [eax + 4]
mov dword [esi + ecx*4 + 0x24], eax
movss dword [esi + ecx*4 + 0x3c], xmm0
jmp case.0x535ad3.10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x5c], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x10]
mov dword [esi + 0x58], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x18]
mov dword [esi + 0x64], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x68], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x70], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x74], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x24]
mov dword [esi + 0x7c], eax
movzx eax, bl
mov word [esi + 0x80], ax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x28]
mov dword [esi + 0x84], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x88], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8c], eax
jmp case.0x535ad3.10
mov eax, dword [eax + 0x34]
mov dword [esi + 0x90], eax
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00534150
test eax, eax
jne 0x535a90
pop edi
mov ecx, dword [0x6bbb4c]
call fcn.0044b980
mov ecx, dword [0x6bbb4c]
call fcn.0044b6a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x539710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x1f4], 0
je 0x539835
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x539835
push edi
mov ecx, 1
mov edi, 0x6f71cc
xor eax, eax
lock cmpxchg dword [edi], ecx
cmp eax, 1
je 0x53981b
cmp dword [edx + 0x24], 1
je 0x53981b
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
movq qword [0x6f71ac], xmm0
mov eax, dword [eax + 8]
mov dword [0x6f71b4], eax
mov eax, dword [ebp + 0xc]
movq xmm0, qword [eax]
movq qword [0x6f71b8], xmm0
mov eax, dword [eax + 8]
mov dword [0x6f71c0], eax
mov eax, dword [esi + 0x1f4]
mov dword [0x6f71c4], eax
mov eax, dword [ebp + 0x14]
mov dword [0x6a7150], eax
mov dword [0x6f71c8], edx
mov dword [esi + 0x3ac], 0
mov eax, dword [0x6d13bc]
mov dword [eax + 0xa00], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x69db70
mov dword [0x6f71a0], eax
call fcn.004c5b50
mov dword [0x6f71a4], eax
lea eax, [ebp + 0x10]
push eax
push 0
push 0
push 0x539840
push 0
push 0
mov dword [0x6f7198], 1
mov dword [0x6f719c], 1
mov dword [0x6f71d4], 0
mov dword [0x6f7194], 0
mov dword [0x6f71a8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x539823
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 0x53b000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fe18
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6a78d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
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.00570fc0
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.0053aec0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x6c]
push eax
call fcn.0053aec0
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.0053aec0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0xa0]
call fcn.0053aec0
mov dword [edi + 0xc], 0
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 0x552c70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58089e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a78d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
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.005118a0
push 0x40
lea ecx, [ebx + 0x24]
call fcn.005118a0
push 0x40
lea ecx, [ebx + 0x48]
call fcn.005118a0
mov ecx, ebx
call fcn.00552920
mov ecx, ebx
call fcn.005527c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x55f7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x228c]
test ecx, ecx
je 0x55f835
mov ecx, dword [esi + ecx*4 + 0x984]
push edi
push 1
call fcn.004344e0
movzx edi, word [esi + 0xa05]
mov eax, 0x66666667
mov ecx, dword [esi + 0x228c]
imul edi
inc ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [ecx + ecx*4]
shl ecx, 2
lea edx, [eax + eax*4]
shl edx, 2
lea eax, [ecx - 0x14]
mov dword [esi + 0x2284], eax
sub edi, edx
jne 0x55f823
mov dword [esi + 0x2288], ecx
mov ecx, esi
pop edi
pop esi
jmp fcn.0055f970
lea eax, [edx + edi]
mov ecx, esi
pop edi
mov dword [esi + 0x2288], eax
pop esi
jmp fcn.0055f970
mov ecx, dword [esi + 0x984]
push 1
call fcn.004344e0
pop esi
ret
Function at 0x560310
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x20]
test eax, eax
je 0x560360
push 0x7c9
mov ecx, 0x6d43a8
call fcn.004d43c0
push eax
push 0x17
push 0x6d43a8
call fcn.004d3a00
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00574cc2
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6f53e8]
mov dword [ebp - 0x210], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea edx, [ebp - 0x210]
push edx
push 0x595828
mov ecx, dword [eax]
push eax
call dword [ecx + 0x134]
test eax, eax
je 0x56034f
cmp dword [esi + 0xc], 0
jne 0x5603c5
push str.bdcap32.dll
mov ecx, esi
call fcn.005604f0
test eax, eax
jns 0x5603ab
push 0x7ca
jmp 0x560335
mov eax, dword [esi]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call dword [eax + 0xc]
cmp dword [esi + 0xc], 0
je 0x560488
mov eax, dword [esi]
push 0x140
push 0xf
push esi
call dword [eax + 0x40]
mov ecx, esi
call fcn.005608e0
push 0
mov ecx, 0x6a73e8
call fcn.0054c6a0
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 0x56041f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x56034f
push 0x104
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
push 0x595908
push str.Capture
lea eax, [ebp - 0x108]
push eax
call fcn.00560800
lea eax, [ebp - 0x20c]
mov ecx, 0x6d43a8
push eax
push 0x971
call fcn.004d43c0
push eax
push 0x17
push 0x6d43a8
call fcn.004d3a00
add esp, 0x10
lea eax, [ebp - 0x20c]
push dword [ebp - 0x210]
push 4
push 0
push eax
push esi
call fcn.00560a40
test eax, eax
js 0x56034f
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.00574cc2
mov esp, ebp
pop ebp
ret

Function at 0x565000
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x104]
push 0xff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push 0x5c
push eax
call dword [sym.imp.MSVCR120.dll_strrchr]
add esp, 8
mov esi, ebx
mov byte [eax + 1], 0
mov al, byte [ebx]
inc ebx
test al, al
jne 0x565060
lea edi, [ebp - 0x104]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x565070
mov ecx, ebx
lea eax, [ebp - 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0xff
push dword [ebp - 0x110]
mov ecx, ebx
push 0
push dword [ebp - 0x108]
and ecx, 3
push dword [ebp - 0x10c]
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00574cc2
mov esp, ebp
pop ebp
ret