joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51f8f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [0x6fb05c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3e8], ecx
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.005a30a0
add esp, 8
mov byte [eax + 1], 0
push 0x5dcf60
lea edx, [ebp - 0x108]
push edx
call fcn.0059f670
add esp, 8
push 0xff
lea eax, [ebp - 0x308]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x308]
push ecx
call fcn.005a30a0
add esp, 8
mov byte [eax + 1], 0
push 0x5dcf7c
lea edx, [ebp - 0x308]
push edx
call fcn.0059f670
add esp, 8
lea eax, [ebp - 0x308]
push eax
push 0x5dcf9c
lea ecx, [ebp - 0x108]
push ecx
call fcn.0051fd50
add esp, 0xc
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.0059eb30
add esp, 0xc
push 0x5dcfa4
lea eax, [ebp - 0x3d0]
push eax
push 0x5dcfc4
push 0x5dcfcc
call fcn.00529e80
add esp, 0x10
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0059f76e
add esp, 4
mov edx, dword [ebp - 0x3e8]
mov dword [edx + 0x24c], eax
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.0059eb30
add esp, 0xc
push 0x5dcfd8
lea ecx, [ebp - 0x3d0]
push ecx
push 0x5dcff8
push 0x5dcffc
call fcn.00529e80
add esp, 0x10
lea edx, [ebp - 0x3d0]
push edx
call fcn.0059f76e
add esp, 4
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0x250], eax
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.0059eb30
add esp, 0xc
push 0x5dd008
lea eax, [ebp - 0x3d0]
push eax
push 0x5dd028
push 0x5dd02c
call fcn.00529e80
add esp, 0x10
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0059f76e
add esp, 4
mov edx, dword [ebp - 0x3e8]
mov dword [edx + 0x254], eax
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.0059eb30
add esp, 0xc
push 0x5dd038
lea ecx, [ebp - 0x3d0]
push ecx
push 0x5dd058
push 0x5dd05c
call fcn.00529e80
add esp, 0x10
lea edx, [ebp - 0x3d0]
push edx
call fcn.0059f76e
add esp, 4
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0x258], eax
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret
Function at 0x521840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
push 0x5dd3ec
mov eax, dword [ebp + 8]
push eax
call fcn.0059f161
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x52194e
mov ecx, dword [ebp - 8]
push ecx
push 0x118
push 1
mov edx, dword [ebp - 0x14]
add edx, 0x14
push edx
call fcn.0059f4ab
add esp, 0x10
cmp eax, 0x118
je 0x521898
jmp 0x521940
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x118]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x11c]
lea ecx, [eax + ecx*2]
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x120], ecx
je 0x5218bd
jmp 0x521940
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x124]
push ecx
call fcn.0059e028
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
cmp dword [ebp - 0xc], 0
jne 0x5218e3
jmp 0x521940
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x124]
push eax
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0059f4ab
add esp, 0x10
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x124], eax
je 0x52190f
jmp 0x521940
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x118]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x11c]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x124]
mov dword [edx + 0xc], ecx
mov byte [ebp - 1], 1
mov edx, dword [ebp - 8]
push edx
call fcn.0059ee60
add esp, 4
jmp 0x521952
xor al, al
jmp 0x521991
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x521982
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x10], 0
je 0x521982
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0059ebb5
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 1]
mov byte [eax + 0x128], cl
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 4

Function at 0x523c60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x529e80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6fb05c]
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.005a30a0
add esp, 8
mov byte [eax + 1], 0
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0059f670
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.0059eb13
mov esp, ebp
pop ebp
ret

Function at 0x52b650
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3f4b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6fb05c]
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.0054e4a0
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 0x52bbb0
push 0
push 0
call fcn.005a33aa
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 0x52bdd0
Capabilities:
Create raw socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x6fb05c]
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.0059eb30
add esp, 0xc
lea edx, [ebp - 0x198]
push edx
push 0x102
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x52be24
xor al, al
jmp 0x52becb
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 0x52be4b
xor al, al
jmp 0x52becb
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 0x52be8a
xor al, al
jmp 0x52becb
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 0x52bec9
xor al, al
jmp 0x52becb
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret
Function at 0x536e80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74c
mov eax, dword [0x6fb05c]
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 0x536ed7
push 0x7c9
mov ecx, 0x70d178
call fcn.004dfa40
push eax
push 0x1d
push 0x70d178
call fcn.004e0dc0
add esp, 0xc
xor eax, eax
jmp 0x537101
mov dword [ebp - 4], 0
mov ecx, dword [0x7362dc]
mov edx, dword [ecx]
mov eax, dword [0x7362dc]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x74c], eax
lea edx, [ebp - 4]
push edx
push 0x5de790
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 0x536f22
xor eax, eax
jmp 0x537101
mov ecx, dword [ebp - 0x748]
xor edx, edx
cmp dword [ecx + 0xc], 0
setne dl
test edx, edx
jne 0x536f8d
push 0x5de7a0
mov ecx, dword [ebp - 0x748]
call fcn.005378f0
test eax, eax
jge 0x536f6f
push 0x7ca
mov ecx, 0x70d178
call fcn.004dfa40
push eax
push 0x1d
push 0x70d178
call fcn.004e0dc0
add esp, 0xc
xor eax, eax
jmp 0x537101
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 0x5370fc
lea ecx, [ebp - 0x378]
call fcn.005377e0
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.005371c0
push 0
mov ecx, 0x738de8
call fcn.0057f7c0
push eax
push str._sScreenShot
lea ecx, [ebp - 0x480]
push ecx
call fcn.0059f1bf
add esp, 0xc
push 0
lea edx, [ebp - 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x537039
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x537039
push 0x7cc
mov ecx, 0x70d178
call fcn.004dfa40
push eax
push 0x1d
push 0x70d178
call fcn.004e0dc0
add esp, 0xc
xor eax, eax
jmp 0x537101
lea eax, [ebp - 0x534]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x5de7e0
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.0059f243
add esp, 0x34
lea ecx, [ebp - 0x110]
push ecx
push 0x7cd
mov ecx, 0x70d178
call fcn.004dfa40
push eax
push 0x1d
push 0x70d178
call fcn.004e0dc0
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.00537ab0
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x5370fc
xor eax, eax
jmp 0x537101
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret
Function at 0x537e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
test eax, eax
jne 0x537eb4
mov eax, dword [ebp + 8]
push 0x5deb30
push eax
call fcn.0059f161
mov esi, eax
add esp, 8
test esi, esi
je 0x537ee8
mov edx, dword [ebp + 0xc]
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x537e90
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x537e90
push esi
sub eax, edi
push 1
push eax
push edx
call fcn.0059f02b
push esi
call fcn.0059ee60
add esp, 0x14
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
cmp eax, 1
jne 0x537ee8
mov ecx, dword [ebp + 8]
push 0x5deb34
push ecx
call fcn.0059f161
mov esi, eax
add esp, 8
test esi, esi
je 0x537ee8
mov edx, dword [ebp + 0xc]
push edx
push 0x5deb38
push esi
call fcn.005a0021
push esi
call fcn.0059ee60
add esp, 0x10
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x53b140
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.0x53b15c.10
movzx eax, byte [eax + 0x53b2c8]
jmp dword [eax*4 + 0x53b294]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x53b15c.10
call fcn.0053a4e0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0053a560
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0053a5e0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0053a650
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x53b15c.10
call fcn.0053a6c0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0053a6d0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0053a410
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je case.0x53b15c.10
push 8
call fcn.00447e20
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0053a710
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0053a900
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x70a870
call fcn.004486a0
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.0x53b15c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x53b15c.10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x53b15c.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.0053b010
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x53d520
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6fb05c]
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
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x53d544
movsx eax, byte [esi]
push eax
call fcn.005a3bba
add esp, 4
test eax, eax
je 0x53d5d5
lea ecx, [ebp - 0x104]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x53d582
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp dword [eax], edi
je 0x53d5d4
lea esp, [esp]
movsx edx, word [esi + 0xa]
mov eax, dword [eax]
push edx
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0059f7e0
mov edx, dword [ebp - 0x110]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x104]
push 0x5def10
push eax
call fcn.0059f1bf
mov ecx, dword [esi + 0xc]
inc edi
lea eax, [ecx + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x53d590
pop edi
lea edx, [ebp - 0x104]
push edx
push 0x20
push 0x719ff4
call fcn.005a3b05
mov eax, dword [0x71a038]
mov esi, dword [ebp + 0xc]
imul eax, eax, 0x58
add esp, 0xc
cmp si, word [eax + 0x735390]
jne 0x53d61b
cmp dword [0x71a018], 0
je 0x53d61b
cmp dword [0x71a034], 0
jne 0x53d61b
mov ecx, 0x71a018
call fcn.0052cb80
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x104]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebx + 0x118], eax
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 8
Function at 0x53d6c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x6fb05c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov bl, 0x53
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
cmp byte [esi + 1], bl
jb 0x53d6f9
push 0
push 0xb6
push 0x5def14
call fcn.0053ecf0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x56734661
mov dword [ebp - 0x28], 0x31313561
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x23], bl
mov dword [ebp - 0x22], 0x61637646
mov byte [ebp - 0x1e], 0x4d
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], bl
mov dword [ebp - 0x1b], 0x40215e59
mov dword [ebp - 0x17], 0x5a767324
mov dword [ebp - 0x13], 0x26317241
mov dword [ebp - 0xf], 0x2a21405e
mov dword [ebp - 0xb], 0x786673
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x53d748
sub eax, ecx
mov ecx, eax
mov eax, dword [ebp - 0x30]
xor edx, edx
lea ebx, [ecx - 1]
div ebx
lea ebx, [ecx - 1]
mov ecx, dword [ebp - 0x30]
mov eax, ecx
movzx edx, byte [ebp + edx - 0x2c]
xor byte [esi + 1], dl
xor edx, edx
div ebx
mov al, byte [ebp + edx - 0x2c]
xor byte [esi + 2], al
movzx edx, byte [edi + 0x11c]
mov byte [esi], dl
mov eax, dword [edi + 0x118]
inc byte [edi + 0x11c]
test eax, eax
je 0x53d7a2
mov edi, dword [edi + 0x114]
mov edx, dword [edi]
push ecx
push esi
push eax
mov eax, dword [edx + 0x14]
push edi
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 8
Function at 0x53ecf0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x6fb05c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x71ba38], 0
je 0x53ed4a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x5df088
push 0x71b938
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x71b938
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x53ed45
int3
jmp 0x53ef16
cmp dword [ebp + 0x10], 0
je 0x53ed72
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x5df0b4
lea eax, [ebp - 0x118]
push eax
call fcn.0059f1bf
add esp, 0x14
jmp 0x53ed8e
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x5df0cc
lea eax, [ebp - 0x118]
push eax
call fcn.0059f1bf
add esp, 0x10
mov byte [ebp - 0x218], 0
push 0xff
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.0059eb30
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.0059f1bf
add esp, 0x14
cmp dword [0x71ba90], 0
jne 0x53ef16
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 0x53ee6f
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5df0fc
lea ecx, [ebp - 0x218]
push ecx
call fcn.0059f161
add esp, 8
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
je 0x53ee6a
call fcn.0053f070
push eax
lea edx, [ebp - 0x118]
push edx
push 0x5df100
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.005a0021
add esp, 0x10
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.0059ee60
add esp, 4
jmp 0x53ef16
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 0x53ef0c
push 0x5df10c
lea eax, [ebp - 0x218]
push eax
call fcn.0059f161
add esp, 8
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0
je 0x53ef0a
call fcn.0053f070
push eax
lea ecx, [ebp - 0x118]
push ecx
push 0x5df110
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.005a0021
add esp, 0x10
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.0059ee60
add esp, 4
jmp 0x53ef16
mov dword [0x71ba90], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret
Function at 0x540170
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b8
mov eax, dword [0x6fb05c]
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.0059eb30
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x5401c8
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.0059f1bf
add esp, 0x14
jmp 0x5401e4
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.0059f1bf
add esp, 0x10
mov byte [ebp - 0x318], 0
push 0xff
push 0
lea edx, [ebp - 0x317]
push edx
call fcn.0059eb30
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.0059f1bf
add esp, 0x14
cmp dword [0x71bdd8], 0
jne 0x54036c
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 0x5402c5
mov ecx, dword [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5df1ec
lea edx, [ebp - 0x318]
push edx
call fcn.0059f161
add esp, 8
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0
je 0x5402c0
call fcn.0053f070
push eax
lea eax, [ebp - 0x218]
push eax
push 0x5df1f0
mov ecx, dword [ebp - 0x3b4]
push ecx
call fcn.005a0021
add esp, 0x10
mov edx, dword [ebp - 0x3b4]
push edx
call fcn.0059ee60
add esp, 4
jmp 0x54036c
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 0x540362
push 0x5df1fc
lea ecx, [ebp - 0x318]
push ecx
call fcn.0059f161
add esp, 8
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b8], 0
je 0x540360
call fcn.0053f070
push eax
lea edx, [ebp - 0x218]
push edx
push str._stime:_s_n
mov eax, dword [ebp - 0x3b8]
push eax
call fcn.005a0021
add esp, 0x10
mov ecx, dword [ebp - 0x3b8]
push ecx
call fcn.0059ee60
add esp, 4
jmp 0x54036c
mov dword [0x71bdd8], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret