Function at 0x40f6f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 0x190
jg 0x40f845
je 0x40f835
add eax, 0xfffffff6
cmp eax, 0xc0
ja case.default.0x40f8b1
movzx eax, byte [eax + 0x40f998]
jmp dword [eax*4 + 0x40f950]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x2c]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 4]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 8]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x14]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x18]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x1c]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x20]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x24]
mov dword [eax], edx
xor eax, eax
ret
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp dword [edx + 0x28], ecx
sete cl
mov dword [eax], ecx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x54]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x58]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x60]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x5c]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x64]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x44]
mov dword [eax], edx
xor eax, eax
ret
cmp eax, 0x3e8
jg 0x40f8a3
je 0x40f893
sub eax, 0x191
je 0x40f883
sub eax, 1
je 0x40f873
sub eax, 0x62
jne case.default.0x40f8b1
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x50]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x4c]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x48]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x30]
mov dword [eax], edx
xor eax, eax
ret
add eax, 0xfffffc17
cmp eax, 8
ja case.default.0x40f8b1
jmp dword [eax*4 + 0x40fa5c]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x3c]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x40]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x6c]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x34]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x38]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x70]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x74]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x78]
mov dword [eax], edx
xor eax, eax
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x7c]
mov dword [eax], edx
xor eax, eax
ret
mov eax, 0xffffffd8
ret