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

Disassembly:
push 0xffffffffffffffff
push 0x6c1bbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esp + 0x13], 0
test byte [esi + 0x46c], 8
jne 0x480609
mov ecx, dword [esi + 0x474]
mov eax, dword [ecx]
call dword [eax + 0x84]
test al, al
je 0x480609
mov al, byte [esi + 0x8d0]
test al, al
je 0x480609
lea eax, [esi + 0x530]
lea ebp, [esi + 0x50c]
test eax, eax
lea edx, [esi + 0x548]
lea ecx, [esi + 0x53c]
je 0x47ff10
mov edi, dword [eax]
mov dword [esp + 0x88], edi
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], eax
test ecx, ecx
je 0x47ff31
mov eax, dword [ecx]
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
test edx, edx
je 0x47ff52
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
test ebp, ebp
je 0x47ff74
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov ecx, dword [esp + 0x94]
mov al, byte [esi + 0x8d3]
and ecx, 0xfffdfffc
test al, al
mov dword [esp + 0x94], ecx
jne 0x4803ae
lea eax, [esi + 0x56c]
lea edi, [esi + 0x554]
test eax, eax
lea edx, [esi + 0x584]
lea ecx, [esi + 0x578]
je 0x47ffc6
mov ebx, dword [eax]
mov dword [esp + 0x48], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
test ecx, ecx
je 0x47ffde
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
test edx, edx
je 0x47fff6
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
test edi, edi
je 0x480011
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov al, byte [esi + 0x8d1]
mov edx, dword [esp + 0x54]
mov ebx, dword [esi + 0x8dc]
mov byte [esp + 0x1b], al
xor eax, eax
and edx, 0xfffdfffc
cmp ebx, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 0x7f7fffff
mov dword [esp + 0x30], eax
mov byte [esi + 0x8d1], al
mov dword [esi + 0x8dc], eax
je 0x480193
test byte [esi + 0x46c], 0x10
jne 0x480193
mov eax, dword [esi + 0x590]
lea ecx, [esp + 0xcc]
lea edx, [esp + 0xc8]
push ecx
push edx
push 0x3f800000
push eax
mov ecx, esi
call fcn.00480b80
mov ecx, dword [esi + 0x8dc]
mov eax, dword [esp + 0xcc]
fld dword [esi + 0x594]
mov edx, dword [esi + 0x474]
mov dword [esp + 0x34], ecx
fmul dword [0x6d1c14]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x594]
lea edi, [esi + 0x8f0]
lea eax, [esi + 0x490]
fstp dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
push eax
mov ecx, edi
mov dword [esp + 0x48], edx
call fcn.00420920
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x48]
push edx
call fcn.00480b10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x18], edx
mov edx, dword [esp + 0x34]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], edx
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0xac]
test al, al
je 0x480193
mov byte [esi + 0x8d1], 1
mov dword [esi + 0x8dc], ebx
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 4]
add eax, 0x80
mov ecx, dword [eax]
mov dword [esi + 0x8e0], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x8e4], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x8e8], eax
xor ecx, ecx
fld dword [esi + 0x8e0]
fsub dword [ebp]
fld dword [esi + 0x8e4]
fsub dword [ebp + 4]
fld dword [esi + 0x8e8]
fsub dword [ebp + 8]
mov cl, byte [ebx + 0x22]
mov dword [esp + 0x30], ecx
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp + 0x14]
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esi + 0x474]
mov dword [esp + 0x44], eax
test dword [eax + 8], 0x10000
jne 0x480373
fld dword [esi + 0x528]
fmul dword [0x6d1c28]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x524]
mov edi, dword [esi + 0x8dc]
lea ecx, [esi + 0x490]
fmul dword [0x6d1310]
lea ebp, [esi + 0x8f0]
push ecx
mov ecx, ebp
mov dword [esp + 0x40], eax
fptan
fstp st(0)
fst dword [esp + 0xcc]
fld dword [edx + 0x38]
fmul st(1)
fst dword [esp + 0xd0]
fstp dword [esp + 0x44]
fstp dword [esp + 0x3c]
fld dword [esi + 0x524]
fmul dword [0x6d1c14]
fstp dword [esp + 0x38]
call fcn.00420920
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x88]
push edx
call fcn.00480b10
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0xd0]
mov dword [ebp + 0x20], ecx
push edx
lea ecx, [esi + 0x8ec]
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x24], edi
call fcn.00477060
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x1f8], 0
test eax, eax
je 0x480368
mov edi, dword [eax]
mov ecx, dword [esp + 0x30]
xor eax, eax
mov al, byte [edi + 0x22]
cmp eax, ecx
jb 0x480368
mov edx, dword [edi]
push ebp
mov ecx, edi
call dword [edx + 0xac]
test al, al
je 0x480344
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 4]
add eax, 0x80
fld dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
fld st(0)
fsub dword [esi + 0x50c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
fld dword [esp + 0x20]
fsub dword [esi + 0x510]
fld dword [esp + 0x24]
fsub dword [esi + 0x514]
fld st(2)
fmul st(3)
fld st(1)
fmul st(2)
mov ecx, dword [esp + 0x30]
xor eax, eax
mov al, byte [edi + 0x22]
faddp st(1)
fld st(2)
fmul st(3)
cmp eax, ecx
faddp st(1)
fstp dword [esp + 0x2c]
fstp st(0)
fstp st(0)
fstp st(0)
ja 0x480308
fld dword [esp + 0x2c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x480342
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov byte [esi + 0x8d1], 1
mov dword [esi + 0x8dc], edi
fstp dword [esi + 0x8e0]
xor eax, eax
mov dword [esi + 0x8e4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x8e8], edx
mov al, byte [edi + 0x22]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
jmp 0x480344
fstp st(0)
mov eax, dword [esp + 0xd4]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xd0], eax
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0xd4], eax
jne 0x480275
mov dword [esp + 0x1f8], 0xffffffff
mov dl, byte [esp + 0x1b]
mov al, byte [esi + 0x8d1]
cmp al, dl
jne 0x480389
cmp ebx, dword [esi + 0x8dc]
je 0x4803b5
test ebx, ebx
mov byte [esp + 0x13], 1
je 0x48039b
push 0
mov ecx, ebx
call fcn.00476e60
mov ecx, dword [esi + 0x8dc]
test ecx, ecx
je 0x4803b5
push 1
call fcn.00476e60
jmp 0x4803b5
mov byte [esi + 0x8d3], 0
mov al, byte [esi + 0x8d1]
test al, al
je 0x48063a
mov eax, dword [esi + 0x474]
mov ecx, dword [eax + 8]
test ch, 1
je 0x480484
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x98]
mov dword [esp + 0x54], ecx
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], eax
call fcn.00420920
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x68], eax
call fcn.00420920
mov edx, dword [esp + 0xb4]
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], edx
call fcn.00420920
mov ecx, dword [esp + 0xc4]
mov edx, dword [esi + 0x8dc]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x48]
mov al, byte [edx + 0x21]
lea edx, [esi + 0x8e0]
shr al, 2
and al, 1
push eax
push ecx
push 0x72c608
push edx
mov ecx, esi
call fcn.0047c800
jmp 0x480586
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x94]
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
call fcn.00420920
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x68], edx
call fcn.00420920
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0xb8]
mov dword [esp + 0x74], ecx
push edx
lea ecx, [esp + 0x7c]
call fcn.00420920
mov eax, dword [esp + 0xc4]
mov ecx, dword [esi + 0x8dc]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x48]
mov dl, byte [ecx + 0x21]
lea ecx, [esi + 0x8e0]
shr dl, 2
and dl, 1
push edx
push eax
push 0x72c608
push ecx
mov ecx, esi
call fcn.0047c800
lea edx, [esp + 0x48]
lea ecx, [esp + 0xd0]
push edx
call fcn.004b9db0
lea eax, [esp + 0x88]
lea ecx, [esp + 0x140]
push eax
call fcn.004b9db0
lea ecx, [esp + 0xd0]
push 0x3f000000
lea edx, [esp + 0x144]
push ecx
push edx
lea ecx, [esp + 0x16c]
call fcn.004b9bc0
lea eax, [esp + 0x48]
lea ecx, [esp + 0x160]
push eax
call fcn.004b9ef0
fld dword [esi + 0x518]
fsub dword [esi + 0x50c]
fld dword [esi + 0x51c]
fsub dword [esi + 0x510]
fld dword [esi + 0x520]
fsub dword [esi + 0x514]
push ecx
fld st(0)
fmul st(1)
fld st(3)
fmul st(4)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00404020
fld dword [esp + 0x6c]
fmul st(1)
add esp, 4
mov ecx, esi
fadd dword [esi + 0x50c]
fstp dword [esi + 0x518]
fld dword [esp + 0x6c]
fmul st(1)
fadd dword [esi + 0x510]
fstp dword [esi + 0x51c]
fmul dword [esp + 0x70]
fadd dword [esi + 0x514]
fstp dword [esi + 0x520]
call fcn.0047c2c0
jmp 0x48063a
mov al, byte [esi + 0x8d1]
test al, al
je 0x48063a
mov ecx, dword [esi + 0x8dc]
test ecx, ecx
je 0x48062e
push 0
call fcn.00476e60
mov dword [esi + 0x8dc], 0
mov byte [esi + 0x8d1], 0
mov byte [esp + 0x13], 1
mov al, byte [esp + 0x204]
test al, al
je 0x480ae5
mov al, byte [esp + 0x13]
test al, al
je 0x480865
lea edi, [esi + 0x548]
mov byte [esi + 0x8d2], 1
lea ebp, [esi + 0x50c]
lea ebx, [esi + 0x584]
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x56c]
mov dword [esp + 0x1c], ecx
test eax, eax
mov dword [esp + 0x20], edx
lea ecx, [esi + 0x578]
je 0x4806a6
mov edx, dword [eax]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
test ecx, ecx
je 0x4806be
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x58], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
test ebx, ebx
je 0x4806d6
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
test ebp, ebp
je 0x4806f2
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
mov dword [esp + 0x78], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x48]
push 0
push eax
push ecx
lea ecx, [esi + 0x560]
and edx, 0xfffdfffc
push ecx
mov ecx, esi
mov dword [esp + 0x64], edx
call fcn.0047c800
lea eax, [esi + 0x530]
lea ecx, [esi + 0x53c]
test eax, eax
je 0x480743
mov edx, dword [eax]
mov dword [esp + 0x88], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
test ecx, ecx
je 0x480764
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
test edi, edi
je 0x480785
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
test ebp, ebp
je 0x4807a7
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x88]
and eax, 0xfffdfffc
push edx
lea ecx, [esp + 0x174]
mov dword [esp + 0x98], eax
call fcn.004b9480
lea eax, [esp + 0x170]
lea ecx, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x1b8]
call fcn.004b9570
lea edx, [esp + 0x1b0]
lea ecx, [esi + 0x918]
push edx
call fcn.004b9db0
fld dword [esp + 0x24]
fmul dword [ebx + 8]
fld dword [esp + 0x20]
fmul dword [ebx + 4]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [ebx]
faddp st(1)
fcom dword [0x6d197c]
fnstsw ax
test ah, 0x41
jp 0x48082b
fstp st(0)
mov dword [esp + 0x14], 0xbf800000
jmp 0x48084a
fcom dword [0x6d0348]
fnstsw ax
and eax, 0x100
jne 0x480846
fstp st(0)
mov dword [esp + 0x14], 0x3f800000
jmp 0x48084a
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.006b1770
fmul dword [0x6d5468]
fst dword [esi + 0x8d8]
fstp dword [esi + 0x8d4]
mov al, byte [esi + 0x8d2]
test al, al
je 0x480aec
fld dword [esi + 0x8d4]
fsub dword [esp + 0x200]
fld dword [0x6d035c]
fcomp st(1)
fnstsw ax
and eax, 0x4100
jne 0x480899
fstp st(0)
fld dword [0x6d035c]
fst dword [esi + 0x8d4]
fld dword [esi + 0x8d8]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 0x44
jp 0x4808bc
mov dword [esp + 0x28], 0x3f800000
jmp 0x4808ce
fld dword [esi + 0x8d8]
fsub st(1)
fdiv dword [esi + 0x8d8]
fstp dword [esp + 0x28]
lea eax, [esi + 0x918]
mov dword [esp + 0xf0], 0
fstp st(0)
mov ecx, dword [eax]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xf8], 0
mov edx, dword [eax + 4]
mov dword [esp + 0xfc], 0x3f800000
mov dword [esp + 0xe4], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xe8], ecx
lea ecx, [esp + 0xf0]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xec], edx
push eax
lea edx, [esp + 0xe4]
push ecx
push edx
lea ecx, [esp + 0x15c]
call fcn.004b9bc0
lea eax, [esp + 0x100]
lea ecx, [esp + 0x150]
push eax
call fcn.004b9ef0
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x530]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea edi, [esi + 0x50c]
test eax, eax
lea edx, [esi + 0x548]
lea ecx, [esi + 0x53c]
je 0x4809b8
mov ebx, dword [eax]
mov dword [esp + 0x100], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], eax
test ecx, ecx
je 0x4809d9
mov eax, dword [ecx]
mov dword [esp + 0x110], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
test edx, edx
je 0x4809fa
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
test edi, edi
je 0x480a1b
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
mov eax, dword [esp + 0x10c]
push 1
and eax, 0xfffdfffc
lea ecx, [esp + 0x20]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x10c]
call fcn.004b9550
fld dword [esi + 0x518]
fsub dword [edi]
fld dword [esi + 0x51c]
fsub dword [edi + 4]
fld dword [esi + 0x520]
fsub dword [edi + 8]
push ecx
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00404020
fld dword [esp + 0x20]
fmul st(1)
add esp, 4
mov ecx, esi
fadd dword [edi]
fstp dword [esi + 0x518]
fld dword [esp + 0x20]
fmul st(1)
fadd dword [edi + 4]
fstp dword [esi + 0x51c]
fld dword [esp + 0x24]
fmul st(1)
fadd dword [edi + 8]
fstp dword [esi + 0x520]
fstp st(0)
call fcn.0047c2c0
fld dword [esi + 0x8d4]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 0x44
jp 0x480aec
mov al, byte [esi + 0x8d1]
test al, al
jne 0x480ae5
mov dword [esi + 0x8dc], 0
mov byte [esi + 0x8d3], 0
mov byte [esi + 0x8d2], 0
mov ecx, dword [esp + 0x1f0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1ec
ret 8