Function at 0x417f90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a93d8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x30
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 0x34], 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 - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00468ad0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x418007
xor eax, eax
jmp 0x4181e7
xor edx, edx
je 0x418031
mov eax, 0x2808
call fcn.0046dc70
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x10], esp
push 0xcccc
mov eax, dword [ebp - 0x38]
push eax
call fcn.0041a720
add esp, 8
mov dword [ebp - 0x3c], eax
jmp 0x41804f
push 0xdddd
push 0x2808
call fcn.00468c27
add esp, 4
push eax
call fcn.0041a720
add esp, 8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x418065
mov eax, 0xe
jmp 0x4181e7
mov dword [ebp - 4], 0
push 2
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
neg eax
cdq
push edx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0040dc20
add esp, 0x14
cmp dword [ebp - 0x28], 0xffffffff
jne 0x418092
cmp dword [ebp - 0x24], 0
je 0x4180e3
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4180e3
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0046dbab
add esp, 0xc
test eax, eax
jne 0x4180e3
mov edx, dword [ebp + 0xc]
push edx
call fcn.00468ad0
add esp, 4
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x418182
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 2
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
push 0xffffd800
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040dc20
add esp, 0x14
cmp dword [ebp - 0x28], 0xffffffff
jne 0x418120
cmp dword [ebp - 0x24], 0
je 0x418182
push 0
lea edx, [ebp - 0x2c]
push edx
push 0x2800
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418182
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040e850
add esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x418182
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x14]
mov edx, 0x2800
sub edx, ecx
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ebp - 0x1c], 1
jmp 0x4181a5
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x4181cb
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx]
push ecx
push str.CheckFCWFile____Signature__found___offset_I64d_
call fcn.004576a0
add esp, 0xc
jmp 0x4181d8
push str.CheckFCWFile____No_signature_found_
call fcn.004576a0
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041a740
add esp, 4
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00467fff
mov esp, ebp
pop ebp
ret