Function at 0x42c210
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 0x551e7d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x150
mov eax, dword [0x5b4b3c]
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 - 0x128], ecx
mov eax, dword [ebx + 8]
xor esi, esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], esi
call fcn.0042c980
test al, al
je 0x42c95c
xorps xmm0, xmm0
lea ecx, [ebp - 0x98]
push esi
movups xmmword [ebp - 0x98], xmm0
movq qword [ebp - 0x88], xmm0
call fcn.00442f50
mov byte [ebp - 4], 1
xor edi, edi
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x42c413
xorps xmm0, xmm0
lea ecx, [ebp - 0x68]
push 0
movups xmmword [ebp - 0x68], xmm0
movq qword [ebp - 0x58], xmm0
call fcn.00442f50
mov byte [ebp - 4], 2
lea ecx, [edi + edi*2]
mov eax, dword [ebp - 0x118]
mov byte [ebp - 0x30], 4
or dword [ebp - 0x30], 0x100
mov dword [ebp - 0x2c], 0
mov eax, dword [eax]
cmp dword [eax + ecx*8 + 0x14], 0x10
lea ecx, [eax + ecx*8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
jb 0x42c318
mov ecx, dword [ecx]
call fcn.004427c0
mov dword [ebp - 0x38], eax
push 0x5a44fc
push str.Path
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.004440b0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.004433f0
lea ecx, [ebp - 0x38]
call fcn.004432d0
mov byte [ebp - 0x30], 4
mov edx, 3
or dword [ebp - 0x30], 0x100
mov ecx, 0x5a4510
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.004427c0
mov dword [ebp - 0x38], eax
push 0x5a4506
push str.Status
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.004440b0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.004433f0
lea ecx, [ebp - 0x38]
call fcn.004432d0
push 0x5a44f7
push str.DelFilePath
lea ecx, [ebp - 0x98]
call fcn.004440b0
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x68]
push eax
call fcn.00443130
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x114]
call fcn.00443be0
mov ecx, dword [ebp - 0x114]
push eax
call fcn.00443c70
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.004433f0
lea ecx, [ebp - 0x50]
call fcn.004432d0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.004432d0
inc edi
jmp 0x42c2a0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42c430
mov eax, dword [ecx]
jmp 0x42c432
mov eax, ecx
mov edi, dword [ebp - 0x128]
push 0xffffffffffffffff
push 0
push edi
mov byte [eax], 0
call fcn.004277e0
call fcn.0042e300
add esp, 0x18
test eax, eax
je 0x42c91f
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x114], 0
jb 0x42c469
mov eax, dword [edi]
jmp 0x42c46b
mov eax, edi
push 0x5a44e8
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00531342
add esp, 0xc
push 2
push 0
push dword [ebp - 0x114]
call fcn.00533aaa
add esp, 0xc
push dword [ebp - 0x114]
call fcn.005337ca
add esp, 4
mov dword [ebp - 0x124], eax
inc eax
mov dword [ebp - 0x12c], eax
push eax
call fcn.0052ae6f
add esp, 4
mov edi, eax
push dword [ebp - 0x12c]
push 0
push edi
call fcn.0052dac0
add esp, 0xc
push 0
push 0
push dword [ebp - 0x114]
call fcn.00533aaa
add esp, 0xc
push dword [ebp - 0x114]
push dword [ebp - 0x124]
push 1
push edi
call fcn.00533c91
push dword [ebp - 0x114]
call fcn.00530e77
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c502
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.00427720
push edi
mov byte [ebp - 4], 6
call fcn.0052a9c3
add esp, 4
cmp dword [ebp - 0x28], 0
sete al
test al, al
jne 0x42c832
xorps xmm0, xmm0
lea ecx, [ebp - 0x50]
push 0
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call fcn.00442f50
push 0x74
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.0052dac0
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.0043c860
mov byte [ebp - 4], 8
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov dword [ebp - 0x14c], 0xf
cmovae edx, dword [ebp - 0x38]
mov dword [ebp - 0x150], 0
mov byte [ebp - 0x160], 0
cmp byte [edx], 0
jne 0x42c5ad
xor ecx, ecx
jmp 0x42c5bb
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c5b2
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x160]
call fcn.00427720
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xe8]
call fcn.004277e0
cmp dword [ebp - 0xd4], 0x10
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0x50]
cmovae ecx, dword [ebp - 0xe8]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0x110]
call fcn.0043c990
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14c]
mov byte [ebp - 0x119], al
cmp ecx, 0x10
jb 0x42c63e
inc ecx
push ecx
push dword [ebp - 0x160]
lea ecx, [ebp - 0x160]
call fcn.00427a30
mov al, byte [ebp - 0x119]
test al, al
je 0x42c81b
xor edi, edi
nop dword [eax + eax]
push 0x5a44f7
push str.DelFilePath
lea ecx, [ebp - 0x50]
call fcn.004440b0
mov ecx, eax
call fcn.00443be0
cmp edi, eax
jae 0x42c81b
xorps xmm0, xmm0
lea ecx, [ebp - 0x50]
push 0x5a44f7
push str.DelFilePath
movups xmmword [ebp - 0x80], xmm0
movq qword [ebp - 0x70], xmm0
call fcn.004440b0
push edi
mov ecx, eax
call fcn.00443e60
push eax
lea ecx, [ebp - 0x80]
call fcn.00443130
push 0x5a44fc
push str.Path
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xa
call fcn.004440b0
cmp byte [eax + 8], 0
jne 0x42c6e9
push 0
push 0x5a42e0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.00427720
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xb
or esi, 1
jmp 0x42c713
push 0x5a44fc
push str.Path
lea ecx, [ebp - 0x80]
call fcn.004440b0
lea ecx, [ebp - 0x148]
push ecx
mov ecx, eax
call fcn.004434d0
mov dword [ebp - 4], 0xc
or esi, 2
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x120], esi
push eax
call fcn.0042c030
test al, al
mov eax, esi
sete byte [ebp - 0x119]
test al, 2
je 0x42c77f
mov ecx, dword [ebp - 0x134]
and eax, 0xfffffffd
mov dword [ebp - 0x120], eax
cmp ecx, 0x10
jb 0x42c764
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x148]
lea ecx, [ebp - 0x148]
call fcn.00427a30
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
mov dword [ebp - 4], 0xa
test al, 1
je 0x42c7a8
and eax, 0xfffffffe
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x42c7a8
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00427a30
cmp byte [ebp - 0x119], 0
je 0x42c803
push 0x5a44f7
push str.DelFilePath
lea ecx, [ebp - 0x98]
call fcn.004440b0
mov esi, eax
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x80]
push eax
call fcn.00443130
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00443be0
push eax
mov ecx, esi
call fcn.00443c70
lea ecx, [ebp - 0x148]
push ecx
mov ecx, eax
call fcn.004433f0
lea ecx, [ebp - 0x148]
call fcn.004432d0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.004432d0
mov esi, dword [ebp - 0x120]
inc edi
jmp 0x42c650
lea ecx, [ebp - 0x110]
call fcn.0042bf70
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.004432d0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x118], 0
cmp dword [eax + 0x14], 0x10
jb 0x42c84a
mov eax, dword [eax]
push 0x5a450c
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00531342
add esp, 0xc
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x98]
push eax
call fcn.004448c0
mov esi, eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x98]
call fcn.004448c0
cmp dword [eax + 0x14], 0x10
jb 0x42c88b
mov eax, dword [eax]
push dword [ebp - 0x118]
push dword [esi + 0x10]
push 1
push eax
call fcn.0053112f
mov eax, dword [ebp - 0x3c]
add esp, 0x10
cmp eax, 0x10
jb 0x42c8b4
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00427a30
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x42c8db
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00427a30
push dword [ebp - 0x118]
call fcn.00530e77
mov eax, dword [ebp - 0x24]
add esp, 4
cmp eax, 0x10
jb 0x42c8fe
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00427a30
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.004432d0
mov al, 1
jmp 0x42c95e
lea ecx, [ebp - 0x98]
call fcn.004432d0
jmp 0x42c95c
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.0052a949
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4