Function at 0x416440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412f40
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x580
mov eax, dword [0x417040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x230], 0
push 0x103
push 0
lea eax, [ebp - 0x22f]
push eax
call 0x41f660
add esp, 0xc
mov byte [ebp - 0x120], 0
push 0x103
push 0
lea ecx, [ebp - 0x11f]
push ecx
call 0x41f660
add esp, 0xc
mov dword [ebp - 0x234], 0
mov byte [ebp - 0x340], 0
push 0x103
push 0
lea edx, [ebp - 0x33f]
push edx
call 0x41f660
add esp, 0xc
mov byte [ebp - 0x448], 0
push 0x103
push 0
lea eax, [ebp - 0x447]
push eax
call 0x41f660
add esp, 0xc
mov dword [ebp - 4], 0
push 0x4150f0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041c49c
add esp, 8
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x41653c
xor al, al
jmp 0x41687f
mov edx, dword [ebp - 0x124]
push edx
call fcn.00416250
add esp, 4
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x44c]
add eax, 1
push eax
call fcn.0041c063
add esp, 4
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x450], 0
jmp 0x416584
mov ecx, dword [ebp - 0x450]
add ecx, 1
mov dword [ebp - 0x450], ecx
mov edx, dword [ebp - 0x450]
cmp edx, dword [ebp - 0x44c]
jg 0x4165a3
mov eax, dword [ebp - 0x238]
add eax, dword [ebp - 0x450]
mov byte [eax], 0
jmp 0x416575
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x44c]
push edx
push 1
mov eax, dword [ebp - 0x238]
push eax
call fcn.0041c753
add esp, 0x10
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.0041ce0d
add esp, 4
mov edx, dword [ebp - 0x238]
add edx, 0xffffffff
mov dword [ebp - 0x574], edx
mov eax, dword [ebp - 0x574]
mov cl, byte [eax + 1]
mov byte [ebp - 0x575], cl
add dword [ebp - 0x574], 1
cmp byte [ebp - 0x575], 0
jne 0x4165e0
mov edi, dword [ebp - 0x574]
mov dl, byte [0x4150f4]
mov byte [edi], dl
cmp dword [ebp - 0x238], 0
je 0x41680e
mov dword [ebp - 0x45c], 0
jmp 0x416635
mov eax, dword [ebp - 0x45c]
add eax, 1
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0x104
jge 0x416651
mov ecx, dword [ebp - 0x45c]
mov byte [ebp + ecx - 0x230], 0
jmp 0x416626
mov dword [ebp - 0x458], 0
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x460], 0
jmp 0x416682
mov eax, dword [ebp - 0x460]
add eax, 1
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
cmp ecx, dword [ebp - 0x454]
jge 0x41680e
mov edx, dword [ebp - 0x238]
add edx, dword [ebp - 0x460]
movsx eax, byte [edx]
cmp eax, 0x7c
je 0x4166d3
mov ecx, dword [ebp - 0x238]
add ecx, dword [ebp - 0x460]
movsx edx, byte [ecx]
test edx, edx
je 0x4166d3
mov eax, dword [ebp - 0x238]
add eax, dword [ebp - 0x460]
movsx ecx, byte [eax]
cmp ecx, 0x20
jne 0x4167df
cmp dword [ebp - 0x458], 0
jle 0x41679c
lea edx, [ebp - 0x230]
add edx, 0xffffffff
mov dword [ebp - 0x57c], edx
mov eax, dword [ebp - 0x57c]
mov cl, byte [eax + 1]
mov byte [ebp - 0x57d], cl
add dword [ebp - 0x57c], 1
cmp byte [ebp - 0x57d], 0
jne 0x4166ef
mov edi, dword [ebp - 0x57c]
mov edx, dword [0x4150f8]
mov dword [edi], edx
mov al, byte [0x4150fc]
mov byte [edi + 4], al
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x584], ecx
lea edx, [ebp - 0x568]
mov dword [ebp - 0x588], edx
mov eax, dword [ebp - 0x588]
mov dword [ebp - 0x58c], eax
mov ecx, dword [ebp - 0x584]
mov dl, byte [ecx]
mov byte [ebp - 0x58d], dl
mov eax, dword [ebp - 0x588]
mov cl, byte [ebp - 0x58d]
mov byte [eax], cl
mov edx, dword [ebp - 0x584]
add edx, 1
mov dword [ebp - 0x584], edx
mov eax, dword [ebp - 0x588]
add eax, 1
mov dword [ebp - 0x588], eax
cmp byte [ebp - 0x58d], 0
jne 0x416748
lea ecx, [ebp - 0x568]
push ecx
mov ecx, 0x418c08
call fcn.00417190
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x56c], 0
jmp 0x4167c1
mov edx, dword [ebp - 0x56c]
add edx, 1
mov dword [ebp - 0x56c], edx
cmp dword [ebp - 0x56c], 0x104
jge 0x4167dd
mov eax, dword [ebp - 0x56c]
mov byte [ebp + eax - 0x230], 0
jmp 0x4167b2
jmp 0x416809
mov ecx, dword [ebp - 0x238]
add ecx, dword [ebp - 0x460]
mov edx, dword [ebp - 0x458]
mov al, byte [ecx]
mov byte [ebp + edx - 0x230], al
mov ecx, dword [ebp - 0x458]
add ecx, 1
mov dword [ebp - 0x458], ecx
jmp 0x416673
jmp 0x416842
mov dword [ebp - 4], 0xffffffff
jmp 0x416853
cmp dword [ebp - 0x238], 0
je 0x41686b
mov eax, dword [ebp - 0x238]
push eax
call fcn.0041bf86
add esp, 4
mov ecx, 0x418c08
call fcn.00417120
test eax, eax
ja 0x41687d
xor al, al
jmp 0x41687f
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041bdf8
mov esp, ebp
pop ebp
ret