Function at 0x30024ee0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov al, byte [0x30334f34]
sub esp, 0x174
test al, al
je 0x30024ef8
mov al, byte [0x303000d0]
test al, al
jne 0x30024f01
xor eax, eax
add esp, 0x174
ret
push ebx
push str.dbghelp.dll
mov byte [0x303000d0], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
cmp eax, ebx
jne 0x30024f24
xor eax, eax
pop ebx
add esp, 0x174
ret
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x30024f1a
push ebp
push esi
push edi
push 0x30334e30
mov dword [esp + 0x24], ebx
call fcn.30024bd0
push str.player_crash_log___.mdmp
mov ebp, eax
push 0x104
mov edi, 0x30334f34
push 0x30334e30
sub edi, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.30024c90
add esp, 0x10
lea eax, [esp + 0x44]
push eax
push 0x30334e30
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x30025051
mov edi, edi
mov edx, 0x104
lea eax, [esp + 0x70]
lea esp, [esp]
mov cl, byte [eax]
test cl, cl
je 0x30024fb8
test edx, edx
jle 0x30024fb8
inc eax
cmp cl, 0x28
je 0x30024fb7
dec edx
test eax, eax
jne 0x30024fa0
jmp 0x30024fb8
dec eax
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
mov esi, 0x104
je 0x30025011
mov dl, byte [ecx]
test dl, dl
je 0x30024fea
cmp dl, 0x30
jl 0x30024fea
cmp dl, 0x39
jg 0x30024fea
test esi, esi
jle 0x30024fea
movsx edx, dl
inc ecx
lea eax, [eax + eax*4]
dec esi
test ecx, ecx
lea eax, [edx + eax*2 - 0x30]
jne 0x30024fc6
test eax, eax
jle 0x30025011
mov edx, dword [esp + 0x14]
inc edx
test ebx, ebx
mov dword [esp + 0x14], edx
je 0x30024fff
cmp eax, ebx
jge 0x30025001
mov ebx, eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x3002500d
cmp eax, ecx
jle 0x30025011
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x30024f90
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x14], 5
jl 0x30025051
push ebx
push edi
push ebp
call fcn.30024c10
add esp, 0xc
push 0x30334e30
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x10]
inc eax
push eax
push edi
push ebp
call fcn.30024c10
add esp, 0xc
push 0
push 0x80
mov edi, 1
push edi
push 0
push 0
push 0xc0000000
push 0x30334e30
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x3002516b
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x2c]
push str.external.dll
push str.build_module
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], 0x30024a20
mov dword [esp + 0x2c], edx
call fcn.30024e00
push 0x30293a94
push str.build_version
call fcn.30024e00
push str.r127
push str.build_code
call fcn.30024e00
lea eax, [esp + 0x50]
mov dword [esp + 0x34], eax
mov al, byte [0x30334f3c]
add esp, 0x18
test al, al
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], 0xa
je 0x3002510f
mov ecx, dword [0x30334f38]
mov dword [esp + 0x3c], ecx
jmp 0x30025117
mov dword [esp + 0x3c], 0x1000
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0x140
push esi
mov dword [esp + 0x54], 0x30333e30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [esp + 0x44]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x3002516f
push 0x30334e30
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
mov edi, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret