Function at 0x41c490
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x52a1af
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x535ef0
mov dword [esp + 0xac], 0
call fcn.00402550
push 0x63
lea ecx, [esp + 0x3d]
push 0
mov byte [esp + 0xb0], 1
push ecx
mov byte [esp + 0x44], 0
call fcn.00508d80
mov edx, dword [esp + 0xbc]
push 0
push edx
push ebp
call fcn.005015da
push ebp
push 0x10
lea eax, [esp + 0x58]
push 1
push eax
call fcn.005018fb
mov ecx, dword [esp + 0x62]
add esp, 0x28
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0041ca00
mov byte [esp + 0xa8], 2
mov esi, dword [esp + 0x24]
mov ecx, 0x536e88
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41c576
test dx, dx
je 0x41c572
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41c576
add eax, 4
add ecx, 4
test dx, dx
jne 0x41c550
xor eax, eax
jmp 0x41c57b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x41c5ea
lea eax, [esi - 0x10]
mov byte [esp + 0xa8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c5a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c5d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0xb4]
add eax, 0xfffffff0
jmp 0x41c9a7
lea ecx, [esp + 0xb4]
push ecx
mov ecx, 0x535ef0
call fcn.0040d440
add esp, 4
test al, al
je 0x41c612
lea eax, [esp + 0x24]
lea edi, [esp + 0x1c]
call fcn.00401dd0
jmp 0x41c680
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, str.wysczr
call fcn.004036c0
add esp, 8
mov byte [esp + 0xa8], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00411670
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c66d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00411670
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x28], eax
je 0x41c8f0
mov edx, dword [esp + 0x28]
push 0
add edx, 8
push edx
push ebp
call fcn.005015da
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov ecx, 0x535ef0
call fcn.00402550
mov byte [esp + 0xa8], 4
mov dword [esp + 0x2c], 0
push ebp
push 2
lea ecx, [esp + 0x34]
push 1
push ecx
call fcn.005018fb
mov edx, dword [esp + 0x24]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
movzx ebx, word [esp + 0x3c]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
add esp, 0x10
or eax, ecx
jge 0x41c703
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.00402120
mov edx, dword [esp + 0x14]
test esi, esi
mov word [edx + edi*2], bx
jl 0x41c9ea
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x41c9ea
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
mov word [edx + esi*2], 0
cmp word [esp + 0x2c], 0
je 0x41c73e
push ebp
call fcn.00501916
add esp, 4
test eax, eax
je 0x41c6c2
mov esi, dword [esp + 0x28]
push 0
lea eax, [esi + 4]
push eax
push ebp
call fcn.005015da
push ebp
push 4
lea ecx, [esp + 0x2c]
push 1
push ecx
mov dword [esp + 0x34], 0
call fcn.005018fb
add esp, 0x1c
and dword [esp + 0x18], 0xffffff
jne 0x41c77c
mov dword [esp + 0x18], 1
jmp 0x41c793
mov edx, dword [esp + 0x18]
add edx, 0xfffffff5
cmp edx, 0x2704
ja 0x41c793
mov dword [esp + 0x18], 0xa
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5759e8
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
lea ebx, [esp + 0x14]
mov byte [esp + 0xa8], 5
call fcn.0040d970
mov edi, eax
call fcn.0040d9f0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 1
je 0x41c7ea
mov eax, dword [esp + 0x18]
cmp eax, 0x2710
jae 0x41c7ea
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
mov eax, ebx
push eax
lea eax, [esp + 0x24]
push eax
call edx
push 0
push esi
push ebp
call fcn.005015da
push ebp
mov ebx, 4
push ebx
lea eax, [esp + 0x48]
push 1
push eax
mov dword [esp + 0x50], 0
call fcn.005018fb
mov eax, dword [esp + 0x50]
add esp, 0x1c
cmp eax, 0x2d
je 0x41c8a1
mov cl, al
shr eax, 8
cmp cl, 0x2d
mov dword [esp + 0x34], eax
jne 0x41c839
lea ecx, [eax*4]
mov dword [esp + 0x28], ecx
jmp 0x41c849
cmp cl, 0xad
jne 0x41c8a1
lea edx, [eax*4 + 2]
mov dword [esp + 0x28], edx
mov byte [esp + 0xa8], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c870
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c690
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41c690
mov byte [esp + 0xa8], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c8c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c8f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x41c91b
mov eax, dword [esp + 0x1c]
push ebp
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.004020b0
mov ecx, dword [esp + 0x38]
add eax, 0x10
push edi
mov dword [esi], eax
call fcn.0041c490
mov edi, dword [esp + 0x44]
test edi, edi
mov ebx, dword [esp + 0xb4]
je 0x41c949
push ebp
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.004020b0
mov ecx, dword [esp + 0x38]
add eax, 0x10
push edi
mov dword [esi], eax
call fcn.0041c490
mov byte [esp + 0xa8], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c971
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c999
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa8], 0xffffffff
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c9c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004ff939
add esp, 0x98
ret 0xc
push 0x80070057
call fcn.004026a0
int3