Function at 0x424ef0
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d2009
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], esi
call fcn.0041b1a0
xor ebp, ebp
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa0], ebp
call fcn.0041b1a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 1
call fcn.0041b1a0
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0], 2
call fcn.0041b1a0
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0], 3
call fcn.0041b1a0
add esi, 0x11c
lea ecx, [esp + 0x2c]
push esi
mov byte [esp + 0xa4], 4
call fcn.00401750
lea eax, [esp + 0x30]
lea ecx, [esp + 0x60]
push eax
mov dword [esp + 0xa4], 5
call fcn.00405c40
push 0x3a
lea ecx, [esp + 0x64]
call fcn.00405b40
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x64]
call fcn.004018e0
mov edx, dword [esp + 0x3c]
cmp word [edx], bp
je 0x424fcf
push 0x5c
lea ecx, [esp + 0x64]
call fcn.00405b40
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x60]
push eax
call fcn.004018e0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x24], ebp
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
call fcn.00401510
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x20]
mov cx, word [edx]
cmp cx, bp
je 0x42500a
add edx, 2
mov word [eax], cx
add eax, 2
mov cx, word [edx]
cmp cx, bp
jne 0x424ff9
mov word [eax], bp
mov edi, dword [esp + 0x20]
sub eax, edi
sar eax, 1
mov dword [esp + 0x28], eax
push 0x20
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 6
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
call fcn.00401510
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
push str.Config.xml
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 7
mov word [edx], bp
call fcn.00401610
cmp dword [esp + 0x1c], ebp
je 0x4250a1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0x30], 1
call fcn.00405c40
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], ebp
push 0x2e
mov word [ecx], bp
lea ecx, [esp + 0x40]
call fcn.004015e0
cmp eax, ebp
jle 0x4250bb
lea edx, [esp + 0x48]
inc eax
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.00401350
jmp 0x4250bb
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x44], ebp
mov word [eax], bp
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], ebp
mov word [ecx], bp
lea edx, [esp + 0x30]
lea ecx, [esp + 0x60]
push edx
call fcn.00405c40
push 0x3a
lea ecx, [esp + 0x64]
call fcn.00405b40
lea eax, [esp + 0x54]
lea ecx, [esp + 0x60]
push eax
call fcn.004018e0
mov ecx, dword [esp + 0x3c]
cmp word [ecx], bp
je 0x425104
push 0x5c
lea ecx, [esp + 0x64]
call fcn.00405b40
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x60]
push edx
call fcn.004018e0
mov eax, dword [esp + 0x60]
push ebp
push 0x8000000
push 3
push ebp
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x425174
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x24]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x68]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x58]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x50]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005b44c3
add esp, 0x1c
jmp 0x425487
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x56
ja 0x4251d1
mov edx, dword [esp + 0x14]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x24]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x68]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x60]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x58]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x50]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x48]
push edx
call fcn.005b44c3
add esp, 0x1c
jmp 0x425487
sub esi, 0x56
lea ecx, [esp + 0x10]
push esi
push 0x20
call fcn.005acc00
lea eax, [esp + 0x80]
push ebp
push eax
mov ebx, 8
push esi
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.005b4ba6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.005b4bf6
cmp esi, dword [esp + 0x80]
je 0x425282
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 7
call fcn.005b4761
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x24]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x68]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x58]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x50]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005b44c3
add esp, 0x1c
jmp 0x425487
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x10]
push esi
push edx
call fcn.00424eb0
xor ecx, ecx
push eax
mov dword [esp + 0x88], ecx
lea edx, [esp + 0x88]
mov dword [esp + 0x8c], ecx
push str._08x
mov dword [esp + 0x94], ecx
push edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
call fcn.00530115
add esp, 0xc
lea ecx, [esp + 0x6c]
call fcn.005b57f3
lea eax, [esp + 0x30]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xa4], 9
call fcn.00405c40
push 0x3a
lea ecx, [esp + 0x64]
call fcn.00405b40
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x64]
call fcn.004018e0
mov edx, dword [esp + 0x3c]
cmp word [edx], bp
je 0x425326
push 0x5c
lea ecx, [esp + 0x64]
call fcn.00405b40
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x60]
push eax
call fcn.004018e0
mov ecx, dword [esp + 0x60]
push ebp
push ebp
push ecx
lea ecx, [esp + 0x78]
call fcn.005b59a5
test eax, eax
jne 0x42536f
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa0], bl
call fcn.005b58e8
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 7
call fcn.005b4761
mov edx, dword [esp + 0x14]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x24]
push eax
jmp 0x42546b
add esi, 0x56
push esi
call fcn.005b449a
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x4253b6
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa0], bl
call fcn.005b58e8
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 7
call fcn.005b4761
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x24]
push edx
jmp 0x42546b
push esi
push edi
lea ecx, [esp + 0x74]
call fcn.005b5ac2
lea ecx, [esp + 0x6c]
call fcn.005b5bc0
push ebp
push 1
push ebp
lea ecx, [esp + 0x38]
call fcn.00405900
mov ecx, eax
call fcn.00405830
push eax
lea ecx, [esp + 0x78]
call fcn.005b59a5
test eax, eax
je 0x42543b
push ebp
lea ecx, [esp + 0x30]
call fcn.00405900
mov ecx, eax
call fcn.00405830
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esi, 0x15
xor eax, eax
lea ecx, [edi + esi]
mov dl, byte [esp + eax + 0x84]
mov byte [ecx + eax], dl
inc eax
cmp eax, ebx
jl 0x42540c
add esi, 0x15
lea ecx, [esp + 0x6c]
push esi
push edi
call fcn.005b5afc
lea ecx, [esp + 0x6c]
call fcn.005b5bc0
push edi
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa0], bl
call fcn.005b58e8
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 7
call fcn.005b4761
mov eax, dword [esp + 0x14]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005b44c3
add esp, 8
lea ecx, [esp + 0x2c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.004012d0
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret