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

Disassembly:
sub esp, 0x6c
cmp dword [eax + 0x18], 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebx, edx
jb 0x4116c6
mov eax, dword [eax + 4]
jmp 0x4116c9
add eax, 4
push 0x4611e8
push eax
call fcn.00427d18
mov ebp, eax
xor edi, edi
add esp, 8
cmp ebp, edi
je 0x4119ee
push ebp
push 1
lea eax, [esp + 0x48]
push 0xe
push eax
call fcn.004294bd
add esp, 0x10
cmp byte [esp + 0x40], 0x42
jne 0x4119e5
cmp byte [esp + 0x41], 0x4d
jne 0x4119e5
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.00428349
push ebp
push 1
lea edx, [esp + 0x60]
push 0x28
push edx
call fcn.004294bd
mov ecx, dword [esp + 0x78]
add esp, 0x18
mov byte [esp + 0x14], 0
cmp ecx, 3
jbe 0x411778
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.0042877d
push ebp
push 1
lea ecx, [esp + 0x44]
push 0xc
push ecx
call fcn.004294bd
movzx edx, word [esp + 0x50]
movzx eax, word [esp + 0x52]
mov dword [esp + 0x3c], edi
movzx edi, word [esp + 0x56]
add esp, 0x18
mov dword [ebx], edx
mov dword [esi], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], edi
jmp 0x4117a9
mov eax, dword [esp + 0x58]
cmp eax, edi
mov edx, dword [esp + 0x54]
mov dword [ebx], edx
jge 0x41178f
mov byte [esp + 0x14], 1
neg eax
jmp 0x411794
mov byte [esp + 0x14], 0
mov dword [esi], eax
movzx eax, word [esp + 0x5e]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov edi, eax
mov dword [esp + 0x18], 0
cmp edi, 8
ja 0x4117e8
xor edx, edx
cmp dword [esp + 0x1c], 1
mov ecx, edi
setne dl
mov eax, 1
shl eax, cl
add edx, 3
imul edx, eax
mov edi, edx
push edi
call fcn.00426b12
push ebp
push edi
push 1
push eax
mov dword [esp + 0x2c], eax
call fcn.004294bd
add esp, 0x14
mov eax, dword [ebx]
imul eax, dword [esi]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, 3
ja case.0x411841.2
jmp dword [eax*4 + 0x4119f8]
mov eax, dword [esp + 0x4a]
push 0
push eax
push ebp
call fcn.00428cf0
mov eax, dword [esp + 0x2c]
dec eax
add esp, 0xc
cmp eax, 0x1f
ja case.0x411841.2
movzx ecx, byte [eax + 0x411a24]
jmp dword [ecx*4 + 0x411a08]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, dword [ebx]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push ebp
call fcn.00410d00
add esp, 0x18
jmp 0x4119c8
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebx]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push ebp
mov esi, edi
call fcn.00410e40
add esp, 0x14
jmp 0x4119c8
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, dword [ebx]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push ebp
mov esi, edi
call fcn.00410f80
add esp, 0x18
jmp 0x4119c8
mov dword [esp + 0x34], 0x7c00
mov dword [esp + 0x38], 0x3e0
mov dword [esp + 0x3c], 0x1f
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [ebx]
push ecx
push edx
push eax
push ebp
lea ebx, [esp + 0x44]
call fcn.00411070
add esp, 0x10
jmp 0x4119c8
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [ebx]
push ecx
push edx
push eax
push ebp
call fcn.004111e0
add esp, 0x10
jmp 0x4119c8
mov dword [esp + 0x34], 0xff0000
mov dword [esp + 0x38], 0xff00
mov dword [esp + 0x3c], 0xff
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [ebx]
push ecx
push edx
push eax
push edi
push ebp
lea ebx, [esp + 0x48]
call fcn.004112a0
add esp, 0x14
jmp 0x4119c8
mov ecx, dword [esp + 0x4a]
push 0
push ecx
push ebp
call fcn.00428cf0
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
mov ecx, dword [ebx]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push ebp
call fcn.00411390
add esp, 0x20
jmp 0x4119c8
mov eax, dword [esp + 0x4a]
push 0
push eax
push ebp
call fcn.00428cf0
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
mov eax, dword [ebx]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
push ebp
call fcn.00411540
add esp, 0x20
jmp 0x4119c8
push ebp
push 3
lea edx, [esp + 0x3c]
push 4
push edx
call fcn.004294bd
mov eax, dword [esp + 0x5a]
push 0
push eax
push ebp
call fcn.00428cf0
mov eax, dword [esp + 0x3c]
add esp, 0x1c
cmp eax, 0x10
je 0x4118cc
cmp eax, 0x20
je 0x41191a
push edi
call fcn.00427d2f
add esp, 4
xor edi, edi
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00427d2f
push ebp
call fcn.00427e39
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
push ebp
call fcn.00427e39
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret