Function at 0x493c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x493e2e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 4
jb 0x493dd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 2
jne 0x493dd9
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 2]
add eax, 4
cmp eax, dword [ebp - 8]
jne 0x493dd9
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 1]
sub al, 1
jb 0x493c76
sub al, 4
jb 0x493cce
jmp 0x493dd9
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 2]
cmp eax, 0x14
jne 0x493dd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
mov esi, eax
lea edi, [edx + 0x470]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
add eax, 0x470
push eax
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4933e8]
call fcn.004938d0
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x493dd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 2]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
call fcn.00406af0
cmp eax, dword [ebp - 0x18]
jge 0x493d22
mov eax, dword [ebp - 4]
add eax, 0x460
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.00407034
mov eax, dword [ebp - 4]
add eax, 0x460
call fcn.00406bb4
mov edx, dword [ebp - 4]
mov dword [edx + 0x464], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x468], eax
mov eax, dword [ebp - 0x10]
cmp word [eax + 2], 0
jbe 0x493d59
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x464]
mov edx, dword [ebp - 0x14]
lea edx, [eax + edx]
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 2]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.00404860
mov eax, dword [ebp - 0x10]
cmp byte [eax + 1], 2
je 0x493d6b
mov eax, dword [ebp - 0x10]
cmp byte [eax + 1], 4
jne 0x493dd9
mov eax, dword [ebp - 0x10]
cmp byte [eax + 1], 2
jne 0x493d7a
mov byte [ebp - 0x1d], 3
jmp 0x493d7e
mov byte [ebp - 0x1d], 2
mov eax, dword [ebp - 4]
add eax, 0x470
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x468]
mov edx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
call fcn.00406f7c
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
push 0
mov cl, byte [ebp - 0x1d]
mov dl, 1
mov eax, dword [0x4933e8]
call fcn.004938d0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x468], edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
push fcn.00493840
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
push eax
call sub.kernel32.dll_ReadFileEx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x493e18
mov eax, dword [ebp - 4]
mov byte [eax + 8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493e35
lea eax, [ebp - 0x24]
call fcn.00406634
ret