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

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 0x2712
jg 0x42449c
je 0x42446b
add eax, 0xfffff05e
cmp eax, 0x2d
ja case.0x4244b1.10009
movzx eax, byte [eax + 0x4245c0]
jmp dword [eax*4 + 0x424590]
mov eax, dword [esp + 0xc]
test eax, eax
js 0x42455a
cmp eax, 0xa
jg 0x42455a
mov ecx, dword [esp + 4]
mov dword [ecx + 0x18], eax
xor eax, eax
ret
mov eax, dword [esp + 0xc]
test eax, eax
js 0x42455a
cmp eax, 0x64
jg 0x42455a
mov edx, dword [esp + 4]
mov dword [edx + 0x38], eax
xor eax, eax
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x34], ecx
xor eax, eax
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov dword [edx + 0x2c], eax
xor eax, eax
ret
mov ecx, dword [esp + 0xc]
cmp ecx, 0x1f4
jg 0x424310
cmp ecx, 0xffffffff
jne 0x42455a
mov edx, dword [esp + 4]
mov eax, dword [edx + 4]
imul eax, eax, 0x3f7a0
cmp ecx, eax
cmovge ecx, eax
mov dword [edx + 0x28], ecx
xor eax, eax
ret
mov eax, dword [esp + 0xc]
cmp eax, 8
jl 0x42455a
cmp eax, 0x18
jg 0x42455a
mov ecx, dword [esp + 4]
mov dword [ecx + 0x3c], eax
xor eax, eax
ret
mov edx, dword [esp + 4]
mov eax, dword [edx + 0x3c]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
xor eax, eax
ret
mov eax, dword [esp + 0xc]
test eax, eax
js 0x42455a
cmp eax, 1
jg 0x42455a
mov edx, dword [esp + 4]
mov dword [edx + 0x44], eax
xor eax, eax
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42455a
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0x44]
mov dword [eax], edx
xor eax, eax
ret
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov edx, dword [esi + 4]
push edi
mov edi, dword [eax + 4]
lea edi, [edi + ecx + 0x400]
imul ecx, edx
imul edi, edx
lea edi, [esi + edi*4 + 0xf4]
lea ebx, [edi + ecx*4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
lea ecx, [eax + ecx*4 + 0x400]
imul ecx, edx
lea edx, [ecx*4 + 0xa8]
push edx
lea eax, [esi + 0x4c]
push 0
push eax
call sub.MSVCR80.DLL_memset
mov edx, dword [esi]
mov eax, dword [edx + 8]
imul eax, dword [esi + 4]
add esp, 0xc
xor ecx, ecx
test eax, eax
jle 0x42441a
movss xmm0, dword [0x451540]
mov edx, ebx
mov eax, edi
sub edx, edi
jmp 0x424400
movss dword [edx + eax], xmm0
movss dword [eax], xmm0
mov edi, dword [esi]
mov edi, dword [edi + 8]
imul edi, dword [esi + 4]
inc ecx
add eax, 4
cmp ecx, edi
jl 0x424400
movss xmm0, dword [0x451430]
pop edi
mov dword [esi + 0xd8], 0
movss dword [esi + 0x54], xmm0
mov dword [esi + 0x50], 2
mov dword [esi + 0x58], 0x100
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
pop esi
pop ebx
xor eax, eax
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42455a
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0x4c]
mov dword [eax], edx
xor eax, eax
ret
mov eax, dword [esp + 0xc]
test eax, eax
js 0x42455a
cmp eax, 2
jg 0x42455a
mov ecx, dword [esp + 4]
xor edx, edx
cmp eax, 1
setle dl
mov dword [ecx + 0x14], edx
xor edx, edx
test eax, eax
sete dl
xor eax, eax
mov dword [ecx + 0xc], edx
ret
add eax, 0xffffd8e8
cmp eax, 0x14
ja case.0x4244b1.10009
movzx eax, byte [eax + 0x424618]
jmp dword [eax*4 + 0x4245f0]
mov eax, dword [esp + 0xc]
test eax, eax
js 0x42455a
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
cmp eax, dword [edx + 8]
jge 0x42455a
mov dword [ecx + 0x20], eax
xor eax, eax
ret
mov eax, dword [esp + 0xc]
cmp eax, 1
jl 0x42455a
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
cmp eax, dword [edx + 8]
jg 0x42455a
mov dword [ecx + 0x24], eax
xor eax, eax
ret
mov eax, dword [esp + 0xc]
cmp eax, 1
jl 0x42455a
cmp eax, 2
jg 0x42455a
mov ecx, dword [esp + 4]
mov dword [ecx + 8], eax
xor eax, eax
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov dword [edx + 0x30], eax
xor eax, eax
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x424585
mov ecx, dword [esp + 4]
push 0x40
push eax
add ecx, 0x78
push ecx
call sub.MSVCR80.DLL_memcpy
add esp, 0xc
xor eax, eax
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x424585
movq xmm0, qword [eax]
mov edx, dword [esp + 4]
movq qword [edx + 0xb8], xmm0
xor eax, eax
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x42455e
or eax, 0xffffffff
ret
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax], edx
xor eax, eax
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x40], ecx
xor eax, eax
ret
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [edx + 0xec], eax
xor eax, eax
ret
mov eax, 0xfffffffb
ret