Function at 0x425b70
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 0x531ff9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x148
mov eax, dword [0x5939f0]
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.00426310
test al, al
je 0x4262eb
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 0x425d91
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 0x425cae
mov ecx, dword [ecx]
call fcn.00436660
mov dword [edi], eax
push 0x585134
push str.Path
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00437e30
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00437110
sub esp, 0x18
mov edx, 3
mov edi, esp
mov dword [ebp - 0x10c], esp
mov ecx, 0x585148
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.00436660
mov dword [edi], eax
push 0x58513e
push str.Status
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00437e30
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00437110
push 0x58512f
push str.DelFilePath
lea ecx, [ebp - 0x68]
call fcn.00437e30
sub esp, 0x18
mov edi, eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10c], esp
mov ecx, esp
push eax
call fcn.00436eb0
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00437930
push eax
mov ecx, edi
call fcn.004379c0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00437110
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00437050
mov edi, dword [ebp - 0xfc]
inc edi
jmp 0x425c08
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x425dae
mov eax, dword [ecx]
jmp 0x425db0
mov eax, ecx
mov edi, dword [ebp - 0x110]
push 0xffffffffffffffff
push 0
push edi
mov byte [eax], 0
call fcn.004230e0
call fcn.00427780
add esp, 0x18
test eax, eax
je 0x4262bb
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0xfc], 0
jb 0x425de7
mov eax, dword [edi]
jmp 0x425de9
mov eax, edi
push 0x585120
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00510827
add esp, 0xc
push 2
push 0
push dword [ebp - 0xfc]
call fcn.005125bc
add esp, 0xc
push dword [ebp - 0xfc]
call fcn.005122f7
add esp, 4
mov dword [ebp - 0x10c], eax
inc eax
mov dword [ebp - 0x114], eax
push eax
call fcn.0050a5d0
add esp, 4
mov edi, eax
push dword [ebp - 0x114]
push 0
push edi
call fcn.0050d200
add esp, 0xc
push 0
push 0
push dword [ebp - 0xfc]
call fcn.005125bc
add esp, 0xc
push dword [ebp - 0xfc]
push dword [ebp - 0x10c]
push 1
push edi
call fcn.005127a3
push dword [ebp - 0xfc]
call fcn.00510367
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425e80
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.00422fe0
push edi
mov byte [ebp - 4], 8
call fcn.0050a10e
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x4261cb
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.0050d200
add esp, 0xc
lea ecx, [ebp - 0xf8]
call fcn.004305c0
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 0x425f42
xor ecx, ecx
jmp 0x425f50
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425f47
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x144]
call fcn.00422fe0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xd0]
call fcn.004230e0
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.004306f0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x130]
mov byte [ebp - 0x101], al
cmp ecx, 0x10
jb 0x425fd3
inc ecx
push ecx
push dword [ebp - 0x144]
lea ecx, [ebp - 0x144]
call fcn.00423390
mov al, byte [ebp - 0x101]
test al, al
je 0x4261b4
xor edi, edi
nop dword [eax]
push 0x58512f
push str.DelFilePath
lea ecx, [ebp - 0x80]
call fcn.00437e30
mov ecx, eax
call fcn.00437930
cmp edi, eax
jae 0x4261b4
xorps xmm0, xmm0
lea ecx, [ebp - 0x80]
push 0x58512f
push str.DelFilePath
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call fcn.00437e30
push edi
mov ecx, eax
call fcn.00437be0
push eax
lea ecx, [ebp - 0x50]
call fcn.00436eb0
push 0x585134
push str.Path
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.00437e30
cmp byte [eax + 8], 0
jne 0x426088
push 0
push 0x584fa0
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
call fcn.00422fe0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0xe
or esi, 1
jmp 0x4260b2
push 0x585134
push str.Path
lea ecx, [ebp - 0x50]
call fcn.00437e30
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.00437240
mov dword [ebp - 4], 0xf
or esi, 2
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x108], esi
push eax
call fcn.004259b0
test al, al
mov eax, esi
sete byte [ebp - 0x101]
test al, 2
je 0x42611b
mov ecx, dword [ebp - 0x118]
and eax, 0xfffffffd
mov dword [ebp - 0x108], eax
cmp ecx, 0x10
jb 0x426100
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
call fcn.00423390
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 0x42614d
and eax, 0xfffffffe
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x148]
cmp eax, 0x10
jb 0x42614d
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.00423390
cmp byte [ebp - 0x101], 0
je 0x42619c
push 0x58512f
push str.DelFilePath
lea ecx, [ebp - 0x68]
call fcn.00437e30
sub esp, 0x18
mov esi, eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10c], esp
mov ecx, esp
push eax
call fcn.00436eb0
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00437930
push eax
mov ecx, esi
call fcn.004379c0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00437110
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.00437050
mov esi, dword [ebp - 0x108]
inc edi
jmp 0x425fe0
lea ecx, [ebp - 0xf8]
call fcn.004258f0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.00437050
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x100], 0
cmp dword [eax + 0x14], 0x10
jb 0x4261e3
mov eax, dword [eax]
push 0x585144
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00510827
add esp, 0xc
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x68]
push eax
call fcn.00438670
mov esi, eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x68]
call fcn.00438670
cmp dword [eax + 0x14], 0x10
jb 0x426221
mov eax, dword [eax]
push dword [ebp - 0x100]
push dword [esi + 0x10]
push 1
push eax
call fcn.0051061f
mov eax, dword [ebp - 0x3c]
add esp, 0x10
cmp eax, 0x10
jb 0x42624a
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00423390
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x42627a
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.00423390
push dword [ebp - 0x100]
call fcn.00510367
mov eax, dword [ebp - 0x24]
add esp, 4
cmp eax, 0x10
jb 0x42629d
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00423390
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.00437050
mov al, 1
jmp 0x4262ed
lea ecx, [ebp - 0x68]
call fcn.00437050
jmp 0x4262eb
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.0050a094
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4