Function at 0x4166cc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
xor ebx, ebx
xor ecx, ecx
push ebp
push 0x416933
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
mov dword [ebp - 0x21], eax
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x21]
push eax
mov eax, dword [0x41b510]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_ReadFile
cmp dword [ebp - 0x21], 0x15a4c43
jne 0x41671c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41693f
mov dx, 1
mov eax, 0xfffffffc
call fcn.00416948
lea eax, [ebp - 4]
push eax
push 0
lea edx, [ebp - 0x21]
mov eax, dword [0x41b510]
mov ecx, 0xd
call fcn.0041645c
cmp dword [ebp - 0x21], 0x15a4c42
sete bl
test bl, bl
je 0x416920
lea eax, [ebp - 0x40a]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40a]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x40a]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40a]
mov dword [ebp - 0x14], eax
mov ax, word [ebp - 0x16]
and ax, 0xf0
movzx eax, ax
shr eax, 4
sub eax, 1
jb 0x416797
je 0x41679b
dec eax
je 0x4167a2
sub eax, 2
je 0x4167a9
jmp 0x4167b0
xor eax, eax
jmp 0x4167b5
mov eax, 8
jmp 0x4167b5
mov eax, 0xa
jmp 0x4167b5
mov eax, 0xe
jmp 0x4167b5
mov eax, 0x16
lea edx, [ebp - 4]
push edx
push 0
lea edx, [ebp - 0x40a]
mov ecx, dword [0x41b510]
xchg ecx, eax
call fcn.0041645c
mov ax, word [ebp - 0x1d]
mov word [0x41dd94], ax
mov al, byte [ebp - 0x1b]
mov byte [0x41dd9a], al
mov eax, dword [ebp - 0x1a]
mov dword [0x41dd96], eax
mov ax, word [ebp - 0x16]
mov word [0x41dd9b], ax
mov edx, eax
and dx, 0xf0
movzx edx, dx
shr edx, 4
test edx, edx
jne 0x41683f
mov word [0x41dd9d], 0
xor eax, eax
mov dword [0x41dd9f], eax
mov dword [0x41ddab], 0
mov dword [0x41ddaf], 0
mov dword [0x41dda3], 0
mov dword [0x41dda7], 0
jmp 0x416929
mov eax, dword [ebp - 8]
mov ax, word [eax]
mov word [0x41dd9d], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 2]
mov dword [0x41dd9f], eax
dec edx
je 0x41686f
dec edx
je 0x41689e
sub edx, 2
je 0x4168ca
sub edx, 4
je 0x4168f4
jmp 0x416929
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 7]
xor edx, edx
mov dword [0x41ddab], eax
mov dword [0x41ddaf], edx
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 6]
xor edx, edx
mov dword [0x41dda3], eax
mov dword [0x41dda7], edx
jmp 0x416929
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 8]
xor edx, edx
mov dword [0x41ddab], eax
mov dword [0x41ddaf], edx
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
xor edx, edx
mov dword [0x41dda3], eax
mov dword [0x41dda7], edx
jmp 0x416929
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa]
xor edx, edx
mov dword [0x41ddab], eax
mov dword [0x41ddaf], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 6]
xor edx, edx
mov dword [0x41dda3], eax
mov dword [0x41dda7], edx
jmp 0x416929
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xe]
mov dword [0x41ddab], edx
mov edx, dword [eax + 0x12]
mov dword [0x41ddaf], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 6]
mov dword [0x41dda3], edx
mov edx, dword [eax + 0xa]
mov dword [0x41dda7], edx
jmp 0x416929
mov eax, dword [0x41b75c]
xor edx, edx
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41693f
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret