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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54f8c0
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push esi
mov esi, dword [esp + 0xf0]
mov ebx, ecx
test esi, esi
jne 0x4210f1
xor eax, eax
jmp 0x4224b0
mov eax, dword [ebx + 8]
push ebp
mov ebp, dword [0x554378]
push edi
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax + 0x68]
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 0x6c]
mov dword [esp + 0x98], ecx
mov ecx, dword [eax + 0x7c]
mov dword [esp + 0x90], edx
mov edx, dword [eax + 0x80]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 0x84]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x88]
mov eax, dword [eax + 0x8c]
mov edi, dword [0x55437c]
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x78], 0
jle 0x422293
mov eax, dword [esp + 0x78]
mov edx, dword [ebx + 0x58]
mov dword [esp + 0x60], 0x42b40000
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
lea ebp, [eax + eax*2]
shl ebp, 2
mov dword [esp + 0x48], ebp
fld dword [edx + ebp]
fld dword [edx + ebp + 0x14]
fmul dword [0x55778c]
lea ecx, [edx + ebp]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
fstp dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0xc]
fld dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
fsub dword [esp + 0x20]
fld st(1)
fsub dword [esp + 0x28]
fld dword [esp + 0x24]
fcomp dword [esp + 0x20]
mov edx, dword [ecx + 0x3c]
mov edi, dword [ecx + 0x18]
mov dword [esp + 0x30], edx
fnstsw ax
test ah, 0x41
jne 0x4211f3
mov dword [esp + 0x60], 0x43870000
fld st(0)
fabs
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x421240
fld st(1)
fdiv st(1)
fld1
fpatan
fmul dword [0x5593e8]
fstp dword [esp + 0x60]
fcom dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x421240
fld st(1)
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x421240
fld dword [esp + 0x60]
fadd dword [0x5593ec]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fcomp dword [0x555a28]
fnstsw ax
test ah, 1
je 0x42128d
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x421270
fstp st(0)
fld dword [esp + 0x60]
fadd dword [0x5593ec]
fstp dword [esp + 0x60]
jmp 0x421291
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x421291
fld dword [esp + 0x60]
fadd dword [0x559410]
fstp dword [esp + 0x60]
jmp 0x421291
fstp st(0)
fstp st(0)
fld dword [ecx + 0x28]
fmul dword [0x557ce0]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x50], edx
push edi
fstp dword [esp + 0x18]
fld dword [ecx + 0x2c]
fmul dword [0x557ce0]
lea edx, [esp + 0xc4]
mov dword [esp + 0x58], eax
fstp dword [esp + 0x38]
fld dword [ecx + 0x30]
fmul dword [0x557ce0]
mov ecx, dword [0x554180]
add ecx, 0x3c
push ecx
push 0x56d810
fstp dword [esp + 0x68]
push edx
fmul dword [0x557ce0]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fmul dword [0x557ce0]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [0x557ce0]
fstp dword [esp + 0x38]
fld dword [esp + 0x30]
fmul dword [0x557ce0]
fstp dword [esp + 0x30]
call dword [0x5550d8]
fld dword [esp + 0x70]
fmul dword [0x5593f4]
mov eax, dword [ebx + 0x58]
add esp, 0x10
fld st(0)
fsin
mov ecx, dword [eax + ebp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], ecx
test eax, eax
fst dword [esp + 0x38]
fmul dword [esp + 0x40]
fstp dword [esp + 0x4c]
fld dword [esp + 0x2c]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x30]
fcos
fmul dword [esp + 0x40]
fld st(0)
fadd dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x4c]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x58]
fld dword [esp + 0x24]
fsub st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x28]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x64]
fld st(0)
fadd dword [esp + 0x20]
fstp dword [esp + 0x70]
fld dword [esp + 0x4c]
fadd dword [esp + 0x28]
fstp dword [esp + 0x68]
fld dword [esp + 0x20]
fsub st(1)
fstp dword [esp + 0x74]
fstp st(0)
fld dword [esp + 0x38]
fmul dword [esp + 0x3c]
fadd st(0), st(0)
jne 0x421807
fstp dword [esp + 0x38]
mov ecx, esi
call dword [0x55437c]
mov ebp, dword [0x554378]
push 0
mov ecx, esi
call ebp
mov edx, dword [ebx + 0x58]
mov eax, dword [esp + 0x48]
add eax, edx
cmp dword [eax + 0x80], 1
je 0x4215ec
cmp dword [eax + 0x84], 1
je 0x4215ec
mov eax, dword [esp + 0x44]
test eax, eax
je 0x42155e
fld dword [esp + 0x54]
fmul dword [0x5593e8]
push 0x3f800000
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
fmul dword [0x5593e8]
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x3c]
fstp dword [esp + 0x38]
fld dword [esp + 0x64]
fsub dword [esp + 0x48]
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
push ecx
push edx
mov ecx, esi
push ebx
call 0x79142a
fld dword [esp + 0x5c]
fadd dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edi
mov eax, dword [esp + 0x58]
push 0x3f800000
push eax
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov ecx, esi
call 0x5b94f3
ret
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
call 0x7d8d7e
mov eax, dword [esp + 0x44]
test eax, eax
je 0x42162e
fld dword [esp + 0x54]
fmul dword [0x5593e8]
push 0x3f800000
push ecx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
fstp dword [esp]
fld dword [esp + 0x58]
fmul dword [0x5593e8]
push ecx
mov ecx, dword [esp + 0x40]
fstp dword [esp]
push eax
push ecx
push edx
mov ecx, esi
call 0x58e514
fld dword [esp + 0x40]
fadd st(0), st(0)
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0x3f800000
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
push eax
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
mov ecx, esi
push edx
call 0x7aa7fd
mov dword [eax + 8], edi
mov ecx, esi
call dword [0x554370]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x421ca5
mov ecx, esi
call dword [0x55437c]
push edi
mov ecx, ebx
call fcn.0041e3c0
test eax, eax
mov eax, dword [esp + 0x44]
jne 0x421731
test eax, eax
je 0x4216ef
push 0
mov ecx, esi
call ebp
fld dword [esp + 0x54]
fadd dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc0]
push ecx
push 0
fmul dword [0x55778c]
fld dword [esp + 0x64]
fsub dword [esp + 0x48]
push edx
push ecx
fstp dword [esp + 0x20]
fld st(0)
fsin
fmul dword [esp + 0x20]
fadd dword [esp + 0x44]
fadd dword [esp + 0x4c]
fstp dword [esp]
fcos
fmul dword [esp + 0x20]
fadd dword [esp + 0x24]
fadd dword [esp + 0x48]
jmp 0x421c86
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
add eax, ecx
mov ecx, 1
cmp dword [eax + 0x80], ecx
je 0x42170d
cmp dword [eax + 0x84], ecx
jne 0x421717
fld dword [esp + 0x4c]
fadd st(0), st(0)
fstp dword [esp + 0x38]
push 0
mov ecx, esi
call ebp
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0xc0]
push edx
push 0
push eax
jmp 0x4217da
test eax, eax
je 0x421794
push 3
mov ecx, esi
call ebp
fld dword [esp + 0x54]
fadd dword [esp + 0x50]
lea ecx, [esp + 0xc0]
push ecx
push 0
fmul dword [0x55778c]
fld dword [esp + 0x64]
fsub dword [esp + 0x48]
push ecx
fstp dword [esp + 0x1c]
fld dword [esp + 0x48]
fmul dword [0x5593f8]
fstp dword [esp]
push ecx
fld st(0)
fsin
fmul dword [esp + 0x20]
fadd dword [esp + 0x44]
fadd dword [esp + 0x4c]
fstp dword [esp]
fcos
fmul dword [esp + 0x20]
fadd dword [esp + 0x24]
fadd dword [esp + 0x48]
jmp 0x421c86
mov edx, dword [ebx + 0x58]
mov eax, dword [esp + 0x48]
add eax, edx
mov ecx, 1
cmp dword [eax + 0x80], ecx
je 0x4217b2
cmp dword [eax + 0x84], ecx
jne 0x4217bc
fld dword [esp + 0x4c]
fadd st(0), st(0)
fstp dword [esp + 0x38]
push 3
mov ecx, esi
call ebp
fld dword [esp + 0x3c]
fmul dword [0x5593f8]
lea ecx, [esp + 0xc0]
push ecx
push 0
push ecx
fstp dword [esp]
fld dword [esp + 0x2c]
fadd dword [esp + 0x30]
push ecx
fmul dword [0x55778c]
fadd dword [esp + 0x4c]
fstp dword [esp]
fld dword [esp + 0x38]
fadd dword [esp + 0x3c]
fmul dword [0x55778c]
fadd dword [esp + 0x48]
jmp 0x421c86
fstp dword [esp + 0x38]
mov ecx, esi
call dword [0x55437c]
mov edx, dword [esp + 0x80]
mov ebp, dword [0x554378]
push edx
mov ecx, esi
call ebp
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
add ecx, eax
mov eax, dword [ecx + 0x80]
cmp eax, 1
je 0x421a4a
cmp eax, 2
je 0x421a4a
cmp dword [ecx + 0x84], 1
je 0x421a4a
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4219b9
fld dword [esp + 0x54]
fmul dword [0x5593e8]
mov ecx, dword [esp + 0x34]
push 0x3f800000
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
fmul dword [0x5593e8]
mov ebp, dword [esp + 0x5c]
push ebp
fstp dword [esp + 0x38]
fld dword [esp + 0x64]
fsub dword [esp + 0x48]
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
push ecx
push edx
mov ecx, esi
call 0x722078
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
push ebp
call 0x75b4ea
push 0x3f800000
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
mov ecx, esi
call ebp
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], edi
mov eax, dword [esp + 0x68]
push 0x3f800000
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
mov ecx, esi
call ebp
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edi
mov eax, dword [esp + 0x70]
push 0x3f800000
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
mov ecx, esi
call ebp
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov dword [eax + 8], edi
mov eax, dword [esp + 0x6c]
push 0x3f800000
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
mov ecx, esi
call ebp
mov ebp, dword [0x554378]
mov dword [eax + 8], edi
jmp 0x421ad8
mov edx, dword [esp + 0x44]
test edx, edx
je 0x421a8c
fld dword [esp + 0x54]
fmul dword [0x5593e8]
push 0x3f800000
push ecx
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x3c]
fstp dword [esp]
fld dword [esp + 0x58]
fmul dword [0x5593e8]
push ecx
mov ecx, dword [esp + 0x20]
fstp dword [esp]
push edx
push eax
push ecx
mov ecx, esi
call 0x7907ca
cmp eax, 1
je 0x421a9a
cmp dword [ecx + 0x84], 1
jne 0x421aa4
fld dword [esp + 0x4c]
fadd st(0), st(0)
fstp dword [esp + 0x38]
fld dword [esp + 0x40]
fadd st(0), st(0)
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push 0x3f800000
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
push eax
push eax
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
mov ecx, esi
call 0x7a6beb
ret
mov ecx, esi
call dword [0x554370]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x421ca5
mov ecx, esi
call dword [0x55437c]
push edi
mov ecx, ebx
call fcn.0041e3c0
test eax, eax
mov eax, dword [esp + 0x44]
jne 0x421baf
test eax, eax
je 0x421b67
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
call ebp
fld dword [esp + 0x54]
fadd dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc0]
push ecx
push 0
fmul dword [0x55778c]
fld dword [esp + 0x64]
fsub dword [esp + 0x48]
push edx
push ecx
fstp dword [esp + 0x20]
fld st(0)
fsin
fmul dword [esp + 0x20]
fadd dword [esp + 0x44]
fadd dword [esp + 0x4c]
fstp dword [esp]
fcos
fmul dword [esp + 0x20]
fadd dword [esp + 0x24]
jmp 0x421c82
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
add eax, ecx
mov ecx, 1
cmp dword [eax + 0x80], ecx
je 0x421b85
cmp dword [eax + 0x84], ecx
jne 0x421b8f
fld dword [esp + 0x4c]
fadd st(0), st(0)
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov ecx, esi
push edx
call ebp
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xc0]
push eax
push 0
push ecx
jmp 0x421c5e
test eax, eax
je 0x421c11
mov edx, dword [esp + 0x80]
mov ecx, esi
push edx
call ebp
fld dword [esp + 0x54]
fadd dword [esp + 0x50]
lea eax, [esp + 0xc0]
push eax
push 0
fmul dword [0x55778c]
fld dword [esp + 0x64]
fsub dword [esp + 0x48]
push ecx
fstp dword [esp + 0x1c]
fld dword [esp + 0x48]
fmul dword [0x5593f8]
fstp dword [esp]
push ecx
fld st(0)
fsin
fmul dword [esp + 0x20]
fadd dword [esp + 0x44]
fadd dword [esp + 0x4c]
fstp dword [esp]
fcos
fmul dword [esp + 0x20]
fadd dword [esp + 0x24]
jmp 0x421c82
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x48]
lea eax, [edx + ecx]
mov ecx, 1
cmp dword [eax + 0x80], ecx
je 0x421c30
cmp dword [eax + 0x84], ecx
jne 0x421c3a
fld dword [esp + 0x4c]
fadd st(0), st(0)
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
call ebp
fld dword [esp + 0x3c]
fmul dword [0x5593f8]
lea ecx, [esp + 0xc0]
push ecx
push 0
push ecx
fstp dword [esp]
fld dword [esp + 0x2c]
fadd dword [esp + 0x30]
push ecx
fmul dword [0x55778c]
fadd dword [esp + 0x4c]
fstp dword [esp]
fld dword [esp + 0x38]
fadd dword [esp + 0x3c]
fmul dword [0x55778c]
fadd dword [esp + 0x48]
mov edi, dword [0x554360]
push ecx
mov ecx, esi
fstp dword [esp]
call edi
mov ecx, esi
mov dword [eax + 8], 0xffffffff
call dword [0x554370]
jmp 0x421cab
mov edi, dword [0x554360]
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x421de1
mov edx, dword [ebx + 0x58]
mov eax, dword [esp + 0x48]
add eax, edx
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x421de1
mov eax, dword [eax + 0x44]
mov ecx, dword [ebx + 8]
inc eax
mov edx, dword [ecx + 0x94]
push eax
push edx
lea eax, [esp + 0xdc]
push 0x56d810
push eax
call dword [0x5550d8]
add esp, 0x10
mov ecx, esi
call dword [0x55437c]
push 6
mov ecx, esi
call ebp
mov eax, dword [esp + 0x44]
test eax, eax
je 0x421d5d
fld dword [esp + 0x54]
fadd dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0xd4]
push ecx
push 0
fmul dword [0x55778c]
fld dword [esp + 0x64]
fsub dword [esp + 0x48]
push edx
push ecx
fstp dword [esp + 0x20]
fld st(0)
fsin
fmul dword [esp + 0x20]
fadd dword [esp + 0x44]
fld dword [esp + 0x8c]
fadd st(0), st(0)
fsubp st(1)
fstp dword [esp]
push ecx
fcos
fmul dword [esp + 0x24]
fadd dword [esp + 0x28]
fstp dword [esp]
jmp 0x421dce
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
fld dword [0x5593e4]
mov edx, dword [eax + ecx + 0x80]
add eax, ecx
mov ecx, 1
cmp edx, ecx
je 0x421d84
cmp dword [eax + 0x84], ecx
jne 0x421d8c
fstp st(0)
fld dword [esp + 0x4c]
fadd st(0), st(0)
fld dword [esp + 0x20]
fadd dword [esp + 0x24]
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0xd4]
push edx
push 0
fmul dword [0x55778c]
fld dword [esp + 0x84]
fadd st(0), st(0)
push eax
push ecx
fsubp st(1)
fstp dword [esp]
fld dword [esp + 0x38]
fadd dword [esp + 0x3c]
push ecx
fmul dword [0x55778c]
fadd st(1)
fstp dword [esp]
fstp st(0)
mov ecx, esi
call edi
mov ecx, esi
mov dword [eax + 8], 0xffffffff
call dword [0x554370]
fld dword [esp + 0x54]
fadd dword [esp + 0x50]
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x60]
test eax, eax
fmul dword [0x55778c]
fld dword [esp + 0x5c]
fsub dword [esp + 0x40]
fstp dword [esp + 0x10]
fld st(0)
fcos
fmul dword [esp + 0x10]
fadd dword [esp + 0x14]
fstp dword [esp + 0x30]
mov ebp, dword [esp + 0x30]
fsin
fmul dword [esp + 0x10]
fadd dword [esp + 0x34]
fstp dword [esp + 0x1c]
je 0x422016
fld dword [esp + 0x84]
fmul dword [0x5593f8]
mov eax, dword [esp + 0x98]
test eax, eax
fstp dword [esp + 0x10]
jne 0x421eae
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x48]
add ecx, edx
fld dword [ecx + 0x9c]
mov eax, dword [ecx + 0xa0]
fst dword [esp + 0x14]
fcomp dword [0x555a28]
mov dword [esp + 0x18], eax
fnstsw ax
test ah, 0x41
jne 0x422016
fld dword [esp + 0x18]
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x422016
mov eax, dword [esp + 0x44]
test eax, eax
mov eax, dword [ecx + 0x54]
je 0x421ea4
cmp eax, 1
push 0
jmp 0x421f92
cmp eax, 1
push 0
jmp 0x421fcb
mov edx, 1
cmp eax, edx
jne 0x421f17
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
add ecx, eax
fld dword [ecx + 0xa4]
mov eax, dword [ecx + 0xa8]
fst dword [esp + 0x14]
fcomp dword [0x555a28]
mov dword [esp + 0x18], eax
fnstsw ax
test ah, 0x41
jne 0x422016
fld dword [esp + 0x18]
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x422016
mov eax, dword [esp + 0x44]
test eax, eax
mov eax, dword [ecx + 0x54]
je 0x421f0e
cmp eax, edx
push 0
jmp 0x421f92
cmp eax, edx
push 0
jmp 0x421fcb
cmp eax, 2
jne 0x421f37
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
add ecx, eax
fld dword [ecx + 0xb0]
mov eax, dword [ecx + 0xb0]
fst dword [esp + 0x14]
jmp 0x421f59
cmp eax, 3
jne 0x422016
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
add ecx, eax
fld dword [ecx + 0xac]
mov eax, dword [ecx + 0xac]
fst dword [esp + 0x14]
fcomp dword [0x555a28]
mov dword [esp + 0x18], eax
fnstsw ax
test ah, 0x41
jne 0x422016
fld dword [esp + 0x18]
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x422016
mov eax, dword [esp + 0x44]
test eax, eax
mov eax, dword [ecx + 0x54]
je 0x421fc7
cmp eax, edx
push 1
push esi
push 0
jne 0x421faf
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push edi
push ecx
push ebp
jmp 0x42200f
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edi
push edx
push ebp
jmp 0x42200f
cmp eax, edx
push 1
push esi
push 0
jne 0x421fdb
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
jmp 0x421fe4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
fld dword [esp + 0x30]
fadd dword [esp + 0x34]
mov edx, dword [esp + 0x20]
push ecx
push edx
push edi
fmul dword [0x55778c]
push ecx
fstp dword [esp]
fld dword [esp + 0x48]
fadd dword [esp + 0x4c]
push ecx
fmul dword [0x55778c]
fstp dword [esp]
mov ecx, ebx
call fcn.0041d590
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x42226f
fld dword [esp + 0x84]
fmul dword [0x55940c]
mov eax, dword [esp + 0x90]
test eax, eax
fadd dword [esp + 0x40]
fstp dword [esp + 0x10]
jne 0x422107
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
add ecx, eax
fld dword [ecx + 0xcc]
mov edx, dword [ecx + 0xd0]
fst dword [esp + 0x14]
fcomp dword [0x555a28]
mov dword [esp + 0x18], edx
fnstsw ax
test ah, 0x41
jne 0x42226f
fld dword [esp + 0x18]
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x42226f
mov eax, dword [esp + 0x44]
test eax, eax
mov eax, dword [ecx + 0x54]
je 0x4220d5
push 0
cmp eax, 1
push esi
push 1
jne 0x4220ba
mov ecx, dword [esp + 0x20]
mov eax, edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push edi
push eax
push ebp
jmp 0x422268
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push edi
push ecx
push ebp
jmp 0x422268
push 0
cmp eax, 1
push esi
push 1
jne 0x4220f3
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
jmp 0x422243
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
jmp 0x422243
mov edx, 1
cmp eax, edx
jne 0x422170
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
add ecx, eax
fld dword [ecx + 0xd4]
mov eax, dword [ecx + 0xd8]
fst dword [esp + 0x14]
fcomp dword [0x555a28]
mov dword [esp + 0x18], eax
fnstsw ax
test ah, 0x41
jne 0x42226f
fld dword [esp + 0x18]
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x42226f
mov eax, dword [esp + 0x44]
test eax, eax
mov eax, dword [ecx + 0x54]
je 0x422167
cmp eax, edx
push 0
jmp 0x4221eb
cmp eax, edx
push 0
jmp 0x422224
cmp eax, 2
jne 0x422190
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
add ecx, eax
fld dword [ecx + 0xe0]
mov eax, dword [ecx + 0xe0]
fst dword [esp + 0x14]
jmp 0x4221b2
cmp eax, 3
jne 0x42226f
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x48]
add ecx, eax
fld dword [ecx + 0xdc]
mov eax, dword [ecx + 0xdc]
fst dword [esp + 0x14]
fcomp dword [0x555a28]
mov dword [esp + 0x18], eax
fnstsw ax
test ah, 0x41
jne 0x42226f
fld dword [esp + 0x18]
fcomp dword [0x555a28]
fnstsw ax
test ah, 0x41
jne 0x42226f
mov eax, dword [esp + 0x44]
test eax, eax
mov eax, dword [ecx + 0x54]
je 0x422220
cmp eax, edx
push 1
push esi
push 1
jne 0x422208
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push edi
push ecx
push ebp
jmp 0x422268
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edi
push edx
push ebp
jmp 0x422268
cmp eax, edx
push 1
push esi
push 1
jne 0x422234
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
jmp 0x42223d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
mov edx, dword [esp + 0x20]
push ecx
push edx
fld dword [esp + 0x38]
fadd dword [esp + 0x3c]
push edi
push ecx
fmul dword [0x55778c]
fstp dword [esp]
fld dword [esp + 0x48]
fadd dword [esp + 0x4c]
push ecx
fmul dword [0x55778c]
fstp dword [esp]
mov ecx, ebx
call fcn.0041d590
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x94]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jl 0x42117c
mov ebp, dword [0x554378]
mov edi, dword [0x55437c]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0xac]
test ecx, ecx
je 0x4224a9
xor eax, eax
mov dword [esp + 0xa4], 0x557bf0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0xa
mov ebx, dword [ebx + 4]
mov dword [esp + 0xf0], eax
lea eax, [esp + 0xa4]
mov ecx, ebx
mov edx, dword [ebx]
push eax
push 2
call dword [edx + 0xa8]
mov eax, dword [esp + 0xa8]
test eax, eax
mov dword [esp + 0x78], eax
je 0x42245f
mov ebx, dword [0x554370]
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x78], ecx
je 0x42244c
mov ecx, dword [eax + 0x6c]
mov edx, dword [eax + 0x68]
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x90], edx
fld dword [ecx + 0x38]
fmul dword [0x557ce0]
fstp dword [esp + 0x7c]
fld dword [ecx + 0x3c]
mov ecx, dword [eax + 0x48]
fmul dword [0x557ce0]
fstp dword [esp + 0x88]
fld dword [ecx + 0x38]
fmul dword [0x557ce0]
fstp dword [esp + 0x84]
fld dword [ecx + 0x3c]
fmul dword [0x557ce0]
mov ecx, dword [eax + 0x38]
test ecx, ecx
mov ecx, esi
fstp dword [esp + 0x9c]
fld dword [eax + 0x60]
fmul dword [0x557ce0]
fstp dword [esp + 0xa0]
fld dword [eax + 0x64]
fmul dword [0x557ce0]
fstp dword [esp + 0x98]
fld dword [eax + 0x70]
fmul dword [0x557ce0]
fstp dword [esp + 0x8c]
je 0x42240c
call edi
push 8
mov ecx, esi
call ebp
fld dword [esp + 0x94]
fmul dword [0x5593e8]
push 0x3f800000
push ecx
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0xa0]
fstp dword [esp]
fld dword [esp + 0x98]
fmul dword [0x5593e8]
push ecx
mov ecx, dword [esp + 0xac]
fstp dword [esp]
push edx
push eax
push ecx
mov ecx, esi
call 0x76aa5f
call edi
push 8
mov ecx, esi
call ebp
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
push 0x3f800000
push edx
mov edx, dword [esp + 0x84]
push eax
push ecx
push edx
mov ecx, esi
push edx
call 0x6d3180
mov ecx, esi
mov dword [eax + 8], 0xffffffff
call ebx
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x422316
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xa4], 0x557bf0
xor ecx, ecx
mov dword [esp + 0xf0], 1
cmp eax, ecx
je 0x422481
mov eax, dword [eax]
cmp eax, ecx
jne 0x42247b
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0xb8]
call fcn.0048158e
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0xe0]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret 4