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

Disassembly:
sub esp, 0x100
mov ecx, dword [0x7fb2d0]
mov edx, dword [ecx + 0x34]
mov ecx, dword [0x816d04]
push ebx
push ebp
mov ebp, dword [esp + 0x110]
push esi
mov esi, eax
mov eax, dword [esp + 0x110]
and eax, 0xffff
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [edx + eax + 8]
mov dx, word [ebp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
and eax, 0xffff
shl eax, 5
push edi
mov edi, dword [eax + ecx + 0x14]
mov eax, esi
mov ecx, dword [eax]
mov word [esp + 0x10], dx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], 0x3f800000
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.00401990
fld dword [0x612220]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x4c2895
mov ecx, dword [0x631d10]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
fld dword [edi + 0x1e4]
fld dword [edi + 0x1e8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4c28ec
fsub dword [edi + 0x1e8]
fld dword [edi + 0x1e4]
fsub dword [edi + 0x1e8]
fdivp st(1)
fst dword [esp + 0x24]
fcomp dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4c28d9
mov dword [esp + 0x24], 0
jmp 0x4c28f6
fld dword [esp + 0x24]
fcomp dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x4c28f6
jmp 0x4c28ee
fstp st(0)
mov dword [esp + 0x24], 0x3f800000
cmp word [ebp], 3
jne 0x4c2a15
mov edx, dword [edi + 0x230]
cmp edx, 0xffffffff
je 0x4c2a15
xor eax, eax
mov ecx, 0x15
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x4c]
or eax, 0xffffffff
or ecx, 8
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x24]
mov word [esp + 0x94], ax
mov word [esp + 0x60], ax
mov eax, dword [ebx + 0xc0]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0xc4]
mov dword [esp + 0x88], edx
mov dx, word [ebx + 0xb8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea eax, [ebp + 0x18]
mov ecx, eax
mov word [esp + 0x58], dx
mov edx, dword [ecx]
mov dword [esp + 0x70], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x74], edx
mov edx, dword [eax]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x68], ecx
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
call fcn.00401990
xor edx, edx
mov dx, word [ebp + 0x4e]
fstp st(0)
xor eax, eax
mov ax, word [ebp + 0x3c]
lea ecx, [ebp + 0x24]
push ecx
xor ecx, ecx
mov cx, word [ebp + 0x3e]
push edx
mov edx, dword [ebp + 0x38]
push eax
lea eax, [esp + 0x54]
push ecx
push edx
push eax
call fcn.004f2090
add esp, 0x18
cmp word [esp + 0x94], 0xffff
je 0x4c2a06
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x10]
test ax, ax
mov word [ebx + 0x232], ax
jl 0x4c2a46
mov ecx, dword [edi + 0x240]
movsx eax, ax
cmp eax, ecx
jge 0x4c2a46
lea edi, [eax + eax*4]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x244]
shl edi, 5
add edi, ecx
jmp 0x4c2a4b
mov edi, 0x631410
mov eax, dword [0x6b4c98]
fld dword [edi + 0x64]
fchs
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov edx, eax
shr edx, 0x10
mov dword [esp + 0x10], edx
mov dword [0x6b4c98], eax
imul eax, eax, 0x19660d
fild dword [esp + 0x10]
fmul dword [0x6122e4]
fld st(1)
fchs
fmulp st(1)
mov edx, dword [edi + 0x60]
lea ecx, [ebp + 0x24]
mov dword [esp + 0x20], edx
fadd st(1)
add eax, 0x3c6ef35f
fld dword [ecx + 8]
mov edx, esi
fmul dword [esi + 8]
mov dword [esp + 0x14], edi
fsubp st(1)
fld dword [ecx + 4]
fmul dword [esi + 4]
fsubp st(1)
fld dword [ecx]
fmul dword [esi]
fsubp st(1)
fstp dword [esp + 0x44]
fstp st(0)
fld dword [edi + 0x60]
mov dword [0x6b4c98], eax
fchs
fstp dword [esp + 0x10]
call fcn.004d08f0
cmp word [edi + 0x24], 0
fsub dword [0x612494]
movzx eax, word [0x6b4c9a]
fld dword [esp + 0x20]
fsub dword [esp + 0x10]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [0x6122e4]
fmulp st(1)
fadd dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0x20]
je 0x4c2bca
fld dword [0x612220]
fld dword [edi + 0x30]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4c2b3a
fld dword [esp + 0x20]
fcomp dword [edi + 0x2c]
fnstsw ax
test ah, 1
jne 0x4c2bca
fld dword [esp + 0x20]
fcomp dword [edi + 0x30]
fnstsw ax
test ah, 0x41
jp 0x4c2bca
fld dword [0x612220]
fld dword [edi + 0x38]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4c2b68
fld dword [esp + 0x44]
fcomp dword [edi + 0x34]
fnstsw ax
test ah, 1
jne 0x4c2bca
fld dword [esp + 0x44]
fcomp dword [edi + 0x38]
fnstsw ax
test ah, 0x41
jp 0x4c2bca
test byte [edi + 0x26], 1
je 0x4c2b86
cmp word [ebp], 3
jne 0x4c2bca
mov ecx, dword [ebp + 0x38]
push 3
call fcn.004fa970
add esp, 4
test eax, eax
je 0x4c2bca
mov eax, dword [0x6b4c98]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x10], ecx
mov dword [0x6b4c98], eax
fild dword [esp + 0x10]
fmul dword [0x6122e4]
fcomp dword [edi + 0x28]
fnstsw ax
test ah, 1
jne 0x4c2bca
mov dx, word [edi + 0x24]
mov eax, dword [edi + 0x48]
mov word [esp + 0x1c], dx
mov dword [esp + 0x10], eax
jmp 0x4c2bda
mov cx, word [edi + 2]
mov edx, dword [edi + 0x10]
mov word [esp + 0x1c], cx
mov dword [esp + 0x10], edx
cmp word [ebp], 2
jne 0x4c2d41
test byte [ebp + 0x4c], 8
je 0x4c2d41
xor eax, eax
mov ecx, 0x15
lea edi, [esp + 0xa0]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x230]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xa0], eax
or eax, 0xffffffff
mov word [esp + 0xec], ax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov word [esp + 0xb0], ax
mov word [esp + 0xb8], ax
or edx, 8
lea eax, [ebp + 0x18]
mov ecx, eax
mov dword [esp + 0xa4], edx
mov edx, dword [ecx]
mov dword [esp + 0xc8], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xcc], edx
mov edx, dword [eax]
mov dword [esp + 0xd0], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0xbc], edx
mov edx, dword [eax + 8]
mov dword [esp + 0xc0], ecx
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0xc4], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xd4], ecx
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe0], 0x3f800000
mov dword [esp + 0xe4], 0x3f800000
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], eax
call fcn.00401990
mov ax, word [ebp + 0x34]
test ax, ax
fstp st(0)
mov word [esp + 0xec], ax
jl 0x4c2d01
mov ecx, dword [edi + 0x240]
movsx eax, ax
cmp eax, ecx
jge 0x4c2d01
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x244]
shl ecx, 5
add ecx, eax
mov dword [esp + 0xf0], ecx
jmp 0x4c2d0c
mov dword [esp + 0xf0], 0x631410
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xb4], edx
movzx dx, byte [ebp + 0x4d]
push ecx
lea ebx, [esp + 0xa4]
mov dword [esp + 0xbc], eax
push edx
call fcn.00503890
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
add esp, 8
mov ecx, dword [esp + 0x11c]
lea eax, [ebp + 0x18]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x1c]
cmp ax, 3
jne 0x4c2f01
mov ax, word [ebp]
test ax, ax
jne 0x4c2dc4
mov eax, dword [ebx + 0x10]
test al, 0x10
jne 0x4c2d7e
or eax, 0x10
jmp 0x4c2d81
and eax, 0xffffffef
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x114]
call fcn.004c3760
fld dword [ebp + 0x24]
fmul dword [0x612358]
mov eax, dword [esp + 0x11c]
fsubr dword [eax]
fstp dword [eax]
fld dword [ebp + 0x28]
fmul dword [0x612358]
fsubr dword [eax + 4]
fstp dword [eax + 4]
fld dword [ebp + 0x2c]
fmul dword [0x612358]
fsubr dword [eax + 8]
fstp dword [eax + 8]
jmp 0x4c2e38
cmp ax, 3
jne 0x4c2df5
fld dword [0x612224]
fsub dword [edi + 0x90]
fld st(0)
fmul dword [esi]
fstp dword [esi]
fld st(0)
fmul dword [esi + 4]
fstp dword [esi + 4]
fmul dword [esi + 8]
fstp dword [esi + 8]
mov ecx, dword [ebp + 0x38]
mov dword [ebx + 0x234], ecx
jmp 0x4c2e38
fld dword [0x612220]
mov edx, dword [esp + 0x18]
fld dword [edx + 0x1c0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4c2ef4
or dword [ebx + 0x22c], 0x14
mov dword [esp + 0x1c], 4
mov eax, dword [0x631d04]
mov edx, dword [eax]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov edi, dword [esp + 0x14]
fld dword [0x612220]
fld dword [edi + 0x60]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4c2e6d
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x60]
push edx
push 0
mov ebx, esi
mov eax, esi
mov edi, 0x6b4c98
call fcn.004d05b0
mov edi, dword [esp + 0x1c]
add esp, 8
fld dword [0x612220]
fld dword [edi + 0x64]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4c2fac
mov ecx, esi
call fcn.00401990
fld dword [0x612220]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4c2faa
mov eax, dword [0x6b4c98]
fld dword [edi + 0x64]
fld dword [edi + 0x64]
imul eax, eax, 0x19660d
fchs
fxch st(1)
fsub st(1)
add eax, 0x3c6ef35f
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x14], ecx
mov dword [0x6b4c98], eax
fild dword [esp + 0x14]
fmul dword [0x6122e4]
fmulp st(1)
fadd st(1)
faddp st(2)
fstp st(0)
fld st(0)
fmul dword [esi]
fstp dword [esi]
fld st(0)
fmul dword [esi + 4]
fstp dword [esi + 4]
fmul dword [esi + 8]
fstp dword [esi + 8]
jmp 0x4c2fac
mov dword [esp + 0x1c], 1
jmp 0x4c2e21
cmp ax, 2
jne 0x4c2e21
lea edi, [esp + 0x104]
lea ecx, [esp + 0xf8]
lea edx, [ebp + 0x24]
call fcn.004d0e90
fld dword [0x612224]
mov edi, dword [esp + 0x14]
fsub dword [edi + 0x9c]
fmul dword [esp + 0x104]
fld dword [0x612224]
fsub dword [edi + 0x98]
fmul dword [esp + 0xf8]
fsubp st(1)
fstp dword [esi]
fld dword [0x612224]
fsub dword [edi + 0x9c]
fmul dword [esp + 0x108]
fld dword [0x612224]
fsub dword [edi + 0x98]
fmul dword [esp + 0xfc]
fsubp st(1)
fstp dword [esi + 4]
fld dword [0x612224]
fsub dword [edi + 0x9c]
fmul dword [esp + 0x10c]
fld dword [0x612224]
fsub dword [edi + 0x98]
fmul dword [esp + 0x100]
fsubp st(1)
fstp dword [esi + 8]
jmp 0x4c2e3c
fstp st(0)
cmp word [esp + 0x1c], 4
fld dword [esi + 8]
fld dword [esi + 4]
fld dword [esi]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fst dword [esp + 0x14]
fstp st(3)
fstp st(0)
fstp st(0)
je 0x4c301a
mov edx, dword [esp + 0x18]
fld dword [edx + 0x1c4]
fld st(0)
fmul st(1)
fld dword [esp + 0x14]
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x4c301a
mov eax, dword [0x7fb2d0]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x3c]
mov eax, dword [ecx + edx + 8]
mov ecx, 1
cmp word [eax + 0x230], cx
jge 0x4c301f
mov word [eax + 0x230], cx
jmp 0x4c301f
mov ecx, 1
fcomp dword [0x61231c]
mov esi, dword [esp + 0x40]
fnstsw ax
test ah, 5
jp 0x4c3092
mov eax, dword [esi + 0x22c]
or eax, 0x10
mov dword [esi + 0x22c], eax
fld dword [ebp + 0x2c]
fcomp dword [0x6123ec]
fnstsw ax
test ah, 0x41
jne 0x4c3092
mov eax, dword [esi + 0x10]
fld dword [0x612220]
or eax, 0x20
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x18]
fld dword [eax + 0x1c0]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4c3092
mov edx, dword [0x7fb2d0]
mov eax, dword [edx + 0x34]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + edx + 8]
cmp word [eax + 0x230], cx
jge 0x4c3092
mov word [eax + 0x230], cx
movsx eax, word [edi + 0x5c]
sub eax, 0
je 0x4c30ae
dec eax
jne 0x4c30ea
fld dword [esp + 0x20]
fmul dword [0x6129dc]
fstp dword [esp + 0x28]
jmp 0x4c30b6
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
fld dword [esp + 0x28]
fcomp dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4c30d1
mov dword [esp + 0x28], 0
jmp 0x4c30ea
fld dword [esp + 0x28]
fcomp dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x4c30ea
mov dword [esp + 0x28], 0x3f800000
fld dword [esp + 0x2c]
fcomp dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4c3105
mov dword [esp + 0x2c], 0
jmp 0x4c311e
fld dword [esp + 0x2c]
fcomp dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x4c311e
mov dword [esp + 0x2c], 0x3f800000
fld dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
fmul dword [0x612308]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
fstp dword [esp + 0x54]
mov ecx, dword [0x631d1c]
fld dword [esp + 0x34]
mov dword [esp + 0x64], edx
fmul dword [0x612308]
mov edx, dword [ecx]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 4]
fstp dword [esp + 0x58]
mov dword [esp + 0x7c], eax
fld dword [esp + 0x38]
lea eax, [ebp + 0x24]
fmul dword [0x612308]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x78], edx
mov edx, eax
fstp dword [esp + 0x5c]
mov dword [esp + 0x80], ecx
fld dword [esp + 0x38]
mov ecx, dword [edx]
fmul dword [eax + 8]
mov dword [esp + 0x48], ecx
fld dword [esp + 0x34]
mov ecx, dword [edx + 4]
fmul dword [eax + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
faddp st(1)
mov edx, 5
fld dword [esp + 0x30]
fmul dword [eax]
faddp st(1)
fadd st(0), st(0)
fld st(0)
fmul dword [eax]
fsubr dword [esp + 0x30]
fstp dword [esp + 0x6c]
fld st(0)
fmul dword [eax + 4]
fsubr dword [esp + 0x34]
fstp dword [esp + 0x70]
fmul dword [eax + 8]
lea eax, [esp + 0xa0]
fsubr dword [esp + 0x38]
fstp dword [esp + 0x74]
lea ecx, [ebp + 0x18]
mov ebx, dword [ecx]
mov edi, eax
mov dword [edi], ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edi + 4], ebx
add eax, 0xc
dec edx
mov dword [edi + 8], ecx
jne 0x4c31e0
fld dword [esp + 0x44]
mov edi, dword [esp + 0x28]
fcomp dword [0x6129d8]
mov ebx, dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4c327c
cmp word [ebp], 3
lea eax, [esp + 0xa0]
lea edx, [esp + 0x48]
jne 0x4c3254
push 0
push 0
push ebx
push edi
push edx
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cx, word [ebp + 0x3e]
push eax
mov eax, dword [esp + 0x12c]
push 0x631570
push 5
push ecx
mov ecx, dword [esp + 0x34]
call fcn.00451400
add esp, 0x24
jmp 0x4c327c
mov ecx, dword [esp + 0x114]
push 1
push 0
push 0
push ebx
push edi
push edx
mov edx, dword [esp + 0x28]
push eax
push 0x631570
push 5
push 0
push ecx
push edx
call fcn.00451510
add esp, 0x30
mov eax, dword [esi + 0x22c]
test al, 0x20
jne 0x4c330b
test al, 0x10
jne 0x4c3296
cmp word [esp + 0x1c], 4
jne 0x4c330b
cmp word [ebp], 3
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x200]
jne 0x4c32dc
push 0
push 0
push ebx
push edi
lea edx, [esp + 0x58]
push edx
xor edx, edx
mov dx, word [ebp + 0x3e]
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x12c]
push 0x631570
push 5
push edx
mov edx, dword [ebp + 0x38]
call fcn.00451400
add esp, 0x24
jmp 0x4c330b
push 1
push 0
push 0
push ebx
push edi
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x12c]
lea edx, [esp + 0xb8]
push edx
push 0x631570
push 5
push 0
push eax
push ecx
call fcn.00451510
add esp, 0x30
movsx eax, word [esp + 0x1c]
sub eax, 0
je 0x4c3591
dec eax
je 0x4c3579
sub eax, 3
jne 0x4c35b7
cmp word [ebp], 3
jne 0x4c33ec
cmp word [0x6b46e8], 0
je 0x4c3366
mov ecx, dword [ebp + 0x38]
push 0xffffffffffffffff
call fcn.004fa970
add esp, 4
test eax, eax
je 0x4c3366
cmp word [eax + 0xb4], 0
jne 0x4c3366
test byte [eax + 0x106], 4
jne 0x4c35b7
cmp dword [esi + 4], 1
je 0x4c35b7
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x17c], 8
je 0x4c33ec
mov eax, dword [ebp + 0x38]
mov ecx, dword [0x7fb2d0]
and eax, 0xffff
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x34]
mov edx, dword [eax + edx*4 + 8]
mov eax, dword [edx + 0x118]
xor edi, edi
xor edx, edx
cmp eax, 0xffffffff
je 0x4c33ec
mov ebx, dword [ecx + 0x34]
and eax, 0xffff
lea eax, [eax + eax*2]
mov eax, dword [ebx + eax*4 + 8]
mov ebx, dword [eax]
cmp ebx, dword [esi]
jne 0x4c33cf
test byte [eax + 0x22c], 0x40
jne 0x4c33cf
mov dword [eax + 0x248], edi
mov dword [eax + 0x240], edi
inc edx
cmp dx, 6
jge 0x4c33e2
mov eax, dword [eax + 0x114]
cmp eax, 0xffffffff
jne 0x4c33a4
jmp 0x4c33ec
or dword [esi + 0x22c], 0x80
mov eax, dword [0x631d04]
mov ebx, dword [esi + 0x10]
mov edx, eax
mov edi, dword [edx]
lea ecx, [esi + 0x68]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax]
lea ecx, [esi + 0x8c]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x22c]
mov ecx, dword [0x7fb2d0]
or eax, 8
mov dword [esi + 0x22c], eax
mov eax, dword [esp + 0x3c]
or ebx, 0x20
mov dword [esi + 0x10], ebx
mov edx, dword [ecx + 0x34]
mov edi, dword [edx + eax + 8]
mov ebx, dword [esp + 0x114]
mov eax, ebx
call fcn.004f9890
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
add edi, 0x5c
mov dword [edi], ecx
mov edx, dword [eax + 4]
lea ecx, [ebp + 0xc]
mov dword [edi + 4], edx
mov eax, dword [eax + 8]
push ecx
push ebx
mov dword [edi + 8], eax
call fcn.004f96e0
add esp, 8
cmp word [ebp], 3
jne 0x4c3495
mov eax, dword [ebp + 0x38]
xor edx, edx
mov dx, word [ebp + 0x3e]
push edx
push ebx
push eax
call fcn.004f9ef0
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x17c]
test al, 4
je 0x4c34b1
fld dword [ecx + 0x1c0]
fmul dword [0x612228]
jmp 0x4c34fe
test al, 0x20
je 0x4c351b
fld dword [ecx + 0x1c0]
fld dword [ecx + 0x1bc]
mov ecx, dword [0x6b4c98]
imul ecx, ecx, 0x19660d
fxch st(1)
fsub st(1)
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0x10
mov dword [esp + 0x10], edx
mov dword [0x6b4c98], ecx
fild dword [esp + 0x10]
fmul dword [0x6122e4]
fmulp st(1)
fadd st(1)
fmul dword [0x612228]
fxch st(1)
fstp st(0)
fcom dword [0x612224]
fnstsw ax
test ah, 1
jne 0x4c3519
fld dword [0x612224]
fdiv st(1)
fstp dword [esi + 0x244]
fstp st(0)
cmp word [ebp], 3
jne 0x4c35b7
mov eax, dword [esi + 4]
test eax, eax
jne 0x4c35b7
mov edi, dword [ebp + 0x38]
mov ecx, dword [0x7fb2d0]
mov edx, dword [ecx + 0x34]
mov eax, edi
and eax, 0xffff
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*4 + 8]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4c35b7
xor ecx, ecx
mov cx, word [ebp + 0x3e]
push ecx
mov ecx, ebx
call fcn.004c2570
mov eax, dword [esi + 0x10]
add esp, 4
or eax, 0x4000000
mov dword [esi + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
mov edx, dword [0x7fb2d0]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x34]
mov eax, dword [eax + ecx + 8]
mov ecx, 1
jmp 0x4c35a7
mov edx, dword [0x7fb2d0]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x34]
mov eax, dword [eax + ecx + 8]
mov ecx, 2
cmp word [eax + 0x230], cx
jge 0x4c35b7
mov word [eax + 0x230], cx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret