Function at 0x419a20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa7c
mov eax, dword [0x577830]
xor eax, esp
mov dword [esp + 0xa78], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
test eax, eax
push edi
mov dword [esp + 0x30], ebx
je 0x419a59
add eax, 4
jmp 0x419a5e
mov eax, 0x543bb1
lea edi, [esp + 0x58]
call fcn.00401230
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x419a75
add eax, 4
jmp 0x419a77
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
push edi
push eax
call dword [0x59e05c]
test eax, eax
je 0x419cd8
cmp dword [esp + 0x54], edi
je 0x419cd8
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00419900
mov edx, dword [esp + 0xc]
cmp edx, edi
je 0x419ad0
test dword [edx], 0xffffff00
je 0x419ad0
cmp byte [edx + 4], 0
lea eax, [edx + 4]
je 0x419ad0
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x419ac3
sub eax, esi
jmp 0x419ad2
xor eax, eax
cmp edx, edi
lea ecx, [edx + 4]
jne 0x419ade
mov ecx, 0x543bb1
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 8]
push ecx
mov ecx, ebx
call eax
mov esi, eax
cmp esi, edi
jne 0x419b3e
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0x419afc
add eax, 4
jmp 0x419afe
xor eax, eax
push 0x2000
push 0x5586a8
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov byte [esp + 0x35], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], edi
call fcn.0046d460
cmp dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
jne 0x419b69
mov esi, eax
lea eax, [esp + 0x1c]
call fcn.00408080
lea edi, [esp + 0xc]
call fcn.00401070
lea ecx, [esp + 0x58]
call fcn.00401a30
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa78]
xor ecx, esp
call fcn.005120db
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
mov edi, dword [esp + 0x54]
cmp edi, eax
jbe 0x419b7c
mov edi, eax
xor eax, eax
cmp edi, eax
jne 0x419b8c
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
jmp 0x419bab
push edi
call fcn.0044ce70
mov esi, eax
add esp, 4
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, edi
test esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
jne 0x419beb
lea esi, [esp + 0x14]
call fcn.00469930
lea eax, [esp + 0x1c]
call fcn.00408080
lea edi, [esp + 0xc]
call fcn.00401070
lea ecx, [esp + 0x58]
call fcn.00401a30
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa78]
xor ecx, esp
call fcn.005120db
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x20]
push edx
push edi
push 1
push esi
call fcn.0052edba
add esp, 0x10
test eax, eax
je 0x419cb3
mov edx, dword [ebx]
add dword [esp + 0x10], eax
push eax
mov eax, dword [edx + 4]
push esi
mov ecx, ebx
call eax
mov ebx, eax
test ebx, ebx
jne 0x419c36
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test al, al
jne 0x419c73
mov ebx, dword [esp + 0x30]
jmp 0x419bf3
lea esi, [esp + 0x14]
call fcn.00469930
lea eax, [esp + 0x1c]
call fcn.00408080
lea edi, [esp + 0xc]
call fcn.00401070
lea ecx, [esp + 0x58]
call fcn.00401a30
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa78]
xor ecx, esp
call fcn.005120db
mov esp, ebp
pop ebp
ret 8
lea esi, [esp + 0x14]
call fcn.00469930
lea eax, [esp + 0x1c]
call fcn.00408080
lea edi, [esp + 0xc]
call fcn.00401070
lea ecx, [esp + 0x58]
call fcn.00401a30
mov eax, 0xf4242
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa78]
xor ecx, esp
call fcn.005120db
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x10], ecx
je 0x419cfb
lea esi, [esp + 0x14]
call fcn.00469930
lea eax, [esp + 0x1c]
call fcn.00408080
lea edi, [esp + 0xc]
call fcn.00401070
lea ecx, [esp + 0x58]
call fcn.00401a30
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa78]
xor ecx, esp
call fcn.005120db
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x10]
call fcn.00425b60
mov edx, dword [esp + 0x10]
test edx, edx
je 0x419d2d
test dword [edx], 0xffffff00
je 0x419d2d
cmp byte [edx + 4], 0
lea eax, [edx + 4]
je 0x419d2d
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x419d20
sub eax, esi
jmp 0x419d2f
xor eax, eax
test edx, edx
lea ecx, [edx + 4]
jne 0x419d3b
mov ecx, 0x543bb1
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 8]
push ecx
mov ecx, ebx
call eax
lea edi, [esp + 0x10]
mov ebx, eax
call fcn.00401070
lea esi, [esp + 0x14]
call fcn.00469930
lea eax, [esp + 0x1c]
call fcn.00408080
lea edi, [esp + 0xc]
call fcn.00401070
lea ecx, [esp + 0x58]
call fcn.00401a30
test ebx, ebx
jne 0x419c5a
mov ecx, dword [esp + 0xa84]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005120db
mov esp, ebp
pop ebp
ret 8