joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ecd5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x24b]
push ebx
push eax
mov dword [ebp - 0x354], ecx
mov byte [ebp - 0x24c], bl
call fcn.0048bdc0
push esi
lea eax, [ebp - 0x34f]
push ebx
push eax
mov byte [ebp - 0x350], bl
call fcn.0048bdc0
push esi
lea eax, [ebp - 0x147]
push ebx
push eax
mov byte [ebp - 0x148], bl
call fcn.0048bdc0
push 0x3f
lea eax, [ebp - 0x43]
push ebx
push eax
mov byte [ebp - 0x44], bl
call fcn.0048bdc0
add esp, 0x30
cmp edi, ebx
jne 0x42ee5b
push 0x104
lea eax, [ebp - 0x148]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x148]
push 0x2e
push eax
call fcn.00491990
cmp eax, ebx
pop ecx
pop ecx
je 0x42ed7a
mov byte [eax], bl
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x24c]
push 0x4c89d4
push eax
call fcn.0048c2a5
lea eax, [ebp - 0x24c]
push 0x5c
push eax
call fcn.00491990
add esp, 0x14
cmp eax, ebx
je 0x42eda9
mov byte [eax], bl
lea eax, [ebp - 0x148]
push 0x5c
push eax
call fcn.00491990
cmp eax, ebx
pop ecx
pop ecx
je 0x42edcf
inc eax
push esi
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.0042ec56
add esp, 0xc
push ebx
call fcn.0048e3c1
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x35c]
push eax
mov dword [ebp - 0x358], edx
call fcn.0048c620
cmp eax, ebx
pop ecx
pop ecx
je 0x42ee0b
push eax
push str._H__M__S
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0048f814
add esp, 0x10
test eax, eax
jne 0x42ee0e
mov byte [ebp - 0x44], bl
lea eax, [ebp - 0x24c]
push str.log
push eax
call fcn.0048be50
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x350]
push str._s_s__s.log
push eax
call fcn.0048c2a5
add esp, 0x14
lea edi, [ebp - 0x350]
mov esi, dword [ebp - 0x354]
lea eax, [esi + 0x20]
push edi
push eax
call fcn.0048be40
cmp dword [esi + 0x124], ebx
pop ecx
pop ecx
jne 0x42ee94
cmp byte [ebp + 0xc], bl
je 0x42ee81
push 0x4b2e7c
jmp 0x42ee86
push 0x4b2e78
push edi
call fcn.0048fcba
pop ecx
mov dword [esi + 0x124], eax
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0048b5ab
leave
ret 8
Function at 0x42f052
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0xdc]
sub esp, 0x15c
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp + 0xd8], eax
push ebx
mov ebx, dword [ebp + 0xe8]
push esi
push edi
mov edi, dword [ebp + 0xe4]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0048bdc0
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.0048bdc0
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0048be40
add esp, 0x20
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x42f0cb
xor al, al
jmp 0x42f0dd
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov al, 1
mov ecx, dword [ebp + 0xd8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048b5ab
add ebp, 0xdc
leave
ret

Function at 0x42f217
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42f22e
test al, 0x10
je 0x42f22e
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x42f231
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42f248
test al, 0x10
jne 0x42f248
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x42f24b
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
mov ebx, dword [ebp + 0x1a0]
push esi
mov esi, dword [ebp + 0x19c]
push edi
push esi
mov dword [ebp - 0x80], esi
call fcn.0042f217
test al, al
pop ecx
jne 0x42f28c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
xor edi, edi
call fcn.0048bd30
test eax, eax
pop ecx
jle 0x42f33e
mov dword [ebp - 0x7c], ebx
lea eax, [ebp + 0x8d]
sub dword [ebp - 0x7c], eax
mov esi, 0x104
cmp edi, esi
jge 0x42f33e
push esi
lea eax, [ebp + 0x8c]
push 0
push eax
call fcn.0048bdc0
lea eax, [ebp + 0x8c]
push ebx
push eax
call fcn.0048be40
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp + edi + 0x8d]
add esp, 0x14
cmp byte [ecx + eax], 0x5c
jne 0x42f32e
push dword [ebp - 0x80]
mov byte [eax], 0
lea eax, [ebp - 0x78]
push eax
call fcn.0048be40
lea eax, [ebp - 0x78]
push 0x4caebc
push eax
call fcn.0048be50
lea eax, [ebp + 0x8c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0048be50
lea eax, [ebp - 0x78]
push eax
call fcn.0042f217
add esp, 0x1c
test al, al
jne 0x42f32e
push 0
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
inc edi
call fcn.0048bd30
cmp edi, eax
pop ecx
jl 0x42f2ae
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0048b5ab
add ebp, 0x194
leave
ret
Function at 0x42f358
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42f376
and eax, 0xfffffffe
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
movzx eax, byte [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne al
pop ebp
ret

Function at 0x42f38e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp byte [edi], 0x5c
mov ebx, 0x4ca5c8
jne 0x42f3c2
push ebx
push edi
call fcn.0048fb70
cmp eax, edi
pop ecx
pop ecx
je 0x42f3c2
inc edi
add esi, edi
cmp byte [esi], 0x5c
jne 0x42f3d7
push ebx
push esi
call fcn.0048fb70
cmp eax, esi
pop ecx
pop ecx
je 0x42f3d7
inc esi
mov al, byte [esi]
mov ebx, esi
jmp 0x42f3e4
cmp al, 0x5c
je 0x42f3e8
inc ebx
mov al, byte [ebx]
test al, al
jne 0x42f3dd
cmp byte [ebx], 0
je 0x42f432
mov esi, ebx
sub esi, edi
test esi, esi
jle 0x42f42d
push esi
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0048bf40
lea eax, [ebp - 0x108]
push eax
mov byte [ebp + esi - 0x108], 0
call fcn.0042f217
add esp, 0x10
test al, al
jne 0x42f42d
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea esi, [ebx + 1]
jmp 0x42f3d7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0048b5ab
leave
ret

Function at 0x42f443
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x30
mov eax, 0x4aaa94
call fcn.00491a26
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42f462
xor al, al
jmp 0x42f4df
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42f4dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
push 0x4c8d2c
push eax
call fcn.0042f0f5
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x3c]
push 0x4b2f28
push eax
call fcn.00424d10
add esp, 0x1c
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 0x10
jb 0x42f4b2
mov eax, dword [eax + 4]
jmp 0x42f4b5
add eax, 4
push 0x71
push str...FileModuleztFileCore.cpp
push str.bool___cdecl_MyDeleteFile_const_char__
push eax
push 0x4b2ec4
call fcn.00434d99
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004068b9
jmp 0x42f45e
mov al, 1
call fcn.00491aa9
ret
Function at 0x42f4e5
Capabilities:
Get file attributes
Move file
Set file attributes

Disassembly:
push 0x4c
mov eax, 0x4aaac9
call fcn.00491a26
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push esi
call fcn.0042f231
test al, al
pop ecx
push esi
je 0x42f58b
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x42f51c
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x42f604
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
push 0x4c8d2c
push eax
call fcn.0042f0f5
lea eax, [ebp - 0x20]
push eax
push esi
push edi
lea eax, [ebp - 0x3c]
push 0x4b2f7c
push eax
call fcn.00424d10
add esp, 0x20
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 0x10
jb 0x42f569
mov eax, dword [eax + 4]
jmp 0x42f56c
add eax, 4
push 0x93
push str...FileModuleztFileCore.cpp
push str.bool___cdecl_UpdateFile_const_char__const_char__
push eax
push 0x4b2ec4
call fcn.00434d99
lea ecx, [ebp - 0x3c]
jmp 0x42f5f4
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x42f604
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
push 0x4c8d2c
push eax
call fcn.0042f0f5
lea eax, [ebp - 0x20]
push eax
push esi
push edi
lea eax, [ebp - 0x58]
push 0x4b2f7c
push eax
call fcn.00424d10
add esp, 0x20
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 4], 1
jb 0x42f5d4
mov eax, dword [eax + 4]
jmp 0x42f5d7
add eax, 4
push 0x9d
push str...FileModuleztFileCore.cpp
push str.bool___cdecl_UpdateFile_const_char__const_char__
push eax
push 0x4b2ec4
call fcn.00434d99
lea ecx, [ebp - 0x58]
add esp, 0x14
push 0
push 1
call fcn.004068b9
xor al, al
jmp 0x42f606
mov al, 1
call fcn.00491aa9
ret

Function at 0x43071c
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp + 0x94], eax
push esi
push edi
mov edi, dword [ebp + 0xa0]
push 0x104
lea eax, [ebp - 0x70]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x430767
xor al, al
jmp 0x430790
push ebx
push esi
call fcn.00466578
pop ecx
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x78], ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4307a7
push ebx
call fcn.00466573
pop ecx
xor al, al
pop ebx
mov ecx, dword [ebp + 0x94]
pop edi
xor ecx, ebp
pop esi
call fcn.0048b5ab
add ebp, 0x98
leave
ret
and dword [ebp - 0x74], 0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x4caebc
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4307d1
xor bl, bl
push dword [ebp - 0x78]
call fcn.00466573
pop ecx
mov al, bl
jmp 0x43078f
push dword [ebp - 0x7c]
push dword [ebp - 0x74]
push edi
call fcn.0048bf40
add esp, 0xc
mov bl, 1
jmp 0x4307c4
Function at 0x431eb8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x431f59
cmp dword [ebp + 0xc], ebx
je 0x431f59
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e3978], eax
sete byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x431efe
mov byte [0x4e3974], 1
jmp 0x431f07
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [0x4e3974]
test al, al
jne 0x431ef6
mov edi, dword [ebp + 0x10]
cmp edi, ebx
jne 0x431f11
lea edi, [ebp - 8]
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x431f47
cmp byte [ebp - 1], bl
je 0x431f31
mov byte [0x4e3974], bl
mov eax, dword [ebp + 0xc]
cmp dword [edi], eax
je 0x431f40
push 2
pop eax
mov dword [esi + 0x20], eax
jmp 0x431f59
mov dword [esi + 0x20], ebx
xor eax, eax
jmp 0x431f59
cmp byte [ebp - 1], bl
je 0x431f52
mov byte [0x4e3974], bl
mov ecx, esi
call fcn.00431e87
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x431f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x431f72
cmp eax, 2
jne 0x431fa7
cmp dword [ebp + 0xc], 0
je 0x431fa7
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x431f82
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x431fa0
and dword [esi + 0x20], 0
xor eax, eax
jmp 0x431fa7
mov ecx, esi
call fcn.00431e87
pop esi
pop ebp
ret 0xc

Function at 0x431fac
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x431fbd
cmp eax, 2
je 0x431fbd
xor eax, eax
pop ecx
ret
lea eax, [esp]
push eax
push dword [ecx + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
pop ecx
ret

Function at 0x43235e
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
call fcn.0042efa9
mov edx, dword [eax]
push 0x4b3990
mov ecx, eax
call dword [edx + 4]
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4323a7
cmp eax, 0x80
je 0x4323a7
call fcn.0042efa9
mov edx, dword [eax]
push str.CThreadObjectEx
mov ecx, eax
call dword [edx + 4]
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 4], 0
call fcn.0042efa9
mov edx, dword [eax]
push 0x4b3950
mov ecx, eax
call dword [edx + 4]
pop esi
ret

Function at 0x4323ee
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x4323c7
push 0
push 0
call fcn.0048e5a4
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
setne al
pop esi
ret
Function at 0x43306a
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x24
mov eax, 0x4aaec1
call fcn.004919bd
mov eax, dword [ebp + 0x110]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x114]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x118]
mov dword [ebp - 0x30], eax
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x74]
imul edx, edx, 0x24
mov edi, ecx
add edx, ecx
cmp edi, edx
mov dword [ebp - 4], eax
je 0x4331b7
jmp 0x4330d2
xor eax, eax
cmp dword [ebp - 0x2c], eax
je 0x4330ea
push dword [ebp - 0x30]
mov eax, edi
sub eax, ecx
push 0x24
cdq
pop ecx
idiv ecx
push eax
call dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [edi]
lea eax, [ebp]
push dword [ebp - 0x28]
push 0x4b2eb4
push 0x104
push eax
call fcn.0048e3fd
push dword [edi]
push dword [ebp - 0x28]
call fcn.0042f24b
add esp, 0x1c
push edi
mov ecx, esi
call fcn.00432d8c
mov ebx, eax
test ebx, ebx
je 0x4331a1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
push 0
push eax
lea ecx, [ebp - 0x20]
call fcn.004084ef
lea ecx, [ebp - 0x20]
call fcn.00425ef0
test al, al
mov byte [ebp - 0xd], al
jne 0x43315a
xor eax, eax
cmp dword [ebp - 0x1c], eax
je 0x43314f
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebx]
push eax
push dword [ebp - 0x1c]
mov ecx, ebx
call dword [edx + 4]
lea eax, [ebp]
push 0x4b3b98
push eax
call fcn.0048fcba
cmp byte [ebp - 0xd], 0
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
jne 0x433191
xor eax, eax
cmp dword [ebp - 0x1c], eax
je 0x433180
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push dword [ebp - 0x24]
push 1
push eax
push dword [ebp - 0x1c]
call fcn.00490fa4
add esp, 0x10
push dword [ebp - 0x24]
call fcn.0048faea
push ebx
call fcn.004332c9
pop ecx
pop ecx
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x74]
imul eax, eax, 0x24
add edi, 0x24
add eax, ecx
cmp edi, eax
jne 0x4330d0
lea ecx, [ebp - 0x20]
call fcn.00407ed4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0048b5ab
add ebp, 0x108
leave
ret 0xc
Function at 0x4343b9
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x484
lea ebp, [esp - 4]
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp + 0x484], eax
push 8
mov eax, 0x4ab0e6
call fcn.004919bd
push dword [0x4dd234]
call fcn.00436590
push eax
lea eax, [ebp + 0x380]
push str._s_s.pak
push eax
call fcn.0048c2a5
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0x10
lea eax, [ebp]
push eax
lea eax, [ebp + 0x380]
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
mov edi, 0x4e39d4
je 0x434527
test ebx, ebx
je 0x434527
lea eax, [ebp + 0x2c]
push str.datas.pak
push eax
call fcn.004903b7
test eax, eax
pop ecx
pop ecx
je 0x434514
lea eax, [ebp + 0x2c]
push str.tables.pak
push eax
call fcn.004903b7
test eax, eax
pop ecx
pop ecx
je 0x434514
lea eax, [ebp + 0x2c]
push str.texture1.pak
push eax
call fcn.004903b7
test eax, eax
pop ecx
pop ecx
je 0x434514
lea eax, [ebp + 0x2c]
push str.model.pak
push eax
call fcn.004903b7
test eax, eax
pop ecx
pop ecx
je 0x434514
lea eax, [ebp + 0x2c]
push str.magic.pak
push eax
call fcn.004903b7
test eax, eax
pop ecx
pop ecx
je 0x434514
lea eax, [ebp + 0x2c]
push eax
push dword [0x4dd234]
call fcn.00436590
push eax
lea eax, [ebp + 0x178]
push 0x4b3c10
push eax
call fcn.0048c2a5
lea eax, [ebp + 0x178]
push eax
call fcn.00433402
add esp, 0x18
test eax, eax
mov dword [ebp - 0x10], eax
je 0x434514
add eax, 0x88
push eax
lea ecx, [ebp + 0x140]
call fcn.00406a31
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x140]
push eax
mov ecx, edi
call fcn.0043434b
mov ecx, eax
call fcn.00433dd6
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x140]
call fcn.004068b9
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434428
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
call ebx
push dword [0x4dd234]
call fcn.00436590
push eax
lea eax, [ebp + 0x380]
push str._s_s.zip
push eax
call fcn.0048c2a5
add esp, 0x10
lea eax, [ebp]
push eax
lea eax, [ebp + 0x380]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x4345ff
test eax, eax
je 0x4345ff
lea eax, [ebp + 0x2c]
push eax
push dword [0x4dd234]
call fcn.00436590
push eax
lea eax, [ebp + 0x27c]
push 0x4b3c10
push eax
call fcn.0048c2a5
lea eax, [ebp + 0x27c]
push eax
call fcn.00433402
add esp, 0x18
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4345ea
add eax, 0x88
push eax
lea ecx, [ebp + 0x15c]
call fcn.00406a31
lea eax, [ebp - 0x14]
push eax
xor esi, esi
lea eax, [ebp + 0x15c]
inc esi
push eax
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0043434b
mov ecx, eax
call fcn.00433dd6
or dword [ebp - 4], 0xffffffff
push 0
push esi
lea ecx, [ebp + 0x15c]
call fcn.004068b9
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434571
push dword [ebp - 0x10]
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x484]
xor ecx, ebp
call fcn.0048b5ab
add ebp, 0x488
leave
ret
jmp 0x4343b9
Function at 0x434627
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x484
lea ebp, [esp - 4]
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp + 0x484], eax
push 8
mov eax, 0x4ab0e6
call fcn.004919bd
push dword [0x4dd234]
call fcn.00436590
push eax
lea eax, [ebp + 0x380]
push str._s_s.pak
push eax
call fcn.0048c2a5
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0x10
lea eax, [ebp]
push eax
lea eax, [ebp + 0x380]
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
mov edi, 0x4e39d4
je 0x434527
test ebx, ebx
je 0x434527
lea eax, [ebp + 0x2c]
push str.datas.pak
push eax
call fcn.004903b7
test eax, eax
pop ecx
pop ecx
je 0x434514
lea eax, [ebp + 0x2c]
push str.tables.pak
push eax
call fcn.004903b7
test eax, eax
pop ecx
pop ecx
je 0x434514
lea eax, [ebp + 0x2c]
push str.texture1.pak
push eax
call fcn.004903b7
test eax, eax
pop ecx
pop ecx
je 0x434514
lea eax, [ebp + 0x2c]
push str.model.pak
push eax
call fcn.004903b7
test eax, eax
pop ecx
pop ecx
je 0x434514
lea eax, [ebp + 0x2c]
push str.magic.pak
push eax
call fcn.004903b7
test eax, eax
pop ecx
pop ecx
je 0x434514
lea eax, [ebp + 0x2c]
push eax
push dword [0x4dd234]
call fcn.00436590
push eax
lea eax, [ebp + 0x178]
push 0x4b3c10
push eax
call fcn.0048c2a5
lea eax, [ebp + 0x178]
push eax
call fcn.00433402
add esp, 0x18
test eax, eax
mov dword [ebp - 0x10], eax
je 0x434514
add eax, 0x88
push eax
lea ecx, [ebp + 0x140]
call fcn.00406a31
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x140]
push eax
mov ecx, edi
call fcn.0043434b
mov ecx, eax
call fcn.00433dd6
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x140]
call fcn.004068b9
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434428
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
call ebx
push dword [0x4dd234]
call fcn.00436590
push eax
lea eax, [ebp + 0x380]
push str._s_s.zip
push eax
call fcn.0048c2a5
add esp, 0x10
lea eax, [ebp]
push eax
lea eax, [ebp + 0x380]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x4345ff
test eax, eax
je 0x4345ff
lea eax, [ebp + 0x2c]
push eax
push dword [0x4dd234]
call fcn.00436590
push eax
lea eax, [ebp + 0x27c]
push 0x4b3c10
push eax
call fcn.0048c2a5
lea eax, [ebp + 0x27c]
push eax
call fcn.00433402
add esp, 0x18
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4345ea
add eax, 0x88
push eax
lea ecx, [ebp + 0x15c]
call fcn.00406a31
lea eax, [ebp - 0x14]
push eax
xor esi, esi
lea eax, [ebp + 0x15c]
inc esi
push eax
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0043434b
mov ecx, eax
call fcn.00433dd6
or dword [ebp - 4], 0xffffffff
push 0
push esi
lea ecx, [ebp + 0x15c]
call fcn.004068b9
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434571
push dword [ebp - 0x10]
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x484]
xor ecx, ebp
call fcn.0048b5ab
add ebp, 0x488
leave
ret
jmp 0x4343b9