Function at 0x419720
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b51d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x469058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x419779
mov edx, dword [edi + 0x2c]
mov ebx, dword [edx]
lea eax, [ecx + ebx]
cmp ecx, eax
jae 0x419779
lea eax, [ebx - 1]
mov dword [edx], eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x419962
cmp dword [edi + 0x4c], 0
jne 0x419787
or eax, 0xffffffff
jmp 0x419962
mov ebx, dword [edi + 0xc]
lea eax, [edi + 0x3c]
cmp dword [ebx], eax
jne 0x4197a5
mov edx, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov dword [eax], edx
cmp dword [edi + 0x38], 0
mov eax, dword [edi + 0x4c]
jne 0x4197cd
push eax
push 1
lea eax, [ebp - 0x12]
push 1
push eax
call fcn.00424837
add esp, 0x10
cmp eax, 1
jne 0x41977f
movzx eax, byte [ebp - 0x12]
jmp 0x419962
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push eax
mov dword [ebp - 4], 1
call fcn.00423e4b
mov edx, eax
add esp, 4
cmp edx, 0xffffffff
je 0x4198d4
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov byte [ebp - 0x30], dl
cmp ecx, esi
jae 0x41982b
lea eax, [ecx + 1]
cmp esi, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x419839
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00417fb0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov esi, dword [edi + 0x38]
mov edx, dword [ebp - 0x1c]
jb 0x41984f
mov ecx, dword [ebp - 0x2c]
add edx, ecx
jmp 0x419854
add edx, ecx
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
lea ebx, [ebp - 0x38]
push ebx
lea ebx, [ebp - 0x10]
push ebx
lea ebx, [ebp - 0x11]
push ebx
lea ebx, [ebp - 0x34]
push ebx
push edx
push ecx
lea ecx, [edi + 0x40]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x30]
sub eax, 0
je 0x419882
sub eax, 1
jne 0x419907
lea eax, [ebp - 0x11]
cmp dword [ebp - 0x38], eax
jne 0x41991c
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
jb 0x4198a1
mov edx, dword [ebp - 0x2c]
sub eax, edx
jmp 0x4198a6
sub eax, ecx
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
cmovb eax, ecx
sub ecx, eax
add eax, edx
mov dword [ebp - 0x1c], ecx
inc ecx
push ecx
push eax
push edx
call fcn.0041e1a0
push dword [edi + 0x4c]
call fcn.00423e4b
mov edx, eax
add esp, 0x10
cmp edx, 0xffffffff
jne 0x419804
or esi, 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x419960
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419956
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41997e
jmp 0x419956
sub eax, 2
jne 0x4198d4
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
movsx esi, byte [eax]
jmp 0x4198d7
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
sub esi, ecx
add esi, eax
test esi, esi
jle 0x419950
push dword [edi + 0x4c]
movsx eax, byte [esi + ecx - 1]
dec esi
push eax
call fcn.004245b0
add esp, 8
test esi, esi
jle 0x419950
mov ecx, dword [ebp - 0x34]
jmp 0x419935
movzx esi, byte [ebp - 0x11]
jmp 0x4198d7
push ecx
push edx
call fcn.0041c9e4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c9a1
mov esp, ebp
pop ebp
ret
call fcn.004216ef
int3