Function at 0x459e00
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x546888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [esp + 0x84]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
mov dword [esp + 0x14], ebp
call fcn.004586a0
mov ecx, dword [ebp + 0x1e4]
mov edx, dword [ebp + 0x208]
mov eax, dword [ebp + 0x210]
and ecx, 8
mov dword [esp + 0x70], ecx
mov edi, dword [sym.imp.MSVCRT.dll_fread]
xor ecx, ecx
mov dword [ebp + 0x278], 0xffffffff
mov dword [ebp], 0x54e668
mov dword [esp + 0x74], edx
mov edx, dword [0x67a8cc]
mov dword [esp + 0x38], ecx
mov ebx, 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], ecx
push edx
push ebx
lea eax, [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x48], ecx
push 0x14
push eax
mov dword [esp + 0x9c], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], ecx
call edi
mov edx, dword [0x67a8cc]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
push edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x14
mov ecx, ebp
push eax
call fcn.0043ede0
xor eax, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov al, byte [ebp + 0x1e4]
test al, 0x40
je 0x459f00
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x28]
push ecx
push ebx
push 0xc
push edx
call edi
add esp, 0x10
jmp 0x459f12
mov eax, dword [0x67a8cc]
push ebx
push 0xc
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov eax, dword [0x67a7f0]
mov dword [esp + 0x5c], ebx
cmp eax, 0x1c
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jl 0x45a03c
mov edx, dword [0x67a8cc]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
push edx
mov dword [esp + 0x54], ecx
push ebx
lea eax, [esp + 0x50]
mov dword [esp + 0x5c], ecx
push 0x14
push eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x68], ecx
call edi
mov edx, dword [0x67a8cc]
xor ecx, ecx
mov dword [esp + 0x25], ecx
push edx
push ebx
lea eax, [esp + 0x2c]
mov word [esp + 0x31], cx
push 4
push eax
mov byte [esp + 0x34], 0
mov byte [esp + 0x3b], cl
call edi
mov ecx, dword [0x67a8cc]
add ebp, 0x274
push ecx
push ebx
push 4
push ebp
call edi
add esp, 0x30
mov esi, str.FLAG
lea eax, [esp + 0x14]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x459fcf
test cl, cl
je 0x459fcb
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x459fcf
add eax, 2
add esi, 2
test cl, cl
jne 0x459fab
xor eax, eax
jmp 0x459fd4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x459fdf
mov dword [ebp], 0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x67a8f0]
mov dword [esp + 0x64], edx
mov edx, dword [ebp]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
test edx, ecx
mov dword [esp + 0x6c], eax
je 0x45a02a
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x1c]
push edx
push ebx
push 0xc
push eax
call edi
add esp, 0x10
jmp 0x45a036
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x10]
xor esi, esi
lea eax, [ebp + 0x268]
xor ecx, ecx
mov edx, eax
mov ebx, eax
xor edi, edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
cmp dword [esp + edi + 0x28], esi
jle 0x45a0be
mov eax, dword [esp + edi + 0x1c]
dec eax
je 0x45a09d
dec eax
je 0x45a081
dec eax
jne 0x45a0be
push 0x1c
call fcn.004784b0
add esp, 4
cmp eax, esi
je 0x45a0ba
mov ecx, dword [esp + edi + 0x28]
push ecx
mov ecx, eax
call fcn.004cf860
jmp 0x45a0bc
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, esi
je 0x45a0ba
mov edx, dword [esp + edi + 0x28]
mov ecx, eax
push edx
call fcn.004cfd90
jmp 0x45a0bc
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, esi
je 0x45a0ba
mov ecx, dword [esp + edi + 0x28]
push esi
push ecx
mov ecx, eax
call fcn.004cfb10
jmp 0x45a0bc
xor eax, eax
mov dword [ebx], eax
add edi, 4
add ebx, 4
cmp edi, 0xc
jl 0x45a052
mov dword [ebp + 0x214], 5
lea edi, [ebp + 0x218]
mov eax, dword [esp + esi*4 + 0x70]
test eax, eax
je 0x45a150
mov eax, dword [esp + esi*4 + 0x34]
test eax, eax
jle 0x45a150
mov eax, dword [esp + esi*4 + 0x5c]
dec eax
je 0x45a12e
dec eax
je 0x45a112
dec eax
jne 0x45a150
push 0x1c
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45a14c
mov edx, dword [esp + esi*4 + 0x34]
mov ecx, eax
push edx
call fcn.004cf860
jmp 0x45a14e
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45a14c
mov ecx, dword [esp + esi*4 + 0x34]
push ecx
mov ecx, eax
call fcn.004cfd90
jmp 0x45a14e
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45a14c
mov edx, dword [esp + esi*4 + 0x34]
push 0
push edx
mov ecx, eax
call fcn.004cfb10
jmp 0x45a14e
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebp + 0x214]
inc esi
add edi, 4
cmp esi, eax
jl 0x45a0d9
call fcn.00411c40
mov ecx, dword [esp + 0x84]
mov dword [ebp + 0x254], eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 4