joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51ee70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6e2f0c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x108]
push ecx
call fcn.0058dea0
add esp, 8
mov byte [eax + 1], 0
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0058f570
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
push 0xff
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d3fe
mov esp, ebp
pop ebp
ret

Function at 0x520640
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2b5b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6e2f0c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.PingManager.0
mov ecx, dword [ebp - 0x18]
add ecx, 8
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
push 0x1e
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.00543670
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x2c], 1
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x30], 0
push 0
push 0
push 0
push 0x520ba0
push 0
push 0
call fcn.005919c5
add esp, 0x18
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x520dc0
Capabilities:
Create raw socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x6e2f0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a4], ecx
xor eax, eax
mov word [ebp - 0x198], ax
push 0x18e
push 0
lea ecx, [ebp - 0x196]
push ecx
call fcn.0058dfb0
add esp, 0xc
lea edx, [ebp - 0x198]
push edx
push 0x102
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x520e14
xor al, al
jmp 0x520ebb
push 1
push 3
push 2
call sub.WSOCK32.dll_socket
mov ecx, dword [ebp - 0x1a4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1a4]
cmp dword [edx + 4], 0xffffffff
jne 0x520e3b
xor al, al
jmp 0x520ebb
mov dword [ebp - 0x19c], 0x7d0
push 4
lea eax, [ebp - 0x19c]
push eax
push 0x1006
push 0xffff
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ecx + 4]
push edx
call sub.WSOCK32.dll_setsockopt
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xffffffff
jne 0x520e7a
xor al, al
jmp 0x520ebb
mov dword [ebp - 0x19c], 0x7d0
push 4
lea eax, [ebp - 0x19c]
push eax
push 0x1005
push 0xffff
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ecx + 4]
push edx
call sub.WSOCK32.dll_setsockopt
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xffffffff
jne 0x520eb9
xor al, al
jmp 0x520ebb
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d3fe
mov esp, ebp
pop ebp
ret
Function at 0x52c220
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74c
mov eax, dword [0x6e2f0c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x748], ecx
mov eax, dword [ebp - 0x748]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x748]
push edx
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
je 0x52c277
push 0x7c9
mov ecx, 0x6f58c8
call fcn.004c9d30
push eax
push 0x1d
push 0x6f58c8
call fcn.004cb0a0
add esp, 0xc
xor eax, eax
jmp 0x52c4a1
mov dword [ebp - 4], 0
mov ecx, dword [0x71fd24]
mov edx, dword [ecx]
mov eax, dword [0x71fd24]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x74c], eax
lea edx, [ebp - 4]
push edx
push 0x5c9128
mov eax, dword [ebp - 0x74c]
push eax
mov ecx, dword [ebp - 0x74c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x134]
call eax
test eax, eax
jne 0x52c2c2
xor eax, eax
jmp 0x52c4a1
mov ecx, dword [ebp - 0x748]
xor edx, edx
cmp dword [ecx + 0xc], 0
setne dl
test edx, edx
jne 0x52c32d
push str.bdcap32.dll
mov ecx, dword [ebp - 0x748]
call fcn.0052cc90
test eax, eax
jge 0x52c30f
push 0x7ca
mov ecx, 0x6f58c8
call fcn.004c9d30
push eax
push 0x1d
push 0x6f58c8
call fcn.004cb0a0
add esp, 0xc
xor eax, eax
jmp 0x52c4a1
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
mov eax, dword [ebp - 0x748]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x748]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [ebp - 0x748]
xor edx, edx
cmp dword [ecx + 0xc], 0
setne dl
test edx, edx
je 0x52c49c
lea ecx, [ebp - 0x378]
call fcn.0052cb80
push 0x3c
push 0x1e
mov eax, dword [ebp - 0x748]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x748]
push edx
mov eax, dword [ecx + 0x40]
call eax
mov ecx, dword [ebp - 0x748]
call fcn.0052c560
push 0
mov ecx, 0x7227e0
call fcn.0056e620
push eax
push str._sScreenShot
lea ecx, [ebp - 0x480]
push ecx
call fcn.0058dd5f
add esp, 0xc
push 0
lea edx, [ebp - 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x52c3d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x52c3d9
push 0x7cc
mov ecx, 0x6f58c8
call fcn.004c9d30
push eax
push 0x1d
push 0x6f58c8
call fcn.004cb0a0
add esp, 0xc
xor eax, eax
jmp 0x52c4a1
lea eax, [ebp - 0x534]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x5c925c
movzx ecx, word [ebp - 0x526]
push ecx
movzx edx, word [ebp - 0x528]
push edx
movzx eax, word [ebp - 0x52a]
push eax
movzx ecx, word [ebp - 0x52c]
push ecx
movzx edx, word [ebp - 0x52e]
push edx
movzx eax, word [ebp - 0x532]
push eax
movzx ecx, word [ebp - 0x534]
push ecx
push str.Capture
lea edx, [ebp - 0x480]
push edx
push str._s_s__d__02d__02d__02d__02d__02d__03d._s
push 0x104
lea eax, [ebp - 0x110]
push eax
call fcn.0058dde3
add esp, 0x34
lea ecx, [ebp - 0x110]
push ecx
push 0x7cd
mov ecx, 0x6f58c8
call fcn.004c9d30
push eax
push 0x1d
push 0x6f58c8
call fcn.004cb0a0
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
push 4
push 0
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x748]
push ecx
call fcn.0052ce50
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x52c49c
xor eax, eax
jmp 0x52c4a1
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058d3fe
mov esp, ebp
pop ebp
ret
Function at 0x52d1e0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jne 0x52d233
mov eax, dword [esp + 8]
push 0x5c92f4
push eax
call fcn.0058dbb4
mov esi, eax
add esp, 8
test esi, esi
je 0x52d269
mov edx, dword [esp + 0xc]
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x52d210
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x52d210
push esi
sub eax, edi
push 1
push eax
push edx
call fcn.0059161f
push esi
call fcn.0058d96a
add esp, 0x14
pop edi
xor eax, eax
pop esi
ret 0xc
cmp eax, 1
jne 0x52d269
mov ecx, dword [esp + 8]
push 0x5c92f0
push ecx
call fcn.0058dbb4
mov esi, eax
add esp, 8
test esi, esi
je 0x52d269
mov edx, dword [esp + 0xc]
push edx
push 0x5c92ec
push esi
call fcn.0058d7f1
push esi
call fcn.0058d96a
add esp, 0x10
xor eax, eax
pop esi
ret 0xc
Function at 0x52ea70
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x208
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
push edi
mov edi, dword [esp + 0x214]
mov esi, ecx
mov dword [esp + 8], edi
test edi, edi
jne 0x52ea9e
xor eax, eax
jmp 0x52eb5a
push 0x5b9d48
push edi
call fcn.0058dbb4
lea edx, [esi + 0x30]
add esp, 8
mov dword [esi + 4], eax
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x52eab6
mov eax, dword [esi + 4]
test eax, eax
je 0x52ea97
push ebx
push ebp
push 2
push 0
push eax
call fcn.00591aef
mov eax, dword [esi + 4]
push eax
call fcn.00591e37
mov ecx, dword [esi + 4]
push 0
push 0
push ecx
mov ebx, eax
call fcn.00591aef
add esp, 0x1c
mov ecx, esi
call fcn.0052df90
mov edx, dword [esi + 4]
push edx
push 1
lea edi, [esi + 0x18]
push 0xc
push edi
call fcn.005918e3
mov eax, dword [edi]
sub eax, dword [esi + 0x1c]
add esp, 0x10
sub eax, dword [esi + 0x20]
lea ecx, [esi + 0x148]
push eax
call fcn.00586860
test eax, eax
jne 0x52eb73
push eax
push 0x38
push str.MHFile.cpp
call fcn.00533d80
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push str.Bin_File_Version_Error_____s
push edx
call fcn.0058dd5f
add esp, 0x18
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
xor ecx, esp
call fcn.0058d3fe
add esp, 0x208
ret 4
lea ecx, [esi + 0x148]
call fcn.00586810
test eax, eax
je 0x52ec17
lea edi, [ebx - 0xe]
push edi
call fcn.0058cd48
add esp, 4
mov dword [esi + 0x28], eax
test eax, eax
jne 0x52ebab
push eax
push 0x49
push str.MHFile.cpp
call fcn.00533d80
add esp, 0xc
jmp 0x52eb56
push edi
push 0
push eax
call fcn.0058dfb0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 4]
add esp, 0xc
push ecx
push edi
push edx
push eax
lea ecx, [esi + 0x148]
call fcn.00586c20
test eax, eax
jne 0x52ebf7
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push str.File_Open_Error_:__s
push edx
call fcn.0058dd5f
add esp, 0xc
push 0
push 0
lea eax, [esp + 0x1c]
jmp 0x52eb4d
mov ecx, dword [esi + 4]
push ecx
call fcn.0058d96a
mov eax, 1
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 0x2c], eax
jmp 0x52eb58
mov edx, dword [esi + 4]
push edx
push 1
lea eax, [esi + 0x24]
push 1
push eax
call fcn.005918e3
mov eax, dword [esi + 0x20]
add esp, 0x10
test eax, eax
je 0x52ec4e
push eax
call fcn.0058cd48
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
push 1
push eax
mov dword [esi + 0x28], eax
call fcn.005918e3
add esp, 0x14
mov eax, dword [esi + 4]
push eax
push 1
lea ecx, [esi + 0x25]
push 1
push ecx
call fcn.005918e3
mov edx, dword [esi + 4]
push edx
call fcn.0058d96a
add esp, 0x14
mov ecx, esi
mov dword [esi + 4], 0
call fcn.0052e440
test eax, eax
je 0x52eb56
call fcn.0052df50
test eax, eax
je 0x52eb56
mov eax, 1
mov dword [esi + 0x2c], eax
jmp 0x52eb58
Function at 0x5312c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b3217
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [0x6f3914]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x53154e
test esi, esi
je 0x53154e
cmp byte [eax + 0x450], 0
je 0x53154e
cmp dword [0x704bdc], esi
jne 0x531331
mov eax, dword [0x6f4834]
sub eax, dword [0x704bd8]
cmp eax, 0x64
jbe 0x53154e
mov ecx, esi
call fcn.00495250
cmp al, 0x14
je 0x53154e
mov al, byte [esp + 0x50]
test al, 1
je 0x53145d
mov eax, dword [esi + 0x129]
cmp dword [0x6f448c], eax
jne 0x53154e
mov ecx, dword [0x6f3914]
cmp byte [ecx + 0x149], 0
je 0x531391
push 0x531
mov ecx, 0x6f58c8
call fcn.004c9d30
push eax
push 0x1d
push 0x6f58c8
call fcn.004cb0a0
add esp, 0xc
jmp 0x53154e
push esi
call fcn.00530750
add esp, 4
test eax, eax
je 0x53154e
mov edx, dword [0x6f3914]
cmp byte [edx + 0x451], 0
je 0x531401
mov eax, dword [esi + 0x129]
push eax
mov ecx, 0x6f4898
call fcn.004c0750
test eax, eax
je 0x5313cd
push 0x276
jmp 0x531372
mov eax, dword [0x6f3914]
push esi
push eax
call fcn.00403630
mov ecx, eax
call fcn.004f6520
test eax, eax
je 0x5313eb
push 0x3a4
jmp 0x531372
mov ecx, dword [0x6f3914]
push esi
push ecx
mov ecx, 0x6ff840
call fcn.004f9360
test eax, eax
jne 0x5313e4
lea ecx, [esp + 8]
call fcn.00552d40
push 0
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0
call fcn.00552a50
mov ecx, dword [0x6f3914]
lea edx, [esp + 8]
push edx
call fcn.00453d10
mov ecx, dword [0x6f3914]
push 0
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.00405f40
mov ecx, eax
call fcn.0054af90
mov edx, dword [0x6f4834]
mov dword [0x704bd8], edx
lea ecx, [esp + 8]
jmp 0x53153b
test al, 4
je 0x53154e
mov eax, dword [0x6f3914]
cmp byte [eax + 0x149], 0
jne 0x53136d
push esi
call fcn.00530750
add esp, 4
test eax, eax
je 0x53154e
mov ecx, dword [0x6f3914]
cmp byte [ecx + 0x451], 0
je 0x5314e5
mov eax, dword [esi + 0x129]
push eax
mov ecx, 0x6f4898
call fcn.004c0750
test eax, eax
jne 0x5313c6
mov edx, dword [0x6f3914]
push esi
push edx
call fcn.00403630
mov ecx, eax
call fcn.004f6520
test eax, eax
jne 0x5313e4
mov eax, dword [0x6f3914]
push esi
push eax
mov ecx, 0x6ff840
call fcn.004f9360
test eax, eax
jne 0x5313e4
lea ecx, [esp + 0x20]
call fcn.00552d40
push 0
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 1
call fcn.00552a50
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [0x6f3914]
call fcn.00453d10
mov eax, dword [0x6f3914]
push 0
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00405f40
mov ecx, eax
call fcn.0054af90
mov ecx, dword [0x6f4834]
mov dword [0x704bd8], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 0xffffffff
mov dword [0x704bdc], esi
call fcn.00552a40
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0058d3fe
add esp, 0x40
ret 8
Function at 0x5325b0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x114
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
mov esi, dword [esp + 0x120]
lea edx, [esp + 0x18]
mov ebx, ecx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5325d7
movsx eax, byte [esi]
push eax
call fcn.005921da
add esp, 4
test eax, eax
je 0x532686
lea ecx, [esp + 0x18]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x53261f
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str.Error:__u_n
call fcn.0058f960
add esp, 8
xor eax, eax
jmp 0x5326f2
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
mov ecx, dword [esi + 4]
push edi
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push str.name_s_naliases_s_naddrtype_d_nlength_d_n
call fcn.0058f960
mov eax, dword [esi + 0xc]
xor edi, edi
add esp, 0x14
cmp dword [eax], edi
je 0x532685
movsx ecx, word [esi + 0xa]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0058e0b0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea edx, [esp + 0x20]
push 0x5b967c
push edx
call fcn.0058dd5f
mov eax, dword [esi + 0xc]
inc edi
lea eax, [eax + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x532647
pop edi
lea ecx, [esp + 0x18]
push ecx
push 0x20
push 0x703a24
call fcn.00592125
mov edx, dword [0x703a80]
mov esi, dword [esp + 0x130]
imul edx, edx, 0x58
add esp, 0xc
cmp si, word [edx + 0x71edd8]
jne 0x5326cf
cmp dword [0x703a48], 0
je 0x5326cf
cmp dword [0x703a7c], 0
jne 0x5326cf
mov ecx, 0x703a48
call fcn.00521c40
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebx + 0x118], eax
mov eax, ecx
mov ecx, dword [esp + 0x118]
pop esi
pop ebx
xor ecx, esp
call fcn.0058d3fe
add esp, 0x114
ret 8
Function at 0x532770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
cmp byte [esi + 1], 0x52
push edi
mov edi, ecx
jb 0x5327a5
push 0
push 0xb9
push str.MHNetwork.cpp
call fcn.00533d80
add esp, 0xc
lea eax, [esp + 0xc]
push ebx
mov dword [esp + 0x10], 0x56734661
mov dword [esp + 0x14], 0x31313561
mov dword [esp + 0x18], 0x76465341
mov dword [esp + 0x1c], 0x534d6163
mov dword [esp + 0x20], 0x215e5953
mov dword [esp + 0x24], 0x76732440
mov dword [esp + 0x28], 0x3172415a
mov dword [esp + 0x2c], 0x21405e26
mov dword [esp + 0x30], 0x7866732a
mov byte [esp + 0x34], 0
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x532800
sub eax, ecx
mov ecx, eax
xor edx, edx
lea ebx, [ecx - 1]
mov eax, ebp
div ebx
dec ecx
pop ebx
mov al, byte [esp + edx + 0xc]
xor byte [esi + 1], al
xor edx, edx
mov eax, ebp
div ecx
mov cl, byte [esp + edx + 0xc]
xor byte [esi + 2], cl
mov dl, byte [edi + 0x11c]
mov byte [esi], dl
mov eax, dword [edi + 0x118]
inc byte [edi + 0x11c]
test eax, eax
je 0x532853
mov edi, dword [edi + 0x114]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x14]
push ebp
push esi
push eax
push edi
call edx
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0058d3fe
add esp, 0x2c
ret 8
Function at 0x533d80
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x6e2f0c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x705480], 0
je 0x533dda
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x705380
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x705380
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x533dd5
int3
jmp 0x533fa6
cmp dword [ebp + 0x10], 0
je 0x533e02
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_line:_d__msg:_s_
lea eax, [ebp - 0x118]
push eax
call fcn.0058dd5f
add esp, 0x14
jmp 0x533e1e
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_line:_d_
lea eax, [ebp - 0x118]
push eax
call fcn.0058dd5f
add esp, 0x10
mov byte [ebp - 0x218], 0
push 0xff
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.0058dfb0
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx ecx, word [ebp - 0x12]
push ecx
movzx edx, word [ebp - 0x14]
push edx
push str.._Log_Assert__4d_02d_02d.txt
lea eax, [ebp - 0x218]
push eax
call fcn.0058dd5f
add esp, 0x14
cmp dword [0x7054d8], 0
jne 0x533fa6
push 0
lea ecx, [ebp - 0x2b0]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0xffffffff
jne 0x533eff
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5c9874
lea ecx, [ebp - 0x218]
push ecx
call fcn.0058dbb4
add esp, 8
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
je 0x533efa
call fcn.00534100
push eax
lea edx, [ebp - 0x118]
push edx
push str._stime:_s_n
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.0058d7f1
add esp, 0x10
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.0058d96a
add esp, 4
jmp 0x533fa6
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x224]
shl ecx, 0x10
or ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x220], 0xf4240
ja 0x533f9c
push 0x5c9874
lea eax, [ebp - 0x218]
push eax
call fcn.0058dbb4
add esp, 8
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0
je 0x533f9a
call fcn.00534100
push eax
lea ecx, [ebp - 0x118]
push ecx
push str._stime:_s_n
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.0058d7f1
add esp, 0x10
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.0058d96a
add esp, 4
jmp 0x533fa6
mov dword [0x7054d8], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d3fe
mov esp, ebp
pop ebp
ret
Function at 0x535200
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b8
mov eax, dword [0x6e2f0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x218], 0
push 0x1ff
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.0058dfb0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x535258
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_line:_d__msg:_s_
lea ecx, [ebp - 0x218]
push ecx
call fcn.0058dd5f
add esp, 0x14
jmp 0x535274
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_line:_d_
lea ecx, [ebp - 0x218]
push ecx
call fcn.0058dd5f
add esp, 0x10
mov byte [ebp - 0x318], 0
push 0xff
push 0
lea edx, [ebp - 0x317]
push edx
call fcn.0058dfb0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0xe]
push ecx
movzx edx, word [ebp - 0x12]
push edx
movzx eax, word [ebp - 0x14]
push eax
push str.._Log_Debug__4d_02d_02d.txt
lea ecx, [ebp - 0x318]
push ecx
call fcn.0058dd5f
add esp, 0x14
cmp dword [0x705820], 0
jne 0x5353fc
push 0
lea edx, [ebp - 0x3b0]
push edx
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0xffffffff
jne 0x535355
mov ecx, dword [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5c9874
lea edx, [ebp - 0x318]
push edx
call fcn.0058dbb4
add esp, 8
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0
je 0x535350
call fcn.00534100
push eax
lea eax, [ebp - 0x218]
push eax
push str._stime:_s_n
mov ecx, dword [ebp - 0x3b4]
push ecx
call fcn.0058d7f1
add esp, 0x10
mov edx, dword [ebp - 0x3b4]
push edx
call fcn.0058d96a
add esp, 4
jmp 0x5353fc
lea eax, [ebp - 0x324]
push eax
mov ecx, dword [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp - 0x324]
shl edx, 0x10
or edx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], edx
mov eax, dword [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x320], 0xf4240
ja 0x5353f2
push 0x5c9874
lea ecx, [ebp - 0x318]
push ecx
call fcn.0058dbb4
add esp, 8
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b8], 0
je 0x5353f0
call fcn.00534100
push eax
lea edx, [ebp - 0x218]
push edx
push str._stime:_s_n
mov eax, dword [ebp - 0x3b8]
push eax
call fcn.0058d7f1
add esp, 0x10
mov ecx, dword [ebp - 0x3b8]
push ecx
call fcn.0058d96a
add esp, 4
jmp 0x5353fc
mov dword [0x705820], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d3fe
mov esp, ebp
pop ebp
ret