Function at 0x419820
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44cab2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x466d98]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466d98]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x238]
mov esi, dword [esp + 0x23c]
xor ebp, ebp
push 0x7f
lea eax, [esp + 0x1a9]
push ebp
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1b0], 0
call fcn.00435580
add esp, 0xc
cmp esi, ebp
je 0x419c88
cmp byte [esi], 0
je 0x419c88
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4198a4
sub eax, edx
cmp eax, 0x80
jb 0x4198bb
mov eax, 0x7f
push eax
lea ecx, [esp + 0x1a8]
push esi
push ecx
call fcn.00436900
add esp, 0xc
push 1
push 2
lea ecx, [esp + 0x30]
call fcn.00404370
push 0x4525a4
lea edx, [esp + 0x1a8]
push edx
lea eax, [esp + 0x30]
push 0x452598
push eax
mov dword [esp + 0x240], ebp
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004044d0
mov edi, 0x10
cmp dword [eax + 0x18], edi
mov byte [esp + 0x230], 1
jb 0x41993a
mov eax, dword [eax + 4]
jmp 0x41993d
add eax, 4
push eax
push str.BaseLib::Md5File
push 0xbe
push str..common_stdfile.cpp
push 0x802
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0xc0], edi
jb 0x419977
mov edx, dword [esp + 0xac]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x74]
mov dword [esp + 0x230], 0xffffffff
call fcn.00404450
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], vtable.std::ios_base.0
call fcn.004339e9
xor eax, eax
add esp, 4
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0xc8]
mov byte [esp + 0x178], 0
mov dword [esp + 0x179], eax
mov dword [esp + 0x17d], eax
mov dword [esp + 0x181], eax
mov word [esp + 0x185], ax
mov byte [esp + 0x187], al
call fcn.0042a700
push 0x452538
push esi
call fcn.00436394
mov edi, eax
add esp, 8
mov dword [esp + 0x24], edi
cmp edi, ebp
mov dword [esp + 0x230], 2
je 0x419c7a
push 2
push ebp
push edi
call fcn.0043624b
push edi
call fcn.00436156
push 0
push 0
push edi
mov ebp, eax
call fcn.0043624b
add esp, 0x1c
cmp ebp, 0x100000
lea ecx, [esp + 0x1c]
jbe 0x419b13
mov ebx, ebp
push 0x100000
shr ebx, 0x14
call fcn.004195b0
mov esi, dword [esp + 0x1c]
test esi, esi
mov byte [esp + 0x230], 3
je 0x419aec
test ebx, ebx
jle 0x419aa6
mov dword [esp + 0x14], ebx
push edi
push 1
push 0x100000
push esi
call fcn.00435fa3
mov edx, dword [esp + 0x250]
mov eax, dword [esp + 0x30]
add esp, 0x10
push edx
push eax
push esi
lea ecx, [esp + 0x128]
push ecx
lea ecx, [esp + 0xd4]
call fcn.0042ade0
push 1
call fcn.00421280
add esp, 4
sub dword [esp + 0x14], 1
jne 0x419a62
shl ebx, 0x14
sub ebp, ebx
je 0x419ad8
push edi
push 1
push ebp
push esi
call fcn.00435fa3
mov edx, dword [esp + 0x250]
add esp, 0x10
push edx
push ebp
push esi
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0xd4]
call fcn.0042ade0
push esi
mov byte [esp + 0x234], 2
call fcn.00433fb6
mov ebx, dword [esp + 0x1c]
jmp 0x419b6a
mov esi, dword [esp + 0x18]
push 0x45734d
mov ecx, esi
call fcn.00403c70
push 0
call fcn.00433fb6
push edi
call fcn.00435c8b
add esp, 8
mov eax, esi
jmp 0x419ca5
push ebp
call fcn.004195b0
mov esi, dword [esp + 0x1c]
test esi, esi
mov byte [esp + 0x230], 4
je 0x419c5c
push edi
push 1
push ebp
push esi
call fcn.00435fa3
mov ecx, dword [esp + 0x250]
mov edx, dword [esp + 0x30]
add esp, 0x10
push ecx
push edx
push esi
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0xd4]
call fcn.0042ade0
push esi
mov byte [esp + 0x234], 2
call fcn.00433fb6
add esp, 4
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x178]
push edx
lea ecx, [esp + 0xcc]
call fcn.0042aec0
xor ebp, ebp
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebp
mov byte [esp + 0xac], 0
mov byte [esp + 0x230], 5
xor esi, esi
nop
movzx eax, byte [esp + esi + 0x174]
push eax
lea ecx, [esp + 0x188]
push str._.2X
push ecx
call fcn.0043455d
lea eax, [esp + 0x190]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x419bd8
sub eax, edx
push eax
lea edx, [esp + 0x188]
push edx
lea ecx, [esp + 0xb0]
call fcn.00403d10
add esi, 1
cmp esi, 0x10
jb 0x419bb0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xb0]
mov esi, 0xf
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], ebp
push eax
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.00404b70
cmp dword [esp + 0xc0], 0x10
jb 0x419c3b
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00433d63
add esp, 4
push edi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebp
mov byte [esp + 0xb0], 0
call fcn.00435c8b
add esp, 4
jmp 0x419ca3
push 0x45734d
mov ecx, ebx
call fcn.00403c70
push 0
call fcn.00433fb6
push edi
call fcn.00435c8b
add esp, 8
jmp 0x419ca3
push 0x45734d
mov ecx, ebx
call fcn.00403c70
jmp 0x419ca3
push ebp
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], ebp
push 0x45734d
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.00405b30
mov eax, ebx
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00433d68
add esp, 0x220
ret