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

Disassembly:
sub esp, 0x2a0
push esi
mov esi, ecx
mov al, byte [esi + 0xc0]
test al, al
je 0x48405a
mov byte [esi + 0xc1], 1
mov al, byte [esi + 0xc1]
test al, al
je 0x4847a5
mov ecx, 0x21f1c78
call fcn.005327b0
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 4
push 1
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x21f1c70]
mov edx, dword [eax]
push 2
push 2
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 0
push 3
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x21f1c70]
mov edx, dword [eax]
push 4
push 4
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 0
push 5
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x21f1c70]
mov edx, dword [eax]
push 2
push 6
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [esi + 0x2e00]
mov dword [esp + 0x9c], eax
fld dword [esp + 0x9c]
fcomp dword [0x6a8210]
fnstsw ax
test ah, 1
jne 0x484112
mov eax, 0xff
jmp 0x484142
fld dword [esp + 0x9c]
fcomp dword [0x6a75fc]
fnstsw ax
test ah, 0x41
jp 0x48412a
xor eax, eax
jmp 0x484142
fld dword [esp + 0x9c]
fmul dword [0x6a8534]
fadd dword [0x6a84d0]
call fcn.005b8b18
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0xb8]
push ebx
push ebp
push edi
push ecx
shl eax, 0x18
push edx
or eax, 0xffffff
push eax
lea ecx, [esi + 0x2da4]
call fcn.00539190
mov ecx, dword [esi]
lea eax, [esp + 0x1ac]
push eax
push ecx
mov ecx, 0x84f768
call fcn.004c1cb0
mov eax, dword [esi + 0xbc]
mov ecx, dword [esi + 0xb8]
lea edx, [esp + 0x1ac]
push edx
push 0
push 0xffffffffffffffff
add eax, 0x1c8
push eax
add ecx, 0x78
push ecx
push 0x21f1c78
call fcn.00531220
mov eax, dword [esi + 0x50]
add esp, 0x18
lea edx, [esp + 0x1ac]
push edx
push eax
mov ecx, 0x84f768
call fcn.004c1cb0
mov edx, dword [esi + 0xbc]
mov eax, dword [esi + 0xb8]
lea ecx, [esp + 0x1ac]
push ecx
push 0
push 0xffffffffffffffff
add edx, 0x1f3
push edx
add eax, 0x78
push eax
push 0x21f1c78
call fcn.00531220
add esp, 0x18
lea ecx, [esi + 0x2d34]
call fcn.0051c850
lea edi, [esi + 0x1c0]
mov ebx, 5
mov ecx, edi
call fcn.00516ea0
add edi, 0x4d4
dec ebx
jne 0x484207
xor edi, edi
lea esp, [esp]
mov eax, dword [esi + edi*4 + 0x2c]
test eax, eax
je 0x4842b6
lea ebp, [edi + edi*2]
xor ebx, ebx
lea ebp, [ebp*8 + 0x6f41c0]
cmp edi, 3
jge 0x484241
xor ecx, ecx
jmp 0x484255
jne 0x48424a
mov ecx, 1
jmp 0x484255
xor ecx, ecx
cmp edi, 4
setne cl
add ecx, 2
fild dword [esi + 0xbc]
lea eax, [ebx + ecx*2]
add eax, ecx
shl eax, 4
mov ecx, dword [eax + 0x6f428c]
fadd dword [ebp + 4]
mov edx, dword [eax + 0x6f4288]
push ecx
mov ecx, dword [eax + 0x6f4284]
push edx
mov edx, dword [eax + 0x6f4280]
push ecx
push edx
push 0x40
push 0x40
call fcn.005b8b18
fild dword [esi + 0xb8]
push eax
fadd dword [ebp]
call fcn.005b8b18
push eax
push 0xffffffffffffffff
lea ecx, [esi + 0x2de4]
call fcn.00538d40
inc ebx
add ebp, 8
cmp ebx, 3
jl 0x484238
jmp 0x484349
mov eax, dword [esi + edi*4 + 0xc]
test eax, eax
je 0x484349
lea ebp, [edi + edi*2]
xor ebx, ebx
lea ebp, [ebp*8 + 0x6f41c0]
mov edi, edi
cmp edi, 3
jge 0x4842d9
xor ecx, ecx
jmp 0x4842ed
jne 0x4842e2
mov ecx, 1
jmp 0x4842ed
xor ecx, ecx
cmp edi, 4
setne cl
add ecx, 2
fild dword [esi + 0xbc]
lea eax, [ebx + ecx*2]
add eax, ecx
shl eax, 4
mov ecx, dword [eax + 0x6f428c]
fadd dword [ebp + 4]
mov edx, dword [eax + 0x6f4288]
push ecx
mov ecx, dword [eax + 0x6f4284]
push edx
mov edx, dword [eax + 0x6f4280]
push ecx
push edx
push 0x40
push 0x40
call fcn.005b8b18
fild dword [esi + 0xb8]
push eax
fadd dword [ebp]
call fcn.005b8b18
push eax
push 0xffffffffffffffff
lea ecx, [esi + 0x2dd4]
call fcn.00538d40
inc ebx
add ebp, 8
cmp ebx, 3
jl 0x4842d0
mov eax, dword [esi + edi*4 + 0x2c]
test eax, eax
je 0x4843b2
mov eax, edi
cdq
and edx, 3
add eax, edx
mov ecx, edi
sar eax, 2
and ecx, 0x80000003
jns 0x48436b
dec ecx
or ecx, 0xfffffffc
inc ecx
lea edx, [eax + 3]
shl edx, 6
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
add eax, 2
sub esp, 0x10
shl eax, 6
fmul dword [0x6acb7c]
mov dword [esp + 0x20], eax
shl ecx, 6
mov dword [esp + 0x28], ecx
fstp dword [esp + 0xc]
add ecx, 0x40
fild dword [esp + 0x20]
mov dword [esp + 0x20], ecx
fmul dword [0x6acb7c]
fstp dword [esp + 8]
fild dword [esp + 0x20]
jmp 0x484417
mov eax, dword [esi + edi*4 + 0xc]
test eax, eax
je 0x484465
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 6
mov ecx, edi
and ecx, 0x80000003
mov dword [esp + 0x14], eax
jns 0x4843df
dec ecx
or ecx, 0xfffffffc
inc ecx
add eax, 0x40
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
sub esp, 0x10
shl ecx, 6
mov dword [esp + 0x28], ecx
fmul dword [0x6acb7c]
add ecx, 0x40
fstp dword [esp + 0xc]
fild dword [esp + 0x24]
mov dword [esp + 0x24], ecx
fmul dword [0x6acb7c]
fstp dword [esp + 8]
fild dword [esp + 0x24]
fmul dword [0x6acb7c]
fstp dword [esp + 4]
fild dword [esp + 0x28]
fmul dword [0x6acb7c]
fstp dword [esp]
push 0x40
fild dword [esi + 0xbc]
push 0x40
fadd dword [edi*8 + 0x6f4184]
call fcn.005b8b18
fild dword [esi + 0xb8]
push eax
fadd dword [edi*8 + 0x6f4180]
call fcn.005b8b18
push eax
lea ecx, [esi + 0x2dc4]
push 0xffffffffffffffff
call fcn.00538d40
inc edi
cmp edi, 8
jl 0x484220
lea eax, [esp + 0x5c]
push eax
mov ecx, 0x21f1c78
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x20], 0x3f800000
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x9c], 0x3f800000
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
call fcn.00530d00
fild dword [0x6f3560]
push 0x461c4000
push 0
push ecx
fstp dword [esp]
push 0
fild dword [0x6f355c]
push ecx
lea ecx, [esp + 0x180]
fstp dword [esp]
push 0
push ecx
call fcn.005d1d59
mov eax, dword [0x21f1c70]
mov edx, dword [eax]
lea ecx, [esp + 0x16c]
push ecx
push 3
push eax
call dword [edx + 0xb0]
push 0
mov ecx, 0x21f1c78
call fcn.00531690
mov eax, dword [0x21f1c70]
mov edx, dword [eax]
push 0x112
push eax
call dword [edx + 0x164]
mov edx, dword [esi + 0x154]
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 0x20
push 0
push edx
push 0
push eax
call dword [ecx + 0x190]
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 2
push 1
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x21f1c70]
mov edx, dword [eax]
push 2
push 2
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 2
push 4
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x21f1c70]
mov edx, dword [eax]
push 2
push 5
push 0
push eax
call dword [edx + 0x10c]
push 0x3f800000
push 0x42f00000
push 0x42a00000
lea eax, [esp + 0xf8]
push eax
call fcn.005d0dbb
xor ebp, ebp
test ebp, ebp
mov eax, dword [0x21f1c70]
jne 0x48469a
mov ecx, dword [eax]
push 3
push 0x16
push eax
call dword [ecx + 0xe4]
jmp 0x4846a7
mov edx, dword [eax]
push 2
push 0x16
push eax
call dword [edx + 0xe4]
mov edi, 0x6f4128
lea ebx, [esi + 0xc4]
mov eax, dword [ebx + 8]
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.005d0f75
fild dword [0x6f3560]
fild dword [esi + 0xbc]
push 0x447a0000
sub esp, 8
lea edx, [esp + 0x138]
fadd dword [edi + 4]
fadd dword [0x6aa51c]
fsubp st(1)
fstp dword [esp + 4]
fild dword [esi + 0xb8]
fadd dword [edi]
fadd dword [0x6a8528]
fstp dword [esp]
push edx
call fcn.005d0e4f
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.005d04b8
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
call fcn.005d04b8
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x21f1c78
call fcn.00530e20
test ebp, ebp
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
jne 0x484758
mov edx, dword [ebx]
mov edx, dword [esi + edx*4 + 0x158]
jmp 0x48475e
mov edx, dword [esi + 0x1b0]
push edx
push 0
push eax
call dword [ecx + 0x104]
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 2
push 0
push 5
push eax
call dword [ecx + 0x144]
add edi, 8
add ebx, 0x10
cmp edi, 0x6f4170
jl 0x4846b2
inc ebp
cmp ebp, 2
jl 0x484682
mov ecx, 0x7063a0
call fcn.0041db30
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x2a0
ret