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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x60094
call fcn.0052f1c0
mov eax, dword [0x570930]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x60098], eax
mov eax, esi
cdq
mov ecx, 3
idiv ecx
push edi
xor edi, edi
cmp edx, edi
mov dword [esp + 0x30], eax
je 0x420078
push 0x564be0
push 1
call fcn.00435ad0
add esp, 8
cmp dword [ebp + 0x10], 0x10000
jb 0x420090
push 0x564bb0
push 1
call fcn.00435ad0
add esp, 8
cmp esi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
jle 0x4203f8
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
jmp 0x4200c0
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov si, word [edx]
lea eax, [edi - 1]
cdq
mov ecx, 3
idiv ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0xc]
add edx, ecx
mov bx, word [eax + edx*2]
mov eax, edi
cdq
mov edi, 3
idiv edi
add edx, ecx
cmp si, bx
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + edx*2]
mov word [esp + 0x50], dx
jne 0x42010f
push 0x564b70
push 1
call fcn.00435ad0
add esp, 8
mov eax, dword [esp + 0x1c]
xor edi, edi
test eax, eax
jle 0x420151
lea esp, [esp]
mov cx, word [esp + edi*4 + 0x20098]
cmp cx, bx
jne 0x420137
cmp word [esp + edi*4 + 0x2009a], si
je 0x42014d
cmp cx, si
jne 0x420146
cmp word [esp + edi*4 + 0x2009a], bx
je 0x42014d
inc edi
cmp edi, eax
jl 0x420120
jmp 0x420151
test edi, edi
jge 0x420192
cmp eax, 0x10000
jb 0x42016b
push 0x564b44
push 1
call fcn.00435ad0
mov eax, dword [esp + 0x24]
add esp, 8
mov cx, word [esp + 0x50]
mov word [esp + eax*4 + 0x20098], si
mov word [esp + eax*4 + 0x2009a], bx
mov word [esp + eax*2 + 0x98], cx
inc eax
mov dword [esp + 0x1c], eax
jmp 0x4203bf
mov ecx, dword [ebp + 0x14]
movsx eax, si
lea edx, [eax + eax*2]
movsx eax, word [esp + 0x50]
fld dword [ecx + edx*4]
lea edx, [ecx + edx*4]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
movsx esi, bx
fsub dword [eax]
lea esi, [esi + esi*2]
lea esi, [ecx + esi*4]
fstp dword [esp + 0x74]
lea ebx, [esp + edi*2 + 0x98]
fld dword [edx + 4]
mov dword [esp + 0x44], ebx
fsub dword [eax + 4]
movsx ebx, word [ebx]
fstp dword [esp + 0x78]
lea ebx, [ebx + ebx*2]
fld dword [edx + 8]
lea ecx, [ecx + ebx*4]
fsub dword [eax + 8]
fstp dword [esp + 0x7c]
fld dword [esi]
fsub dword [eax]
fstp dword [esp + 0x34]
fld dword [esi + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x38]
fld dword [esi + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x3c]
fld dword [ecx]
fsub dword [eax]
fstp dword [esp + 0x8c]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x90]
fld dword [ecx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x94]
fld dword [esp + 0x38]
fmul dword [esp + 0x7c]
fld dword [esp + 0x3c]
fmul dword [esp + 0x78]
fsubp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x3c]
fmul dword [esp + 0x74]
fld dword [esp + 0x34]
fmul dword [esp + 0x7c]
fsubp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x34]
fmul dword [esp + 0x78]
fld dword [esp + 0x38]
fmul dword [esp + 0x74]
fsubp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul dword [esp + 0x94]
fld dword [esp + 0x28]
fmul dword [esp + 0x90]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x8c]
faddp st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fcomp dword [0x568e64]
fnstsw ax
test ah, 0x41
jne 0x4203bf
fld dword [ecx]
fsub dword [edx]
fstp dword [esp + 0x68]
fld dword [ecx + 4]
fsub dword [edx + 4]
fstp dword [esp + 0x6c]
fld dword [ecx + 8]
fsub dword [edx + 8]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fmul dword [esp + 0x70]
fld dword [esp + 0x6c]
fmul dword [esp + 0x6c]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [esp + 0x68]
faddp st(1)
fstp dword [esp + 0x60]
fld dword [ecx]
fsub dword [esi]
fstp dword [esp + 0x80]
fld dword [ecx + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x84]
fld dword [ecx + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x88]
fld dword [esp + 0x88]
fmul dword [esp + 0x88]
fld dword [esp + 0x84]
fmul dword [esp + 0x84]
faddp st(1)
fld dword [esp + 0x80]
fmul dword [esp + 0x80]
faddp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x60]
fcomp dword [esp + 0x64]
fnstsw ax
test ah, 0x41
jne 0x420350
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x4c], ecx
jmp 0x420358
mov edx, dword [esp + 0x64]
mov dword [esp + 0x4c], edx
fld dword [esp + 0x4c]
fmul dword [0x5690f8]
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x4203bf
mov eax, dword [esp + 0x1c]
mov cx, word [esp + eax*4 + 0x20094]
dec eax
mov word [esp + edi*4 + 0x20098], cx
mov dx, word [esp + eax*4 + 0x2009a]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov ax, word [esp + eax*2 + 0x98]
mov word [esp + edi*4 + 0x2009a], dx
mov word [ecx], ax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
add edx, 2
inc ecx
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], eax
jne 0x4200c0
mov ecx, dword [esp + 0x20]
add ecx, 3
mov eax, edx
cmp ecx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
jl 0x4200a3
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
mov ecx, 0x8000
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
xor edi, edi
xor eax, eax
test edx, edx
jle 0x420456
movsx ecx, word [esp + eax*4 + 0x20098]
cmp word [esp + ecx*2 + 0x98], 0
lea ecx, [esp + ecx*2 + 0x98]
jge 0x420433
mov word [ecx], di
inc edi
movsx ecx, word [esp + eax*4 + 0x2009a]
cmp word [esp + ecx*2 + 0x98], 0
lea ecx, [esp + ecx*2 + 0x98]
jge 0x420451
mov word [ecx], di
inc edi
inc eax
cmp eax, edx
jl 0x420415
mov esi, dword [esp + 0x30]
lea ecx, [esi + esi*8]
lea ecx, [ecx*8 + 4]
mov eax, 0x20
call fcn.00432170
mov ebx, eax
mov ecx, edi
shl ecx, 4
mov eax, 0x20
mov dword [esp + 0x40], ebx
call fcn.00432170
mov ecx, dword [esp + 0x1c]
imul ecx, ecx, 0x38
mov dword [esp + 0x58], eax
mov eax, 0x20
call fcn.00432170
test si, si
mov dword [esp + 0x5c], eax
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1a], 0
mov word [ebx], si
mov dword [esp + 0x20], 0
jbe 0x4208cc
mov edx, dword [ebp + 0xc]
add ebx, 0xc
add edx, 4
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x50]
mov edi, dword [ebp + 0x14]
xor ecx, ecx
mov cx, word [eax - 2]
xor edx, edx
mov dx, word [eax - 4]
movsx eax, word [eax]
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], ecx
movsx ecx, cx
lea ecx, [ecx + ecx*2]
lea esi, [edi + ecx*4]
movsx eax, ax
movsx ecx, dx
mov dword [esp + 0x4c], edx
lea edx, [ecx + ecx*2]
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
lea edi, [edi + edx*4]
lea edx, [ebx - 8]
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00430ad0
fld dword [ebx]
fcomp dword [0x568ebc]
fnstsw ax
test ah, 5
jp 0x420528
mov byte [esp + 0x1b], 1
jmp 0x42053c
fld dword [ebx]
fcomp dword [0x568e6c]
fnstsw ax
test ah, 0x41
jne 0x42053c
mov byte [esp + 0x1a], 1
fld dword [esi]
fsub dword [edi]
fstp dword [esp + 0x34]
fld dword [esi + 4]
fsub dword [edi + 4]
fstp dword [esp + 0x38]
fld dword [esi + 8]
lea esi, [esp + 0x34]
fsub dword [edi + 8]
fstp dword [esp + 0x3c]
call fcn.0042db90
mov eax, dword [esp + 0x44]
fstp dword [esp + 0x30]
fld dword [eax]
lea esi, [esp + 0x24]
fsub dword [edi]
fstp dword [esp + 0x24]
fld dword [eax + 4]
fsub dword [edi + 4]
fstp dword [esp + 0x28]
fld dword [eax + 8]
fsub dword [edi + 8]
fstp dword [esp + 0x2c]
call fcn.0042db90
fstp dword [esp + 0x44]
fld dword [esp + 0x2c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x28]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x34]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fsubr dword [0x568e60]
fdivr dword [0x568e60]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x10]
fmul dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x10]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x10]
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x10]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x10]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x14]
fchs
fstp dword [esp + 0x10]
fld dword [0x568e60]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x24]
fadd dword [esp + 0x34]
fmul dword [esp + 0x14]
fstp dword [esp + 0x30]
fld dword [esp + 0x10]
mov eax, dword [esp + 0x30]
fmul dword [esp + 0x28]
mov dword [ebx + 8], eax
fadd dword [esp + 0x38]
fmul dword [esp + 0x14]
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
fld dword [esp + 0x10]
fmul dword [esp + 0x2c]
mov dword [ebx + 0xc], ecx
fadd dword [esp + 0x3c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fld dword [esp + 0x54]
mov dword [ebx + 0x10], edx
fmul dword [edi + 4]
fld dword [esp + 0x14]
fmul dword [edi + 8]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [edi]
faddp st(1)
fstp dword [ebx + 0x14]
fld dword [0x568e60]
fdiv dword [esp + 0x44]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x34]
fadd dword [esp + 0x24]
fmul dword [esp + 0x14]
fstp dword [esp + 0x44]
fld dword [esp + 0x10]
mov eax, dword [esp + 0x44]
fmul dword [esp + 0x38]
mov dword [ebx + 0x18], eax
movsx eax, word [esp + 0x4c]
mov ax, word [esp + eax*2 + 0x98]
test ax, ax
fadd dword [esp + 0x28]
fmul dword [esp + 0x14]
fstp dword [esp + 0x30]
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
fmul dword [esp + 0x3c]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x58]
fadd dword [esp + 0x2c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x54]
mov edx, dword [esp + 0x54]
fld dword [esp + 0x30]
mov dword [ebx + 0x20], edx
fmul dword [edi + 4]
fld dword [esp + 0x54]
fmul dword [edi + 8]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [edi]
faddp st(1)
fstp dword [ebx + 0x24]
jl 0x420730
movsx eax, ax
shl eax, 4
add eax, ecx
jmp 0x420732
xor eax, eax
mov edx, dword [esp + 0x48]
mov dword [ebx + 0x28], eax
movsx eax, dx
mov ax, word [esp + eax*2 + 0x98]
test ax, ax
jl 0x420753
movsx eax, ax
shl eax, 4
add eax, ecx
jmp 0x420755
xor eax, eax
mov esi, dword [esp + 0x60]
mov dword [ebx + 0x2c], eax
movsx eax, si
mov ax, word [esp + eax*2 + 0x98]
test ax, ax
jl 0x420776
movsx eax, ax
shl eax, 4
add eax, ecx
jmp 0x420778
xor eax, eax
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x30], eax
xor eax, eax
test edi, edi
jle 0x4207c3
jmp 0x420790
mov cx, word [esp + eax*4 + 0x20098]
cmp cx, si
jne 0x4207ab
cmp word [esp + eax*4 + 0x2009a], dx
je 0x420891
cmp cx, dx
jne 0x4207be
cmp word [esp + eax*4 + 0x2009a], si
je 0x420891
inc eax
cmp eax, edi
jl 0x420790
xor eax, eax
mov edx, dword [esp + 0x4c]
mov dword [ebx + 0x34], eax
xor eax, eax
test edi, edi
jle 0x420805
mov cx, word [esp + eax*4 + 0x20098]
cmp cx, dx
jne 0x4207ed
cmp word [esp + eax*4 + 0x2009a], si
je 0x4208a7
cmp cx, si
jne 0x420800
cmp word [esp + eax*4 + 0x2009a], dx
je 0x4208a7
inc eax
cmp eax, edi
jl 0x4207d2
xor eax, eax
mov dword [ebx + 0x38], eax
xor eax, eax
test edi, edi
jle 0x42084f
mov esi, dword [esp + 0x48]
jmp 0x420820
mov cx, word [esp + eax*4 + 0x20098]
cmp cx, si
jne 0x42083b
cmp word [esp + eax*4 + 0x2009a], dx
je 0x4208bd
cmp cx, dx
jne 0x42084a
cmp word [esp + eax*4 + 0x2009a], si
je 0x4208bd
inc eax
cmp eax, edi
jl 0x420820
xor eax, eax
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x20]
movzx edx, word [ecx]
inc eax
add esi, 6
add ebx, 0x48
cmp eax, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], esi
jl 0x4204c7
mov al, byte [esp + 0x1b]
test al, al
je 0x4208cc
mov al, byte [esp + 0x1a]
test al, al
jne 0x4208cc
mov eax, 1
jmp 0x4208ce
test eax, eax
jl 0x4207c3
mov ecx, dword [esp + 0x5c]
imul eax, eax, 0x38
add eax, ecx
jmp 0x4207c5
test eax, eax
jl 0x420805
mov ecx, dword [esp + 0x5c]
imul eax, eax, 0x38
add eax, ecx
jmp 0x420807
test eax, eax
jl 0x42084f
mov ecx, dword [esp + 0x5c]
imul eax, eax, 0x38
add eax, ecx
jmp 0x420851
xor eax, eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x40]
mov ebx, dword [ebp + 0x10]
mov edi, dword [esp + 0x58]
mov byte [ecx + 2], al
mov eax, 0x48800000
mov dword [edx + 8], eax
mov dword [edx + 4], eax
mov dword [edx], eax
mov eax, 0xc8800000
xor esi, esi
cmp ebx, 4
mov dword [edx + 0x14], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0xc], eax
jl 0x420b9e
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x48], 3
add ecx, 0x14
fld dword [ecx - 0x14]
fcomp dword [edx]
fnstsw ax
test ah, 5
jp 0x420924
mov eax, dword [ecx - 0x14]
mov dword [edx], eax
fld dword [ecx - 0x14]
fcomp dword [edx + 0xc]
fnstsw ax
test ah, 0x41
jne 0x420937
mov eax, dword [ecx - 0x14]
mov dword [edx + 0xc], eax
fld dword [ecx - 0x10]
fcomp dword [edx + 4]
fnstsw ax
test ah, 5
jp 0x42094a
mov eax, dword [ecx - 0x10]
mov dword [edx + 4], eax
fld dword [ecx - 0x10]
fcomp dword [edx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x42095d
mov eax, dword [ecx - 0x10]
mov dword [edx + 0x10], eax
fld dword [ecx - 0xc]
fcomp dword [edx + 8]
fnstsw ax
test ah, 5
jp 0x420970
mov eax, dword [ecx - 0xc]
mov dword [edx + 8], eax
fld dword [ecx - 0xc]
fcomp dword [edx + 0x14]
fnstsw ax
test ah, 0x41
jne 0x420983
mov eax, dword [ecx - 0xc]
mov dword [edx + 0x14], eax
mov ax, word [esp + esi*2 + 0x98]
test ax, ax
jl 0x4209b0
movsx eax, ax
shl eax, 4
add eax, edi
mov dword [eax], 0
mov ebx, dword [ecx - 0x14]
mov dword [eax + 4], ebx
mov ebx, dword [ecx - 0x10]
mov dword [eax + 8], ebx
mov ebx, dword [ecx - 0xc]
mov dword [eax + 0xc], ebx
fld dword [ecx - 8]
fcomp dword [edx]
fnstsw ax
test ah, 5
jp 0x4209c1
mov eax, dword [ecx - 8]
mov dword [edx], eax
fld dword [ecx - 8]
fcomp dword [edx + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4209d4
mov eax, dword [ecx - 8]
mov dword [edx + 0xc], eax
fld dword [ecx - 4]
fcomp dword [edx + 4]
fnstsw ax
test ah, 5
jp 0x4209e7
mov eax, dword [ecx - 4]
mov dword [edx + 4], eax
fld dword [ecx - 4]
fcomp dword [edx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4209fa
mov eax, dword [ecx - 4]
mov dword [edx + 0x10], eax
fld dword [ecx]
fcomp dword [edx + 8]
fnstsw ax
test ah, 5
jp 0x420a0b
mov eax, dword [ecx]
mov dword [edx + 8], eax
fld dword [ecx]
fcomp dword [edx + 0x14]
fnstsw ax
test ah, 0x41
jne 0x420a1c
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov ax, word [esp + esi*2 + 0x9a]
test ax, ax
jl 0x420a48
movsx eax, ax
shl eax, 4
add eax, edi
mov dword [eax], 0
mov ebx, dword [ecx - 8]
mov dword [eax + 4], ebx
mov ebx, dword [ecx - 4]
mov dword [eax + 8], ebx
mov ebx, dword [ecx]
mov dword [eax + 0xc], ebx
fld dword [ecx + 4]
fcomp dword [edx]
fnstsw ax
test ah, 5
jp 0x420a59
mov eax, dword [ecx + 4]
mov dword [edx], eax
fld dword [ecx + 4]
fcomp dword [edx + 0xc]
fnstsw ax
test ah, 0x41
jne 0x420a6c
mov eax, dword [ecx + 4]
mov dword [edx + 0xc], eax
fld dword [ecx + 8]
fcomp dword [edx + 4]
fnstsw ax
test ah, 5
jp 0x420a7f
mov eax, dword [ecx + 8]
mov dword [edx + 4], eax
fld dword [ecx + 8]
fcomp dword [edx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x420a92
mov eax, dword [ecx + 8]
mov dword [edx + 0x10], eax
fld dword [ecx + 0xc]
fcomp dword [edx + 8]
fnstsw ax
test ah, 5
jp 0x420aa5
mov eax, dword [ecx + 0xc]
mov dword [edx + 8], eax
fld dword [ecx + 0xc]
fcomp dword [edx + 0x14]
fnstsw ax
test ah, 0x41
jne 0x420ab8
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x14], eax
mov ax, word [esp + esi*2 + 0x9c]
test ax, ax
jl 0x420ae5
movsx eax, ax
shl eax, 4
add eax, edi
mov dword [eax], 0
mov ebx, dword [ecx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0xc]
mov dword [eax + 0xc], ebx
fld dword [ecx + 0x10]
fcomp dword [edx]
fnstsw ax
test ah, 5
jp 0x420af6
mov eax, dword [ecx + 0x10]
mov dword [edx], eax
fld dword [ecx + 0x10]
fcomp dword [edx + 0xc]
fnstsw ax
test ah, 0x41
jne 0x420b09
mov eax, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
fld dword [ecx + 0x14]
fcomp dword [edx + 4]
fnstsw ax
test ah, 5
jp 0x420b1c
mov eax, dword [ecx + 0x14]
mov dword [edx + 4], eax
fld dword [ecx + 0x14]
fcomp dword [edx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x420b2f
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x10], eax
fld dword [ecx + 0x18]
fcomp dword [edx + 8]
fnstsw ax
test ah, 5
jp 0x420b42
mov eax, dword [ecx + 0x18]
mov dword [edx + 8], eax
fld dword [ecx + 0x18]
fcomp dword [edx + 0x14]
fnstsw ax
test ah, 0x41
jne 0x420b55
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x14], eax
mov ax, word [esp + esi*2 + 0x9e]
test ax, ax
jl 0x420b82
movsx eax, ax
shl eax, 4
add eax, edi
mov dword [eax], 0
mov ebx, dword [ecx + 0x10]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x14]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x18]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x48]
mov ebx, dword [ebp + 0x10]
add eax, 4
add esi, 4
add ecx, 0x30
cmp eax, ebx
mov dword [esp + 0x48], eax
jl 0x420913
cmp esi, ebx
jge 0x420c57
mov eax, dword [ebp + 0x14]
lea ecx, [esi + esi*2]
lea ecx, [eax + ecx*4 + 8]
fld dword [ecx - 8]
fcomp dword [edx]
fnstsw ax
test ah, 5
jp 0x420bc1
mov eax, dword [ecx - 8]
mov dword [edx], eax
fld dword [ecx - 8]
fcomp dword [edx + 0xc]
fnstsw ax
test ah, 0x41
jne 0x420bd4
mov eax, dword [ecx - 8]
mov dword [edx + 0xc], eax
fld dword [ecx - 4]
fcomp dword [edx + 4]
fnstsw ax
test ah, 5
jp 0x420be7
mov eax, dword [ecx - 4]
mov dword [edx + 4], eax
fld dword [ecx - 4]
fcomp dword [edx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x420bfa
mov eax, dword [ecx - 4]
mov dword [edx + 0x10], eax
fld dword [ecx]
fcomp dword [edx + 8]
fnstsw ax
test ah, 5
jp 0x420c0b
mov eax, dword [ecx]
mov dword [edx + 8], eax
fld dword [ecx]
fcomp dword [edx + 0x14]
fnstsw ax
test ah, 0x41
jne 0x420c1c
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov ax, word [esp + esi*2 + 0x98]
test ax, ax
jl 0x420c48
movsx eax, ax
shl eax, 4
add eax, edi
mov dword [eax], 0
mov ebx, dword [ecx - 8]
mov dword [eax + 4], ebx
mov ebx, dword [ecx - 4]
mov dword [eax + 8], ebx
mov ebx, dword [ecx]
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 0x10]
inc esi
add ecx, 0xc
cmp esi, eax
jl 0x420bb0
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x20], ecx
jle 0x420d2d
mov edi, dword [esp + 0x5c]
add edi, 0x18
jmp 0x420c80
mov ecx, dword [esp + 0x20]
jmp 0x420c80
movsx eax, word [esp + ecx*4 + 0x20098]
mov edx, dword [ebp + 0x14]
movsx ecx, word [esp + ecx*4 + 0x2009a]
mov dword [edi - 0x18], 0
lea eax, [eax + eax*2]
mov esi, dword [edx + eax*4]
lea eax, [edx + eax*4]
mov dword [edi - 0x14], esi
mov esi, dword [eax + 4]
mov dword [edi - 0x10], esi
mov esi, dword [eax + 8]
mov dword [edi - 0xc], esi
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*4]
lea ebx, [edi + 0x10]
mov esi, ebx
fld dword [ecx]
fsub dword [eax]
fstp dword [ebx]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [edi + 0x14]
fld dword [ecx + 8]
fsub dword [eax + 8]
fstp dword [edi + 0x18]
call fcn.0042db90
lea esi, [edi - 8]
fstp dword [edi + 0x1c]
mov edx, esi
call fcn.0042e840
fld dword [edi + 0x14]
fmul dword [edi]
mov eax, dword [esp + 0x20]
fld dword [edi + 0x18]
mov ecx, dword [esp + 0x1c]
fmul dword [edi - 4]
inc eax
add edi, 0x38
cmp eax, ecx
fsubp st(1)
mov dword [esp + 0x20], eax
fstp dword [edi - 0x34]
fld dword [edi - 0x20]
fmul dword [esi]
fld dword [edi - 0x38]
fmul dword [ebx]
fsubp st(1)
fstp dword [edi - 0x30]
fld dword [edi - 0x3c]
fmul dword [ebx]
fld dword [edi - 0x24]
fmul dword [esi]
fsubp st(1)
fstp dword [edi - 0x2c]
jl 0x420c72
mov ecx, dword [esp + 0x6009c]
xor ecx, dword [ebp + 4]
mov eax, dword [esp + 0x40]
call fcn.0052e7b9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret