Function at 0x42ad00
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 0x54d56d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x150
mov eax, dword [0x5afb3c]
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.0042b470
test al, al
je 0x42b44c
xorps xmm0, xmm0
lea ecx, [ebp - 0x98]
push esi
movups xmmword [ebp - 0x98], xmm0
movq qword [ebp - 0x88], xmm0
call fcn.0043f8e0
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 0x42af03
xorps xmm0, xmm0
lea ecx, [ebp - 0x68]
push 0
movups xmmword [ebp - 0x68], xmm0
movq qword [ebp - 0x58], xmm0
call fcn.0043f8e0
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 0x42ae08
mov ecx, dword [ecx]
call fcn.0043f150
mov dword [ebp - 0x38], eax
push 0x59f4c8
push str.Path
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00440a40
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.0043fd80
lea ecx, [ebp - 0x38]
call fcn.0043fc60
mov byte [ebp - 0x30], 4
mov edx, 3
or dword [ebp - 0x30], 0x100
mov ecx, 0x59f4dc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.0043f150
mov dword [ebp - 0x38], eax
push 0x59f4d2
push str.Status
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00440a40
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.0043fd80
lea ecx, [ebp - 0x38]
call fcn.0043fc60
push 0x59f4c3
push str.DelFilePath
lea ecx, [ebp - 0x98]
call fcn.00440a40
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x68]
push eax
call fcn.0043fac0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x114]
call fcn.00440570
mov ecx, dword [ebp - 0x114]
push eax
call fcn.00440600
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.0043fd80
lea ecx, [ebp - 0x50]
call fcn.0043fc60
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.0043fc60
inc edi
jmp 0x42ad90
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42af20
mov eax, dword [ecx]
jmp 0x42af22
mov eax, ecx
mov edi, dword [ebp - 0x128]
push 0xffffffffffffffff
push 0
push edi
mov byte [eax], 0
call fcn.00427790
call fcn.0042c7a0
add esp, 0x18
test eax, eax
je 0x42b40f
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x114], 0
jb 0x42af59
mov eax, dword [edi]
jmp 0x42af5b
mov eax, edi
push 0x59f4b4
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0052d562
add esp, 0xc
push 2
push 0
push dword [ebp - 0x114]
call fcn.0052f3b4
add esp, 0xc
push dword [ebp - 0x114]
call fcn.0052f0d4
add esp, 4
mov dword [ebp - 0x124], eax
inc eax
mov dword [ebp - 0x12c], eax
push eax
call fcn.00527036
add esp, 4
mov edi, eax
push dword [ebp - 0x12c]
push 0
push edi
call fcn.00529cc0
add esp, 0xc
push 0
push 0
push dword [ebp - 0x114]
call fcn.0052f3b4
add esp, 0xc
push dword [ebp - 0x114]
push dword [ebp - 0x124]
push 1
push edi
call fcn.0052f59b
push dword [ebp - 0x114]
call fcn.0052d097
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42aff2
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.004276d0
push edi
mov byte [ebp - 4], 6
call fcn.00526ba7
add esp, 4
cmp dword [ebp - 0x28], 0
sete al
test al, al
jne 0x42b322
xorps xmm0, xmm0
lea ecx, [ebp - 0x50]
push 0
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call fcn.0043f8e0
push 0x74
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.00529cc0
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.004391f0
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 0x42b09d
xor ecx, ecx
jmp 0x42b0ab
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b0a2
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x160]
call fcn.004276d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xe8]
call fcn.00427790
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.00439320
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14c]
mov byte [ebp - 0x119], al
cmp ecx, 0x10
jb 0x42b12e
inc ecx
push ecx
push dword [ebp - 0x160]
lea ecx, [ebp - 0x160]
call fcn.004279e0
mov al, byte [ebp - 0x119]
test al, al
je 0x42b30b
xor edi, edi
nop dword [eax + eax]
push 0x59f4c3
push str.DelFilePath
lea ecx, [ebp - 0x50]
call fcn.00440a40
mov ecx, eax
call fcn.00440570
cmp edi, eax
jae 0x42b30b
xorps xmm0, xmm0
lea ecx, [ebp - 0x50]
push 0x59f4c3
push str.DelFilePath
movups xmmword [ebp - 0x80], xmm0
movq qword [ebp - 0x70], xmm0
call fcn.00440a40
push edi
mov ecx, eax
call fcn.004407f0
push eax
lea ecx, [ebp - 0x80]
call fcn.0043fac0
push 0x59f4c8
push str.Path
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xa
call fcn.00440a40
cmp byte [eax + 8], 0
jne 0x42b1d9
push 0
push 0x59f2d0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.004276d0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xb
or esi, 1
jmp 0x42b203
push 0x59f4c8
push str.Path
lea ecx, [ebp - 0x80]
call fcn.00440a40
lea ecx, [ebp - 0x148]
push ecx
mov ecx, eax
call fcn.0043fe60
mov dword [ebp - 4], 0xc
or esi, 2
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x120], esi
push eax
call fcn.0042ab20
test al, al
mov eax, esi
sete byte [ebp - 0x119]
test al, 2
je 0x42b26f
mov ecx, dword [ebp - 0x134]
and eax, 0xfffffffd
mov dword [ebp - 0x120], eax
cmp ecx, 0x10
jb 0x42b254
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x148]
lea ecx, [ebp - 0x148]
call fcn.004279e0
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 0x42b298
and eax, 0xfffffffe
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x42b298
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.004279e0
cmp byte [ebp - 0x119], 0
je 0x42b2f3
push 0x59f4c3
push str.DelFilePath
lea ecx, [ebp - 0x98]
call fcn.00440a40
mov esi, eax
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x80]
push eax
call fcn.0043fac0
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00440570
push eax
mov ecx, esi
call fcn.00440600
lea ecx, [ebp - 0x148]
push ecx
mov ecx, eax
call fcn.0043fd80
lea ecx, [ebp - 0x148]
call fcn.0043fc60
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.0043fc60
mov esi, dword [ebp - 0x120]
inc edi
jmp 0x42b140
lea ecx, [ebp - 0x110]
call fcn.0042aa60
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.0043fc60
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x118], 0
cmp dword [eax + 0x14], 0x10
jb 0x42b33a
mov eax, dword [eax]
push 0x59f4d8
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0052d562
add esp, 0xc
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x98]
push eax
call fcn.00441250
mov esi, eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x98]
call fcn.00441250
cmp dword [eax + 0x14], 0x10
jb 0x42b37b
mov eax, dword [eax]
push dword [ebp - 0x118]
push dword [esi + 0x10]
push 1
push eax
call fcn.0052d34f
mov eax, dword [ebp - 0x3c]
add esp, 0x10
cmp eax, 0x10
jb 0x42b3a4
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.004279e0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x42b3cb
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.004279e0
push dword [ebp - 0x118]
call fcn.0052d097
mov eax, dword [ebp - 0x24]
add esp, 4
cmp eax, 0x10
jb 0x42b3ee
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.004279e0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.0043fc60
mov al, 1
jmp 0x42b44e
lea ecx, [ebp - 0x98]
call fcn.0043fc60
jmp 0x42b44c
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.00526b2d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4