Function at 0x417f20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8b58
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x30
mov eax, dword [0x4cd724]
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.00468280
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 0x417f97
xor eax, eax
jmp 0x418177
xor edx, edx
je 0x417fc1
mov eax, 0x2808
call fcn.0046d420
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x10], esp
push 0xcccc
mov eax, dword [ebp - 0x38]
push eax
call fcn.0041a6b0
add esp, 8
mov dword [ebp - 0x3c], eax
jmp 0x417fdf
push 0xdddd
push 0x2808
call fcn.004683d7
add esp, 4
push eax
call fcn.0041a6b0
add esp, 8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x417ff5
mov eax, 0xe
jmp 0x418177
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.0040dbc0
add esp, 0x14
cmp dword [ebp - 0x28], 0xffffffff
jne 0x418022
cmp dword [ebp - 0x24], 0
je 0x418073
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 0x418073
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0046d35b
add esp, 0xc
test eax, eax
jne 0x418073
mov edx, dword [ebp + 0xc]
push edx
call fcn.00468280
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 0x418112
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.0040dbc0
add esp, 0x14
cmp dword [ebp - 0x28], 0xffffffff
jne 0x4180b0
cmp dword [ebp - 0x24], 0
je 0x418112
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 0x418112
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.0040e7f0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x418112
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 0x418135
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x41815b
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.00456e30
add esp, 0xc
jmp 0x418168
push str.CheckFCWFile____No_signature_found_
call fcn.00456e30
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041a6d0
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.004677af
mov esp, ebp
pop ebp
ret