Function at 0x425b40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5327f9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x148
mov eax, dword [0x5949f0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x110], ecx
mov edx, dword [ebx + 8]
xor esi, esi
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x100], edx
mov dword [ebp - 4], esi
call fcn.004262e0
test al, al
je 0x4262bb
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x5c], esi
movq qword [ebp - 0x58], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
and eax, 0xfffffe00
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
xor edi, edi
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0xfc], edi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x425d61
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x28], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
and eax, 0xfffffe00
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
lea eax, [edi + edi*2]
mov edx, dword [ebp - 0x100]
sub esp, 0x18
mov edi, esp
mov dword [ebp - 0x10c], esp
mov ecx, dword [edx]
mov byte [edi + 8], 4
lea ecx, [ecx + eax*8]
or dword [edi + 8], 0x100
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ecx + 0x14], 0x10
mov edx, dword [ecx + 0x10]
jb 0x425c7e
mov ecx, dword [ecx]
call fcn.00436ed0
mov dword [edi], eax
push 0x586134
push str.Path
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.004386a0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00437980
sub esp, 0x18
mov edx, 3
mov edi, esp
mov dword [ebp - 0x10c], esp
mov ecx, 0x586148
mov byte [edi + 8], 4
or dword [edi + 8], 0x100
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00436ed0
mov dword [edi], eax
push 0x58613e
push str.Status
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004386a0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00437980
push 0x58612f
push str.DelFilePath
lea ecx, [ebp - 0x68]
call fcn.004386a0
sub esp, 0x18
mov edi, eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10c], esp
mov ecx, esp
push eax
call fcn.00437720
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.004381a0
push eax
mov ecx, edi
call fcn.00438230
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00437980
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.004378c0
mov edi, dword [ebp - 0xfc]
inc edi
jmp 0x425bd8
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x425d7e
mov eax, dword [ecx]
jmp 0x425d80
mov eax, ecx
mov edi, dword [ebp - 0x110]
push 0xffffffffffffffff
push 0
push edi
mov byte [eax], 0
call fcn.004230b0
call fcn.00427750
add esp, 0x18
test eax, eax
je 0x42628b
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0xfc], 0
jb 0x425db7
mov eax, dword [edi]
jmp 0x425db9
mov eax, edi
push 0x586120
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00511048
add esp, 0xc
push 2
push 0
push dword [ebp - 0xfc]
call fcn.00512df8
add esp, 0xc
push dword [ebp - 0xfc]
call fcn.00512b33
add esp, 4
mov dword [ebp - 0x10c], eax
inc eax
mov dword [ebp - 0x114], eax
push eax
call fcn.0050adb3
add esp, 4
mov edi, eax
push dword [ebp - 0x114]
push 0
push edi
call fcn.0050da00
add esp, 0xc
push 0
push 0
push dword [ebp - 0xfc]
call fcn.00512df8
add esp, 0xc
push dword [ebp - 0xfc]
push dword [ebp - 0x10c]
push 1
push edi
call fcn.00512fdf
push dword [ebp - 0xfc]
call fcn.00510b88
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425e50
sub ecx, edx
mov dword [ebp - 0x24], 0xf
push ecx
push edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], al
call fcn.00422fb0
push edi
mov byte [ebp - 4], 8
call fcn.0050a8f1
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x42619b
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x74], 0
movq qword [ebp - 0x70], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
and eax, 0xfffffe00
mov dword [ebp - 0x78], eax
push 0x74
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0xa
push 0
push eax
call fcn.0050da00
add esp, 0xc
lea ecx, [ebp - 0xf8]
call fcn.00430e20
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov dword [ebp - 0x130], 0xf
cmovae edx, dword [ebp - 0x38]
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
cmp byte [edx], 0
jne 0x425f12
xor ecx, ecx
jmp 0x425f20
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425f17
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x144]
call fcn.00422fb0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xd0]
call fcn.004230b0
cmp dword [ebp - 0xbc], 0x10
lea ecx, [ebp - 0xd0]
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x80]
cmovae ecx, dword [ebp - 0xd0]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0xf8]
call fcn.00430f50
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x130]
mov byte [ebp - 0x101], al
cmp ecx, 0x10
jb 0x425fa3
inc ecx
push ecx
push dword [ebp - 0x144]
lea ecx, [ebp - 0x144]
call fcn.00423360
mov al, byte [ebp - 0x101]
test al, al
je 0x426184
xor edi, edi
nop dword [eax]
push 0x58612f
push str.DelFilePath
lea ecx, [ebp - 0x80]
call fcn.004386a0
mov ecx, eax
call fcn.004381a0
cmp edi, eax
jae 0x426184
xorps xmm0, xmm0
lea ecx, [ebp - 0x80]
push 0x58612f
push str.DelFilePath
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call fcn.004386a0
push edi
mov ecx, eax
call fcn.00438450
push eax
lea ecx, [ebp - 0x50]
call fcn.00437720
push 0x586134
push str.Path
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.004386a0
cmp byte [eax + 8], 0
jne 0x426058
push 0
push 0x585fa0
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
call fcn.00422fb0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0xe
or esi, 1
jmp 0x426082
push 0x586134
push str.Path
lea ecx, [ebp - 0x50]
call fcn.004386a0
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.00437ab0
mov dword [ebp - 4], 0xf
or esi, 2
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x108], esi
push eax
call fcn.00425980
test al, al
mov eax, esi
sete byte [ebp - 0x101]
test al, 2
je 0x4260eb
mov ecx, dword [ebp - 0x118]
and eax, 0xfffffffd
mov dword [ebp - 0x108], eax
cmp ecx, 0x10
jb 0x4260d0
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
call fcn.00423360
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
mov dword [ebp - 4], 0xd
test al, 1
je 0x42611d
and eax, 0xfffffffe
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x148]
cmp eax, 0x10
jb 0x42611d
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.00423360
cmp byte [ebp - 0x101], 0
je 0x42616c
push 0x58612f
push str.DelFilePath
lea ecx, [ebp - 0x68]
call fcn.004386a0
sub esp, 0x18
mov esi, eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10c], esp
mov ecx, esp
push eax
call fcn.00437720
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.004381a0
push eax
mov ecx, esi
call fcn.00438230
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00437980
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.004378c0
mov esi, dword [ebp - 0x108]
inc edi
jmp 0x425fb0
lea ecx, [ebp - 0xf8]
call fcn.004258c0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.004378c0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x100], 0
cmp dword [eax + 0x14], 0x10
jb 0x4261b3
mov eax, dword [eax]
push 0x586144
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00511048
add esp, 0xc
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x68]
push eax
call fcn.00438ee0
mov esi, eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x68]
call fcn.00438ee0
cmp dword [eax + 0x14], 0x10
jb 0x4261f1
mov eax, dword [eax]
push dword [ebp - 0x100]
push dword [esi + 0x10]
push 1
push eax
call fcn.00510e40
mov eax, dword [ebp - 0x3c]
add esp, 0x10
cmp eax, 0x10
jb 0x42621a
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00423360
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x42624a
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.00423360
push dword [ebp - 0x100]
call fcn.00510b88
mov eax, dword [ebp - 0x24]
add esp, 4
cmp eax, 0x10
jb 0x42626d
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00423360
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.004378c0
mov al, 1
jmp 0x4262bd
lea ecx, [ebp - 0x68]
call fcn.004378c0
jmp 0x4262bb
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0050a877
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4