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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x2712
jg 0x420184
je 0x42015c
add eax, 0xfffff05e
cmp eax, 0x2d
ja case.0x420199.10009
movzx eax, byte [eax + 0x4202cc]
jmp dword [eax*4 + 0x42029c]
mov eax, dword [ebp + 0x10]
cmp eax, 0xa
ja 0x42025f
mov dword [edi + 0x18], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp eax, 0x64
ja 0x42025f
mov dword [edi + 0x38], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x34], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x2c], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x1f4
jg 0x420022
cmp ecx, 0xffffffff
jne 0x42025f
imul eax, dword [edi + 4], 0x3f7a0
cmp ecx, eax
cmovl eax, ecx
mov dword [edi + 0x28], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 8]
cmp eax, 0x10
ja 0x42025f
mov dword [edi + 0x3c], ecx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x3c]
pop edi
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp eax, 1
ja 0x42025f
mov dword [edi + 0x44], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42025f
mov eax, dword [edi + 0x44]
mov dword [ecx], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, dword [edi + 4]
push ebx
push esi
mov esi, dword [eax + 8]
mov edx, dword [eax + 4]
lea eax, [esi + 0x400]
add eax, edx
imul eax, ecx
add eax, 0x3d
lea ebx, [edi + eax*4]
mov eax, esi
imul eax, ecx
shl eax, 2
mov dword [ebp - 4], eax
lea eax, [edx + 0x400]
lea eax, [eax + esi*4]
imul eax, ecx
lea eax, [eax*4 + 0xa8]
push eax
lea eax, [edi + 0x4c]
push 0
push eax
call fcn.00458760
mov eax, dword [edi]
add esp, 0xc
xor ecx, ecx
mov eax, dword [eax + 8]
imul eax, dword [edi + 4]
test eax, eax
jle 0x42010f
mov edx, dword [ebp - 4]
nop word [eax + eax]
mov dword [ebx + edx], 0xc1e00000
lea ebx, [ebx + 4]
mov dword [ebx - 4], 0xc1e00000
inc ecx
mov eax, dword [edi]
mov eax, dword [eax + 8]
imul eax, dword [edi + 4]
cmp ecx, eax
jl 0x4200f0
pop esi
pop ebx
mov dword [edi + 0xd8], 0
xor eax, eax
mov dword [edi + 0x54], 0x3f800000
mov dword [edi + 0x50], 2
mov dword [edi + 0x58], 0x100
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42025f
mov eax, dword [edi + 0x4c]
mov dword [ecx], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
ja 0x42025f
xor eax, eax
cmp ecx, 1
setle al
mov dword [edi + 0x14], eax
xor eax, eax
test ecx, ecx
sete al
mov dword [edi + 0xc], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
add eax, 0xffffd8e8
cmp eax, 0x14
ja case.0x420199.10009
movzx eax, byte [eax + 0x420324]
jmp dword [eax*4 + 0x4202fc]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
js 0x42025f
mov eax, dword [edi]
cmp ecx, dword [eax + 8]
jge 0x42025f
mov dword [edi + 0x20], ecx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
jl 0x42025f
mov eax, dword [edi]
cmp ecx, dword [eax + 8]
jg 0x42025f
mov dword [edi + 0x24], ecx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 1]
cmp eax, 1
ja 0x42025f
mov dword [edi + 8], ecx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x30], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x420288
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x78], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x88], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x98], xmm0
movups xmm0, xmmword [eax + 0x30]
xor eax, eax
movups xmmword [edi + 0xa8], xmm0
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x420288
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0xb8], eax
xor eax, eax
mov dword [edi + 0xbc], ecx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x420267
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov dword [ecx], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x40], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi + 0xec], eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffb
pop edi
mov esp, ebp
pop ebp
ret