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

Disassembly:
push 0xffffffffffffffff
push 0x457296
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x470be4]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1d0]
mov dword [esp + 0x14], eax
add eax, 0x24
lea edx, [esp + 0x13c]
mov edi, ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x41a724
lea eax, [esp + 0x13c]
push 0x5c
push eax
call fcn.0043cbb0
lea ebp, [edi + 0x1a8]
xor ebx, ebx
add esp, 8
cmp ebp, ebx
mov esi, eax
jne 0x41a755
call fcn.004383bb
cmp esi, ebx
je 0x41a9ff
lea eax, [esp + 0x13c]
mov byte [esi + 1], bl
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41a780
sub eax, edx
push eax
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0x44]
call fcn.00401e20
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov dword [esp + 0x1d0], ebx
call fcn.004187e0
mov esi, dword [eax]
test esi, esi
mov ecx, dword [ebp + 4]
mov ebx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
je 0x41a7c9
cmp esi, ebp
je 0x41a7ce
call fcn.004383bb
cmp ebx, dword [esp + 0x1c]
jne 0x41a8c3
lea edx, [edi + 0x90]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41a7e3
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00401e20
lea eax, [esp + 0x13c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41a803
sub eax, edx
push eax
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0x44]
call fcn.00401d30
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x41a82f
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.0041a580
lea eax, [esp + 0x13c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41a856
sub eax, edx
push eax
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x28]
call fcn.00401e20
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
mov byte [esp + 0x1d0], 1
call fcn.004187e0
cmp dword [esp + 0x38], 0x10
mov esi, dword [eax]
mov ebx, dword [eax + 4]
jb 0x41a8a5
mov eax, dword [esp + 0x24]
push eax
call fcn.0041c4ad
add esp, 4
test esi, esi
mov ecx, dword [ebp + 4]
mov dword [esp + 0x1c], ecx
je 0x41a8b4
cmp esi, ebp
je 0x41a8b9
call fcn.004383bb
cmp ebx, dword [esp + 0x1c]
jne 0x41a8c3
xor esi, esi
jmp 0x41a8d9
test esi, esi
jne 0x41a8cc
call fcn.004383bb
cmp ebx, dword [esi + 4]
jne 0x41a8d6
call fcn.004383bb
mov esi, dword [ebx + 0x28]
cmp dword [esp + 0x54], 0x10
jb 0x41a8ed
mov edx, dword [esp + 0x40]
push edx
call fcn.0041c4ad
add esp, 4
xor eax, eax
cmp esi, eax
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], eax
mov byte [esp + 0x40], al
je 0x41a9ff
mov ecx, dword [esi + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [ebx + 0x18], ecx
push esi
mov ecx, edi
mov dword [ebx + 0x1c], eax
call fcn.00417da0
mov dword [ebx + 0x20], eax
mov ebp, dword [esi + 0x10]
test ebp, ebp
mov ebx, dword [esp + 0x1d4]
je 0x41a99d
push 0xe4
lea edx, [esp + 0x5c]
push 0
push edx
call fcn.00438ee0
mov eax, dword [edi + 0x5c]
push 0
push 0
push ebp
push eax
call fcn.0043ca8a
mov ecx, dword [edi + 0x5c]
push ecx
push 1
lea edx, [esp + 0x7c]
push 0xe4
push edx
call fcn.0043c9d6
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x5c]
push 0
push 0
push eax
push ecx
mov dword [esp + 0xb0], ebx
call fcn.0043ca8a
mov ebp, dword [edi + 0x5c]
push ebp
push 1
lea edx, [esp + 0x9c]
push 0xe4
push edx
call fcn.00439a5a
add esp, 0x4c
push ebp
call fcn.004397e6
add esp, 4
mov eax, dword [esp + 0x14]
push 0
mov dword [esi + 0x10], ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [edi + 0x5c]
push 0
push ecx
push edx
call fcn.0043ca8a
mov ebp, dword [edi + 0x5c]
push ebp
push 1
push 0xec
push esi
call fcn.00439a5a
push ebp
call fcn.004397e6
mov eax, dword [edi + 0x5c]
push 0
push 0
push ebx
push eax
call fcn.0043ca8a
mov edi, dword [edi + 0x5c]
mov ecx, dword [esp + 0x48]
push edi
push 1
push 0xe4
push ecx
call fcn.00439a5a
add esp, 0x44
push edi
call fcn.004397e6
add esp, 4
xor eax, eax
jmp 0x41aa02
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.00438282
add esp, 0x1b8
ret 8