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

Disassembly:
sub esp, 0x100
fld dword [edx]
xor eax, eax
fmul dword [0x4c49dc]
push ebx
push ebp
push esi
push edi
mov ecx, 0x35
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
fstp dword [esp + 0xbc]
fld dword [edx + 4]
fmul dword [0x4c49dc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
fstp dword [esp + 0xc0]
fld dword [edx + 8]
mov dword [esp + 0x48], eax
fmul dword [0x4c49dc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
fstp dword [esp + 0xc4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x114]
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0x3f800000
mov word [esp + 0x108], 0xffff
call fcn.0040ed50
mov esi, dword [0x14c8e90]
movzx edx, word [esi + 8]
lea eax, [edx + edx*2]
shl eax, 2
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x18]
add esp, 4
sub eax, edx
lea ecx, [eax - 1]
lea eax, [eax + eax*2]
lea eax, [eax*4 - 0xc]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
lea esp, [esp]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
test ecx, ecx
jl 0x42f53c
cmp ecx, dword [esi + 0xc]
jge 0x42f53c
mov eax, dword [esi]
mov ebp, dword [esp + 0x1c]
mov edi, dword [eax + ebp]
mov ebx, dword [esi + 4]
add eax, ebp
shr edi, 8
lea edi, [ebx + edi*4]
mov bl, byte [eax + 8]
test bl, bl
mov dword [esp + 0x18], edi
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], bl
jbe 0x42f53c
lea ecx, [ecx]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
test ebp, ebp
je 0x42f517
mov edx, dword [ebp + 0xa8]
test edx, 0x1000000
jne 0x42f517
mov ax, word [ebp + 0xbc]
movsx ecx, ax
lea edi, [ecx + ecx*2]
mov ecx, dword [0x14cc4b0]
shl edi, 5
add edi, dword [ecx + 0x38]
cmp ax, 0xffff
je 0x42f4bc
lea eax, [esp + 0x3c]
cmp ebp, eax
je 0x42f4bc
test dl, 1
jne 0x42f4c4
test edx, 0x800000
je 0x42f517
fld dword [edi + 0x48]
fadd dword [ebp + 0x34]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 0x41
jne 0x42f517
test edx, 0x800000
je 0x42f517
lea ecx, [esp + 0x6c]
push ecx
call fcn.00418600
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42f513
mov eax, dword [esp + 0x114]
lea ecx, [edi + 0x18]
lea edx, [edi + 0x10]
lea esi, [edi + 8]
call fcn.00410f70
test eax, eax
jne 0x42f595
mov esi, dword [0x14c8e90]
mov bl, byte [esp + 0x14]
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
inc al
add edx, 4
cmp al, bl
mov byte [esp + 0x13], al
mov dword [esp + 0x18], edx
jb 0x42f470
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
inc eax
add ebp, 0xc
inc ecx
cmp eax, 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
jl 0x42f430
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x24]
inc edi
add ecx, edx
cmp edi, 2
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
jl 0x42f420
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x100
ret
mov edx, dword [esp + 0x114]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
mov eax, ebx
call fcn.00418ec0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x100
ret