Function at 0x4254a0
Capabilities:
Delete file
Get file size
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d20a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x20
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], esi
call fcn.00401510
lea ecx, [esp + 0x34]
mov dword [esp + 0x164], esi
call fcn.0041b1a0
lea ecx, [esp + 0x40]
mov byte [esp + 0x164], 1
call fcn.0041b1a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x164], 2
call fcn.0041b1a0
lea ecx, [esp + 0x58]
mov byte [esp + 0x164], 3
call fcn.0041b1a0
add edi, 0x11c
lea ecx, [esp + 0x24]
push edi
mov byte [esp + 0x168], 4
call fcn.00401750
push 0x20
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 5
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
call fcn.00401510
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
push str.Graphic_lib
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 6
mov word [eax], si
call fcn.00401610
mov eax, dword [esp + 0x24]
mov ebx, 1
cmp eax, ebx
je 0x4255a2
push 0x5c
lea ecx, [esp + 0x50]
call fcn.00405b40
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
call fcn.004018e0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
push str.GraphicLib.xml
lea ecx, [esp + 0x18]
mov word [edx], si
call fcn.00401610
cmp dword [esp + 0x1c], esi
je 0x42560a
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x38]
mov word [eax], si
call fcn.004018e0
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], esi
push 0x2e
lea ecx, [esp + 0x38]
mov word [edx], si
call fcn.004015e0
cmp eax, esi
jle 0x425624
lea ecx, [esp + 0x40]
inc eax
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401350
jmp 0x425624
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], esi
mov word [edx], si
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], esi
mov word [eax], si
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x60], esi
lea edx, [esp + 0x28]
mov word [ecx], si
push edx
lea ecx, [esp + 0x5c]
call fcn.004018e0
push 0x3a
lea ecx, [esp + 0x5c]
call fcn.00405b40
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x58]
push eax
call fcn.004018e0
mov ecx, dword [esp + 0x34]
cmp word [ecx], si
je 0x425678
push 0x5c
lea ecx, [esp + 0x5c]
call fcn.00405b40
lea edx, [esp + 0x34]
lea ecx, [esp + 0x58]
push edx
call fcn.004018e0
mov eax, dword [esp + 0x58]
push esi
push esi
push 3
push esi
push esi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x42572f
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.005b449a
mov edi, eax
add esp, 4
cmp edi, esi
jne 0x4256f6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x5c]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x54]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x44]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x3c]
push eax
call fcn.005b44c3
add esp, 0x18
jmp 0x425bd0
lea ecx, [esp + 0x20]
push esi
push ecx
push ebx
push edi
push ebp
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x64]
push ebx
push edi
lea ecx, [edx + 0xdd0]
call fcn.0054b5a0
push edi
call fcn.005b44c3
add esp, 4
mov ebx, 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
push 0x6381c8
lea ecx, [esp + 0x18]
mov word [eax], si
call fcn.00401610
cmp dword [esp + 0x1c], esi
je 0x425797
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], esi
lea edx, [esp + 0x14]
mov word [ecx], si
push edx
lea ecx, [esp + 0x38]
call fcn.004018e0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], esi
push 0x2e
lea ecx, [esp + 0x38]
mov word [eax], si
call fcn.004015e0
cmp eax, esi
jle 0x4257b1
lea ecx, [esp + 0x40]
inc eax
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401350
jmp 0x4257b1
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], esi
mov word [edx], si
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], esi
mov word [eax], si
lea ecx, [esp + 0x80]
call fcn.0052f0e0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x60], esi
lea edx, [esp + 0x28]
mov byte [esp + 0x164], 7
mov word [ecx], si
push edx
lea ecx, [esp + 0x5c]
call fcn.004018e0
push 0x3a
lea ecx, [esp + 0x5c]
call fcn.00405b40
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x58]
push eax
call fcn.004018e0
mov ecx, dword [esp + 0x34]
cmp word [ecx], si
je 0x425819
push 0x5c
lea ecx, [esp + 0x5c]
call fcn.00405b40
lea edx, [esp + 0x34]
lea ecx, [esp + 0x58]
push edx
call fcn.004018e0
mov eax, dword [esp + 0x58]
push esi
push eax
lea ecx, [esp + 0x88]
call fcn.0052f1a5
cmp eax, esi
je 0x4258bb
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 8
lea ecx, [esp + 0x80]
call fcn.0052f3cb
mov ecx, dword [0x87a768]
mov edi, eax
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x80]
push edx
mov byte [esp + 0x168], bl
call fcn.0052f49a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 9
call fcn.005b48a8
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], bl
call fcn.005b4761
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call fcn.005b4ba6
push eax
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x164], 7
call fcn.005b4761
cmp edi, esi
jne 0x42583b
mov ebx, 1
lea ecx, [esp + 0x80]
call fcn.0052f15b
mov ecx, dword [esp + 0x64]
push 0xffffffffffffffff
push esi
lea edi, [ecx + 0xf78]
mov ecx, edi
mov dword [esp + 0x18], edi
call fcn.00429bf0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
push str.GraphicLibName.para
lea ecx, [esp + 0x18]
mov word [edx], si
call fcn.00401610
cmp dword [esp + 0x1c], esi
je 0x425947
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x38]
mov word [eax], si
call fcn.004018e0
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], esi
push 0x2e
lea ecx, [esp + 0x38]
mov word [edx], si
call fcn.004015e0
cmp eax, esi
jle 0x425961
lea ecx, [esp + 0x40]
inc eax
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401350
jmp 0x425961
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], esi
mov word [edx], si
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], esi
mov word [eax], si
lea ecx, [esp + 0x70]
call fcn.005b57f3
lea ecx, [esp + 0x28]
mov byte [esp + 0x164], 0xa
push ecx
lea ecx, [esp + 0x5c]
call fcn.00405c40
push 0x3a
lea ecx, [esp + 0x5c]
call fcn.00405b40
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x58]
push edx
call fcn.004018e0
mov eax, dword [esp + 0x34]
cmp word [eax], si
je 0x4259bb
push 0x5c
lea ecx, [esp + 0x5c]
call fcn.00405b40
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004018e0
mov edx, dword [esp + 0x58]
push esi
push esi
push edx
lea ecx, [esp + 0x7c]
call fcn.005b59a5
test eax, eax
jne 0x425a38
lea ecx, [esp + 0x70]
mov byte [esp + 0x164], 7
call fcn.005b58e8
lea ecx, [esp + 0x80]
mov byte [esp + 0x164], 6
call fcn.0052f11f
mov eax, dword [esp + 0x14]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x54]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x4c]
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x44]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x3c]
push edx
call fcn.005b44c3
add esp, 0x18
jmp 0x425bd0
lea eax, [esp + 0x6c]
push 4
push eax
lea ecx, [esp + 0x78]
call fcn.005b5ac2
mov ecx, dword [esp + 0x64]
xor ebx, ebx
add ecx, 0xdd0
mov dword [esp + 0x20], ebx
call fcn.0054a8e0
mov ebp, eax
cmp ebp, esi
je 0x425a94
push esi
mov ecx, ebp
call fcn.00547260
mov edi, eax
cmp edi, esi
je 0x425a90
mov ecx, dword [edi]
call fcn.0054a0f0
test eax, eax
je 0x425a7d
inc ebx
push esi
push edi
mov ecx, ebp
call fcn.00547400
mov edi, eax
cmp edi, esi
jne 0x425a71
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x10]
mov edx, dword [0x87a768]
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x6c]
xor ebp, ebp
cmp eax, esi
mov byte [esp + 0x164], 0xb
jle 0x425b4b
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x9c]
push 0x40
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0xe0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x74]
push eax
call fcn.005b5ac2
lea ecx, [esp + 0xdc]
push 0x40
push ecx
lea edx, [esp + 0xa4]
push 0x40
push edx
push esi
push esi
call ebx
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x68]
push eax
push 0x62353c
push ecx
call fcn.005ad17a
add esp, 8
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call fcn.005b44ce
mov ecx, dword [esp + 0x14]
call fcn.00429480
mov eax, dword [esp + 0x6c]
inc ebp
cmp ebp, eax
jl 0x425aba
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x70]
call fcn.005b5bc0
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jge 0x425b79
sub ebx, eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x87f498
call fcn.005b47d5
mov ecx, edi
call fcn.00429480
dec ebx
jne 0x425b5e
lea ecx, [esp + 0x68]
mov byte [esp + 0x164], 0xa
call fcn.005b4761
lea ecx, [esp + 0x70]
mov byte [esp + 0x164], 7
call fcn.005b58e8
lea ecx, [esp + 0x80]
mov byte [esp + 0x164], 6
call fcn.0052f11f
mov eax, dword [esp + 0x14]
push eax
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x164], 0xffffffff
call fcn.004012d0
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x158
ret