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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x42b635
push 3
mov ecx, dword [ebp - 4]
call fcn.0042c030
mov dword [ebp - 0x10], eax
jmp 0x42b63c
mov dword [ebp - 0x10], 0
movsx eax, byte [0x611ce8]
test eax, eax
je 0x42b652
push 0x611ce8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
movsx ecx, byte [0x611de8]
test ecx, ecx
je 0x42b668
push 0x611de8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret

Function at 0x42b772
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [ebp + 8]
push eax
call fcn.005c5a20
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.005c5b24
add esp, 8
push 0x612de8
mov eax, dword [ebp - 4]
lea ecx, [ebp + eax - 0x10b]
push ecx
call fcn.005c5b24
add esp, 8
push 0
push 0x8000
lea edx, [ebp - 0x108]
push edx
call fcn.005c6907
add esp, 0xc
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x42b7df
jmp 0x42b8fc
mov eax, dword [ebp - 0x114]
push eax
call fcn.005c663f
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.005c6c9e
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.005c66c9
add esp, 0xc
mov edx, dword [ebp - 0x114]
push edx
call fcn.005c655f
add esp, 4
mov dword [ebp - 0x10c], 0x612dec
mov eax, dword [ebp - 0x10c]
push eax
call fcn.005c5a20
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 0
jmp 0x42b869
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x110]
cmp edx, dword [ebp - 0x11c]
jge 0x42b8a5
mov eax, dword [ebp - 0x110]
cdq
idiv dword [ebp - 0x118]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x10c]
mov al, byte [eax]
sub al, byte [ecx + edx]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x110]
mov byte [ecx], al
jmp 0x42b85a
push 0x612e98
mov edx, dword [ebp + 8]
push edx
call fcn.005c6515
add esp, 8
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x42b8f0
mov eax, dword [ebp - 0x120]
push eax
push 1
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.005c7820
add esp, 0x10
mov eax, dword [ebp - 0x120]
push eax
call fcn.005c642b
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.005c6dd8
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x432237
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov dword [ebp - 0x1c4], ecx
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0x10c]
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 0x10c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
cmp dword [ebp - 0x64], 0xffff0101
jae 0x43229e
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx + 0x1378], 0
mov edx, dword [ebp - 0x1c4]
mov dword [edx + 0x1384], 0x40
mov eax, 1
jmp 0x432401
mov eax, dword [ebp - 0x1c4]
cmp dword [eax + 0x548], 0
jne 0x4323fc
mov dword [ebp - 0x134], 0
jmp 0x4322cc
mov ecx, dword [ebp - 0x134]
add ecx, 1
mov dword [ebp - 0x134], ecx
cmp dword [ebp - 0x134], 6
jge 0x4323fc
mov dword [ebp - 0x1c0], 0
mov edx, dword [ebp - 0x134]
add edx, 1
push edx
push str.Shaderpseffect_d.bin
lea eax, [ebp - 0x1b8]
push eax
call fcn.005c5b24
add esp, 0xc
push 0
push 0x8000
lea ecx, [ebp - 0x1b8]
push ecx
call fcn.005c6907
add esp, 0xc
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0xffffffff
jne 0x432344
mov edx, dword [ebp - 0x134]
add edx, 1
push edx
push str.Read_PixelShader__d_Error..__r_n
call fcn.00438421
add esp, 8
xor eax, eax
jmp 0x432401
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.005c663f
add esp, 4
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call fcn.0058a1ec
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c0]
push eax
call dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.005c66c9
add esp, 0xc
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x1c4]
lea ecx, [eax + edx*4 + 0x548]
push ecx
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c0]
push ecx
call dword [eax + 0xc]
push eax
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx + 0x10c]
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0x10c]
mov ecx, dword [edx]
push eax
call dword [ecx + 0x1a8]
test eax, eax
jge 0x4323e5
xor eax, eax
jmp 0x432401
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c0]
push ecx
call dword [eax + 8]
jmp 0x4322bd
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x438310
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x100]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x100]
push edx
push 0x613378
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x613380
lea ecx, [ebp - 0x200]
push ecx
call fcn.005c6515
add esp, 8
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
je 0x438394
mov edx, dword [ebp - 0x204]
push edx
call fcn.005c642b
add esp, 4
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x80
push 0x8119
mov ecx, dword [ebp + 8]
push ecx
call fcn.005c6907
add esp, 0xc
mov dword [0x636e58], eax
cmp dword [0x636e58], 0xffffffff
jne 0x4383c4
xor al, al
jmp 0x4383ed
push str.___________________________________________________________________________r_n
call fcn.00438522
add esp, 4
push str.____Logging_System_turn_on._r_n
call fcn.00438522
add esp, 4
push str.____mark__r_n
call fcn.00438522
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x47ea37
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push edi
mov dword [ebp - 0x4c], ecx
cmp dword [ebp + 8], 0
je 0x47ea4f
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x47ea56
xor eax, eax
jmp 0x47ec60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
shl edx, 0x10
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xc]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.0047ed6c
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x98], 1
cmp dword [ebp - 4], 0xffffffff
jne 0x47ec3e
mov ecx, dword [ebp - 0x4c]
call fcn.0047edb9
mov edx, dword [ebp + 8]
mov dword [edx + 0x90], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x90], 0xffffffff
jne 0x47eabd
mov ecx, dword [ebp - 0x4c]
call fcn.0047ee02
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x90], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x90], 0xffffffff
je 0x47ec3c
mov al, byte [0x63a364]
mov byte [ebp - 0x48], al
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x47]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 0x9c]
cmp edx, 0x20e
je 0x47eb32
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0x9c]
cmp ecx, 0x211
je 0x47eb32
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x9c]
cmp eax, 0x214
je 0x47eb32
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 0x9c]
cmp edx, 0x217
jne 0x47eb39
mov dword [ebp - 8], 1
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0x9c]
cmp ecx, 0x20f
je 0x47eb80
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x9c]
cmp eax, 0x212
je 0x47eb80
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 0x9c]
cmp edx, 0x215
je 0x47eb80
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0x9c]
cmp ecx, 0x218
jne 0x47eb87
mov dword [ebp - 8], 2
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x9c]
cmp eax, 0x210
je 0x47ebcd
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 0x9c]
cmp edx, 0x213
je 0x47ebcd
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0x9c]
cmp ecx, 0x216
je 0x47ebcd
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x9c]
cmp eax, 0x219
jne 0x47ebd4
mov dword [ebp - 8], 3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.0047ece0
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
call fcn.005c5930
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
shl ecx, 0x10
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x90]
imul edx, edx, 0xc
mov eax, dword [0x9a21b8]
mov dword [eax + edx + 8], ecx
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x43b241
call fcn.005c8298
add esp, 0xc
jmp 0x47ec5b
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x9c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.0047ec67
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4af3a0
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
lea eax, [ebp - 0x24]
push eax
push 0x61548c
call fcn.005c7a11
add esp, 8
test eax, eax
jne 0x4af3e8
push 0x61549c
lea ecx, [ebp - 0x26c]
push ecx
call fcn.005c5b24
add esp, 8
push 0x6154ac
lea edx, [ebp - 0x16c]
push edx
call fcn.005c5b24
add esp, 8
jmp 0x4af41a
mov dword [0x63dae4], 1
push str.PWYDLauncher.exe
lea eax, [ebp - 0x26c]
push eax
call fcn.005c5b24
add esp, 8
push str.WYDLauncher.exe
lea ecx, [ebp - 0x16c]
push ecx
call fcn.005c5b24
add esp, 8
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x16c]
push eax
call fcn.005c7a11
add esp, 8
test eax, eax
jne 0x4af48c
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.005c7a11
add esp, 8
test eax, eax
jne 0x4af45a
push 0x80
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
lea ecx, [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x16c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 1
jne 0x4af48c
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret

Function at 0x4b4bb6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0xa58], 0
jne 0x4b4bea
push 0x1c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0xa58], eax
call sub.IMM32.dll_ImmCreateContext
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x444]
push ecx
call sub.IMM32.dll_ImmAssociateContext
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x450], eax
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x450]
push ecx
push 0
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x444]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x444]
push eax
call sub.IMM32.dll_ImmReleaseContext
push recv
push 0
push 0x281
mov ecx, dword [0x277c018]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x444]
push ecx
call sub.IMM32.dll_ImmGetDefaultIMEWnd
mov dword [ebp - 0x88], eax
push 0x80
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4b58cf
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x444]
push ecx
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4b58f2
jmp 0x4b5964
mov edx, dword [ebp + 0xc]
and edx, 8
test edx, edx
je 0x4b592d
push 0x200
mov eax, dword [ebp - 0xc]
add eax, 0x454
push eax
push 8
mov ecx, dword [ebp - 4]
push ecx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax + 0x454], 0
jmp 0x4b5937
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x454], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x444]
push ecx
call sub.IMM32.dll_ImmReleaseContext
mov edx, dword [ebp - 0xc]
add edx, 0x454
push edx
mov eax, dword [0x277c024]
mov edx, dword [eax]
mov ecx, dword [0x277c024]
call dword [edx + 0x20]
mov esp, ebp
pop ebp
ret 8
Function at 0x4ba3a2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x9a2144], 0
je 0x4ba3b5
xor eax, eax
jmp 0x4ba5aa
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x9a2148], eax
cmp dword [0x9a2148], 0
jne 0x4ba3f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadLibrary___dbghelp.dll___:_GetLastError___lu_n
call fcn.005c898e
add esp, 8
mov dword [0x9a2144], 0
mov eax, 1
jmp 0x4ba5aa
push str.SymCleanup
mov eax, dword [0x9a2148]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a2170], eax
push str.SymFunctionTableAccess64
mov ecx, dword [0x9a2148]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a2174], eax
push str.SymGetLineFromAddr64
mov edx, dword [0x9a2148]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a2178], eax
push str.SymGetModuleBase64
mov eax, dword [0x9a2148]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a217c], eax
push str.SymGetModuleInfo64
mov ecx, dword [0x9a2148]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a2180], eax
push str.SymGetOptions
mov edx, dword [0x9a2148]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a2184], eax
push str.SymGetSymFromAddr64
mov eax, dword [0x9a2148]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a2188], eax
push str.SymInitialize
mov ecx, dword [0x9a2148]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a218c], eax
push str.SymSetOptions
mov edx, dword [0x9a2148]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a2194], eax
push str.StackWalk64
mov eax, dword [0x9a2148]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a2198], eax
push str.UnDecorateSymbolName
mov ecx, dword [0x9a2148]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a219c], eax
push str.SymLoadModule64
mov edx, dword [0x9a2148]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9a2190], eax
cmp dword [0x9a2170], 0
je 0x4ba569
cmp dword [0x9a2174], 0
je 0x4ba569
cmp dword [0x9a217c], 0
je 0x4ba569
cmp dword [0x9a2180], 0
je 0x4ba569
cmp dword [0x9a2184], 0
je 0x4ba569
cmp dword [0x9a2188], 0
je 0x4ba569
cmp dword [0x9a218c], 0
je 0x4ba569
cmp dword [0x9a2194], 0
je 0x4ba569
cmp dword [0x9a2198], 0
je 0x4ba569
cmp dword [0x9a219c], 0
je 0x4ba569
cmp dword [0x9a2190], 0
jne 0x4ba593
push str.GetProcAddress__:_some_required_function_not_found._n
call fcn.005c898e
add esp, 4
mov eax, dword [0x9a2148]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x9a2144], 0
mov eax, 1
jmp 0x4ba5aa
mov dword [0x9a2144], 1
push 0x9a2150
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
pop ebp
ret
Function at 0x527cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1e79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00534fc0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.00438170
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x5f5ebc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x61b3e4]
mov dword [ecx + 0x30], edx
push 0x68
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x34
push eax
call fcn.005c5b80
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], 0x3a83126f
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 0x3a83126f
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], 0x3a83126f
mov edx, dword [ebp - 0x10]
add edx, 0x58
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x48
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x38
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0xc], ecx
mov edx, dword [0x6f0ab0]
cmp dword [edx + 0x24], 0x7531
jne 0x527de4
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x30], 6
jne 0x527dd5
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x80], 0x40e00000
jmp 0x527de2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x80], 0x40a00000
jmp 0x527df1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x80], 0x40a00000
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x53a4dc
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x104]
push ecx
call fcn.005c5a20
add esp, 4
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x53a525
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x53a54a
mov ecx, dword [ebp - 4]
movsx edx, byte [ebp + ecx - 0x104]
cmp edx, 0x5c
jne 0x53a548
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x104], 0
jmp 0x53a54a
jmp 0x53a51c
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x53aca9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push esi
push edi
mov dword [ebp - 0xc], 0xde2b0
mov dword [ebp - 0x10], 0xfb9608
mov dword [ebp - 0x18], 0
push 0x622364
push str..ItemList.bin
call fcn.005c6515
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x53acff
push 0
push 0x622378
push str.Cant_read_ItemList.bin
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x53aeb9
mov eax, dword [ebp - 0x1c]
push eax
push 1
push 0xde2b0
push 0xfb9608
call fcn.005c8181
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
push 4
lea edx, [ebp - 0x18]
push edx
call fcn.005c8181
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005c642b
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
push 0xfb9608
call fcn.0053a65b
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x381150c
jmp 0x53ad5b
mov dword [ebp - 0x14], 0
jmp 0x53ad6d
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jge 0x53ad8b
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
xor edx, 0x5a
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
mov byte [eax], dl
jmp 0x53ad64
push 0
push 0x8000
push str..ExtraItem.bin
call fcn.005c6907
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x53adad
jmp 0x53aeb4
mov ecx, 1
test ecx, ecx
je 0x53ae27
push 0x8e
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.005c66c9
add esp, 0xc
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x8e
jae 0x53ade2
jmp 0x53ae27
mov cx, word [ebp - 0x12c]
mov word [ebp - 0x28], cx
movsx edx, word [ebp - 0x28]
test edx, edx
jle 0x53ae00
movsx eax, word [ebp - 0x28]
cmp eax, 0x1964
jl 0x53ae02
jmp 0x53adad
lea ecx, [ebp - 0x12a]
mov dword [ebp - 0x2c], ecx
mov esi, dword [ebp - 0x2c]
movsx edi, word [ebp - 0x28]
imul edi, edi, 0x8c
add edi, 0xfb9608
mov ecx, 0x23
rep movsd dword es:[edi], dword [esi]
jmp 0x53adad
mov edx, dword [ebp - 4]
push edx
call fcn.005c655f
add esp, 4
mov dword [ebp - 0x24], 0
jmp 0x53ae45
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0xc]
jge 0x53ae63
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x24]
movsx eax, byte [edx]
xor eax, 0x5a
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x24]
mov byte [ecx], al
jmp 0x53ae3c
mov edx, dword [ebp - 0xc]
push edx
push 0xfb9608
call fcn.0053a65b
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x381150c
jmp 0x53ae84
mov dword [ebp - 0x24], 0
jmp 0x53ae96
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0xc]
jge 0x53aeb4
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x24]
movsx eax, byte [edx]
xor eax, 0x5a
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x24]
mov byte [ecx], al
jmp 0x53ae8d
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret