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

Disassembly:
mov eax, dword [0x784e98]
sub esp, 0x70
test eax, eax
push ebp
push esi
je 0x4285ce
mov eax, dword [0x74c794]
test eax, eax
je 0x4280f2
mov ax, word [0x4b6da0]
mov ebp, 1
cmp ax, bp
je 0x4280a9
test ax, ax
jne 0x428063
mov eax, dword [0x74c7b0]
push ebp
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [0x74c67c]
inc eax
mov dword [0x74c67c], eax
mov ax, word [0x4b6da0]
cmp ax, 2
jne 0x4280a2
mov eax, dword [0x74c7b0]
push 2
push 4
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xa0]
mov eax, dword [0x74c67c]
mov edx, dword [0x4ba868]
inc eax
push edx
mov dword [0x74c67c], eax
mov eax, dword [0x74c7b0]
push 0x18
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
inc dword [0x74c67c]
mov word [0x4b6da0], bp
cmp word [0x4b6da2], bp
je 0x4280cd
mov eax, dword [0x74c7b0]
mov word [0x4b6da2], bp
push ebp
push 0x13
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
inc dword [0x74c67c]
cmp word [0x4b6da4], 4
je 0x4281b0
mov eax, dword [0x74c7b0]
mov word [0x4b6da4], 4
push 4
mov edx, dword [eax]
jmp 0x4281a4
mov ax, word [0x4b6da0]
mov ebp, 1
cmp ax, 2
je 0x42815e
test ax, ax
jne 0x42811c
mov eax, dword [0x74c7b0]
push ebp
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
inc dword [0x74c67c]
mov eax, dword [0x74c7b0]
push 4
push 4
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0xa0]
mov eax, dword [0x74c67c]
push 0
inc eax
push 0x18
mov dword [0x74c67c], eax
mov eax, dword [0x74c7b0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [0x74c67c]
mov word [0x4b6da0], 2
inc eax
mov dword [0x74c67c], eax
mov ecx, 5
cmp word [0x4b6da2], cx
je 0x428187
mov eax, dword [0x74c7b0]
mov word [0x4b6da2], cx
push ecx
push 0x13
mov edx, dword [eax]
push eax
call dword [edx + 0x58]
inc dword [0x74c67c]
mov ecx, 6
cmp word [0x4b6da4], cx
je 0x4281b0
mov eax, dword [0x74c7b0]
mov word [0x4b6da4], cx
push ecx
mov edx, dword [eax]
push 0x14
push eax
call dword [edx + 0x58]
inc dword [0x74c67c]
cmp word [0x4b6da8], 0
je 0x4281d8
mov eax, dword [0x74c7b0]
mov word [0x4b6da8], 0
push 0
push 0xe
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
inc dword [0x74c67c]
cmp word [0x4b6d9c], 0x1a
je 0x42820e
mov ecx, dword [0x847288]
mov eax, dword [0x74c7b0]
mov word [0x4b6d9c], 0x1a
mov ecx, dword [ecx + 0x113c]
mov edx, dword [eax]
push ecx
push 0
push eax
call dword [edx + 0x98]
inc dword [0x74c678]
mov esi, dword [0x82d97c]
test esi, esi
je 0x4285ce
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x4285c2
movsx eax, byte [0x4c8730]
lea ecx, [eax + eax*4]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [esi + 0x2c]
shl eax, 2
mov ecx, dword [eax + 0x4c7ad4]
cmp ecx, edx
jne 0x4282b9
cmp dword [eax + 0x4c7a20], ebp
jne 0x4282b9
mov ecx, dword [eax + 0x4c7a24]
test ecx, ecx
jne 0x4282b9
fld dword [eax + 0x4c7a88]
fsub dword [eax + 0x4c7a94]
fld dword [eax + 0x4c7a8c]
fsub dword [eax + 0x4c7a98]
fstp dword [esp + 0x44]
fld dword [eax + 0x4c7a90]
fsub dword [eax + 0x4c7a9c]
fstp dword [esp + 0x48]
fcomp dword [0x4b00c8]
fnstsw ax
test ah, 1
je 0x4282b9
fld dword [esp + 0x44]
fcomp dword [0x4b00c8]
fnstsw ax
test ah, 1
je 0x4282b9
fld dword [esp + 0x48]
fcomp dword [0x4b00c8]
fnstsw ax
test ah, 1
jne 0x4285c2
cmp dword [0x784eb8], 0xd
jne 0x4282d6
mov eax, dword [esi + 0x330]
cmp eax, 0x1d
jl 0x4282d6
cmp eax, 0x1f
jle 0x4285c2
mov eax, dword [esi + 0x330]
cmp eax, 0x23
jge 0x4282ed
lea edx, [eax + eax*8]
lea edi, [edx*4 + 0x4b6778]
jmp 0x428346
mov eax, dword [esi + 0x364]
mov edi, 0x4b6c64
mov ecx, dword [eax + 0x17b0]
mov edx, dword [ecx + 0x14]
mov dword [0x4b6c70], edx
mov eax, dword [esi + 0x364]
mov ecx, dword [eax + 0x17b0]
mov edx, dword [ecx + 0x18]
mov dword [0x4b6c6c], edx
mov eax, dword [esi + 0x364]
mov ecx, dword [eax + 0x17b0]
mov edx, dword [ecx + 4]
mov dword [0x4b6c64], edx
mov eax, dword [esi + 0x364]
mov ecx, dword [eax + 0x17b0]
mov edx, dword [ecx + 8]
mov dword [0x4b6c68], edx
mov eax, dword [esi + 0xdc4]
test eax, eax
je 0x4285c2
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x14], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x18], edx
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x24], edx
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x30], edx
mov eax, dword [edi]
mov dword [esp + 0x34], eax
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x70]
fld dword [esi + 0xe40]
fmul dword [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
push edx
fstp dword [esp + 0x18]
fld dword [esi + 0xe40]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esi + 0xe40]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esi + 0xe40]
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esi + 0xe40]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esi + 0xe40]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esi + 0xe40]
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esi + 0xe40]
fmul dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esi + 0xe40]
fmul dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esi + 0xe40]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esi + 0xe40]
fmul dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esi + 0xe40]
fmul dword [esp + 0x44]
fstp dword [esp + 0x44]
mov eax, dword [esi + 0x398]
lea ecx, [eax + 0x14]
add eax, 0x54
push ecx
push eax
call fcn.00443580
mov eax, dword [esi + 0x398]
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x30]
lea edx, [eax + 0x14]
push ecx
add eax, 0x54
push edx
push eax
call fcn.00443580
mov eax, dword [esi + 0x398]
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x4c]
lea ecx, [eax + 0x14]
push edx
add eax, 0x54
push ecx
push eax
call fcn.00443580
mov eax, dword [esi + 0x398]
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x68]
lea edx, [eax + 0x14]
push ecx
add eax, 0x54
push edx
push eax
call fcn.00443580
fld dword [esi + 0xe58]
fcomp dword [0x4b0004]
add esp, 0x40
fnstsw ax
test ah, 0x40
jne 0x428539
fld dword [esi + 0xe5c]
fcomp dword [0x4b0004]
fnstsw ax
test ah, 0x40
je 0x428512
fld dword [esi + 0xe58]
fsub dword [0x4b0018]
fmul dword [0x4b018c]
fadd dword [0x4b003c]
fstp dword [esp + 0xc]
mov eax, dword [esp + 0xc]
and eax, 0xffffff
jmp 0x42853e
fld dword [0x4b0018]
fsub dword [esi + 0xe58]
fmul dword [0x4b018c]
fadd dword [0x4b003c]
fstp dword [esp + 0xc]
mov eax, dword [esp + 0xc]
and eax, 0xffffff
jmp 0x42853e
mov eax, 0x80
mov ecx, dword [0x74c794]
test ecx, ecx
je 0x428556
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
jmp 0x42855b
shl eax, 0x18
mov ecx, eax
fld dword [edi + 0x20]
fmul dword [0x4b0320]
push 0
push 0x1a
push 0xffffffffffffffff
push 0
push 0xc0000000
push ecx
push ecx
lea eax, [esp + 0x68]
lea edx, [esp + 0x80]
fstp dword [esp]
fld dword [edi + 0x1c]
fmul dword [0x4b0320]
push ecx
fstp dword [esp]
fld dword [edi + 0x18]
fmul dword [0x4b0320]
push ecx
fstp dword [esp]
fld dword [edi + 0x14]
fmul dword [0x4b0320]
push ecx
lea ecx, [esp + 0x80]
fstp dword [esp]
push eax
push ecx
lea eax, [esp + 0xa0]
push edx
push eax
call fcn.00489530
add esp, 0x38
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x42821d
pop edi
pop esi
pop ebp
add esp, 0x70
ret