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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push ebx
sub esp, 0xbc
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 0xa8], edi
mov edi, dword [ebx + 8]
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0xb8], edx
and eax, 0x7fffffff
mov edx, dword [esi + 4]
mov dword [esp + 0x9c], edi
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [esp + 0xa4], ebx
mov ebx, eax
shr ebx, 0x10
mov dword [esp], edx
mov edx, esi
and edx, 0x7fffffff
mov dword [esp + 0x1c], ecx
xor ecx, esi
mov dword [esp + 0x18], esi
and ecx, 0x80000000
movzx esi, ax
mov dword [esp + 0xb4], esi
mov esi, edx
mov dword [esp + 0xa0], edi
lea edi, [ebx - 1]
mov dword [esp + 0x98], ecx
movzx ecx, dx
shr esi, 0x10
mov dword [esp + 0xb0], ebx
cmp edi, 0x7ffd
mov dword [esp + 0xac], ecx
mov ebx, dword [esp]
ja 0x4c2186
lea edi, [esi - 1]
cmp edi, 0x7ffd
ja 0x4c2186
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
or edi, 0x10000
lea ecx, [edx + esi - 0x4000]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xa8]
mov eax, ecx
mov esi, dword [esp + 0xa4]
mul esi
mov dword [esp], eax
mov eax, ecx
mov dword [esp + 4], edx
mul dword [esp + 0xa0]
mov dword [esp + 8], eax
mov eax, ecx
mov dword [esp + 0x28], edx
mul dword [esp + 0x9c]
mov dword [esp + 0xb4], edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x2c], eax
or edi, 0x10000
mov eax, ecx
mov dword [esp + 0x30], edx
mul edi
mov dword [esp + 0x34], eax
mov eax, esi
mov dword [esp + 0x38], edx
mul ebx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x3c], eax
mov eax, ecx
mov dword [esp + 0x40], edx
mul ebx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x48], edx
mul ebx
mov dword [esp + 0x4c], eax
mov eax, edi
mov dword [esp + 0x50], edx
mul ebx
mov dword [esp + 0x54], eax
mov eax, esi
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x58], edx
mul ebx
mov dword [esp + 0x5c], eax
mov eax, ecx
mov dword [esp + 0x60], edx
mul ebx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x68], edx
mul ebx
mov dword [esp + 0x6c], eax
mov eax, edi
mov dword [esp + 0x70], edx
mul ebx
mov dword [esp + 0x74], eax
mov eax, esi
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x78], edx
mul ebx
mov dword [esp + 0xac], edi
mov edi, eax
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x7c], edx
mul ebx
mov esi, dword [esp + 4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x84], edx
mul ebx
xor ebx, ebx
add esi, dword [esp + 8]
mov dword [esp + 0x8c], edx
adc ebx, 0
add esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
adc ebx, 0
add ebx, dword [esp + 0x28]
mov dword [esp + 4], esi
mov esi, 0
adc esi, 0
add edx, dword [esp + 0x40]
mov dword [esp + 0x88], eax
adc ecx, 0
add ebx, edx
mov edx, dword [esp + 0x44]
adc esi, ecx
xor ecx, ecx
add edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x4c]
adc ecx, 0
add ebx, edx
mov edx, dword [esp + 0x34]
adc esi, ecx
xor ecx, ecx
add esi, dword [esp + 0x30]
mov dword [esp + 0x90], ebx
mov ebx, 0
adc ebx, 0
add edx, dword [esp + 0x48]
adc ecx, 0
add esi, edx
adc ebx, ecx
xor edx, edx
add eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
adc edx, 0
add ecx, edi
mov edi, 0
adc edi, 0
add eax, ecx
mov ecx, dword [esp + 0x7c]
adc edx, edi
add esi, eax
mov eax, dword [esp + 0x50]
adc ebx, edx
xor edi, edi
xor edx, edx
add ebx, dword [esp + 0x38]
mov dword [esp + 0x24], esi
adc edx, 0
xor esi, esi
add eax, dword [esp + 0x54]
adc esi, 0
add ebx, eax
adc edx, esi
xor eax, eax
mov esi, dword [esp + 0x68]
add esi, dword [esp + 0x6c]
adc eax, 0
add ecx, dword [esp + 0x80]
adc edi, 0
add esi, ecx
mov ecx, dword [esp + 0x70]
adc eax, edi
add ebx, esi
adc edx, eax
xor esi, esi
xor eax, eax
add edx, dword [esp + 0x58]
mov edi, dword [esp + 0x84]
adc esi, 0
add ecx, dword [esp + 0x74]
adc eax, 0
add edx, ecx
adc esi, eax
xor ecx, ecx
xor eax, eax
add edi, dword [esp + 0x88]
adc eax, 0
add edx, edi
mov dword [esp + 0x94], edx
adc esi, eax
mov eax, dword [esp + 0xac]
mul dword [esp + 0xb4]
add esi, dword [esp + 0x78]
mov edi, dword [esp + 0x8c]
adc ecx, 0
add edi, eax
mov eax, dword [esp + 0x94]
adc edx, 0
add esi, edi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x90]
adc ecx, edx
or esi, dword [esp + 4]
or esi, dword [esp]
mov edx, dword [esp + 0x24]
test cl, 2
mov dword [esp + 0x1c], ecx
je 0x4c1c50
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x90], esi
mov esi, ecx
mov edi, dword [esp + 0x1c]
shl edi, 0xf
shr esi, 0x11
or edi, esi
mov esi, eax
shl ecx, 0xf
shr esi, 0x11
or ecx, esi
mov esi, edx
mov dword [esp + 0x20], ecx
mov ecx, ebx
shl eax, 0xf
shr ecx, 0x11
or eax, ecx
mov ecx, dword [esp + 0x90]
test ecx, ecx
mov dword [esp + 0x1c], edi
mov edi, 1
cmovne ecx, edi
shl ebx, 0xf
shr esi, 0x11
shl edx, 0xf
or ebx, esi
inc dword [esp + 0x18]
or edx, ecx
jmp 0x4c1ca5
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x90], esi
mov esi, ecx
mov edi, dword [esp + 0x1c]
shl edi, 0x10
shr esi, 0x10
or edi, esi
mov esi, eax
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
mov esi, edx
mov dword [esp + 0x20], ecx
mov ecx, ebx
shl eax, 0x10
shr ecx, 0x10
or eax, ecx
mov ecx, dword [esp + 0x90]
test ecx, ecx
mov dword [esp + 0x1c], edi
mov edi, 1
cmovne ecx, edi
shl ebx, 0x10
shr esi, 0x10
shl edx, 0x10
or ebx, esi
or edx, ecx
cmp dword [esp + 0x18], 0x7ffd
jae 0x4c1d74
test edx, edx
je 0x4c205d
fnstcw word [esp + 0xc]
mov esi, dword [0x4ffcd8]
mov edi, dword [0x4ffcdc]
mov ecx, dword [esp + 0xc]
movsd xmm0, qword [esi]
and ecx, 0xc00
addsd xmm0, qword [edi]
movsd qword [esp + 0x10], xmm0
jne 0x4c1ceb
test edx, edx
jl 0x4c1d42
jmp 0x4c1d0f
cmp ecx, 0xc00
je 0x4c1d0f
cmp dword [esp + 0x98], 0
je 0x4c1d07
cmp ecx, 0x400
je 0x4c1d42
jmp 0x4c1d0f
cmp ecx, 0x800
je 0x4c1d42
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x18]
shl edx, 0x10
add edx, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x98]
or ecx, edx
mov dword [esi], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
add esp, 0xbc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
inc ebx
jne 0x4c1d5a
inc eax
jne 0x4c1d5a
mov edi, dword [esp + 0x1c]
inc dword [esp + 0x20]
lea esi, [edi + 1]
cmove edi, esi
mov dword [esp + 0x1c], edi
test ecx, ecx
jne 0x4c1d6c
xor ecx, ecx
add edx, edx
mov edx, 1
cmove ecx, edx
jmp 0x4c1d6e
xor ecx, ecx
not ecx
and ebx, ecx
jmp 0x4c1d0f
fnstcw word [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
and ecx, 0xc00
jne 0x4c1d8f
mov esi, edx
shr esi, 0x1f
jmp 0x4c1dbd
cmp ecx, 0xc00
je 0x4c1dbb
cmp dword [esp + 0x98], 0
je 0x4c1daf
cmp ecx, 0x400
je 0x4c212a
jmp 0x4c1dbb
cmp ecx, 0x800
je 0x4c2174
xor esi, esi
cmp dword [esp + 0x18], 0x7ffd
jle 0x4c1e4e
mov eax, dword [0x4ffce0]
cmp ecx, 0xc00
movsd xmm0, qword [eax]
mulsd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
je 0x4c20f8
cmp dword [esp + 0x98], 0
je 0x4c1e02
cmp ecx, 0x800
je 0x4c20f8
jmp 0x4c1e0e
cmp ecx, 0x400
je 0x4c20f8
mov esi, dword [esp + 0x98]
shr esi, 0x1b
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x4f7b80]
mov dword [ebx], eax
mov edx, dword [esi + 0x4f7b84]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 0x4f7b88]
mov dword [ebx + 8], ecx
mov edx, dword [esi + 0x4f7b8c]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
add esp, 0xbc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
je 0x4c213c
cmp dword [esp + 0x18], 0
jge 0x4c1cb3
cmp dword [esp + 0x18], 0xffffffff
jl 0x4c1e8b
test esi, esi
je 0x4c1e8b
cmp dword [esp + 0x1c], 0x1ffff
jb 0x4c1e8b
jne 0x4c1e95
cmp dword [esp + 0x20], 0xffffffff
jb 0x4c1e8b
jne 0x4c1e95
cmp eax, 0xffffffff
jb 0x4c1e8b
jne 0x4c1e95
cmp ebx, 0xffffffff
jae 0x4c1e95
mov dword [esp + 4], 1
jmp 0x4c1e9d
mov dword [esp + 4], 0
mov esi, dword [esp + 0x18]
neg esi
mov ecx, esi
neg ecx
mov dword [esp + 0x18], esi
cmp esi, 0x20
jge 0x4c1f11
mov esi, ecx
mov ecx, esi
mov edi, ebx
shl edi, cl
mov ecx, 1
test edx, edx
cmovne edx, ecx
mov ecx, esi
or edx, edi
mov edi, eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
shl edi, cl
mov ecx, edx
shr ebx, cl
mov ecx, esi
or ebx, edi
mov dword [esp], ebx
mov ebx, dword [esp + 0x20]
mov edi, ebx
shl edi, cl
mov ecx, edx
shr eax, cl
mov ecx, esi
or eax, edi
mov edi, dword [esp + 0x1c]
mov esi, edi
shl esi, cl
mov ecx, edx
shr ebx, cl
or ebx, esi
mov dword [esp + 0x20], ebx
shr edi, cl
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x24]
mov ebx, dword [esp]
jmp 0x4c1ffa
je 0x4c20d9
cmp dword [esp + 0x18], 0x40
jge 0x4c1f6c
or ebx, edx
mov edi, eax
mov esi, ecx
mov ecx, esi
mov edx, 0
mov ebx, 1
cmovne edx, ebx
shl edi, cl
or edx, edi
mov edi, dword [esp + 0x20]
mov ebx, edi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
shl ebx, cl
mov ecx, edx
shr eax, cl
mov ecx, esi
mov esi, dword [esp + 0x1c]
or ebx, eax
mov eax, esi
shl eax, cl
mov ecx, edx
shr edi, cl
shr esi, cl
or eax, edi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], esi
jmp 0x4c1ff2
je 0x4c20bb
cmp dword [esp + 0x18], 0x60
jge 0x4c1fa8
or ebx, eax
or ebx, edx
mov edx, 0
mov ebx, 1
mov esi, dword [esp + 0x20]
mov edi, esi
mov eax, dword [esp + 0x1c]
cmovne edx, ebx
mov ebx, eax
shl edi, cl
shl ebx, cl
or edx, edi
mov ecx, dword [esp + 0x18]
shr esi, cl
shr eax, cl
or ebx, esi
jmp 0x4c1fea
je 0x4c209d
cmp dword [esp + 0x18], 0x80
jge 0x4c1fe1
or eax, dword [esp + 0x20]
or eax, ebx
or eax, edx
mov edx, 0
mov edi, dword [esp + 0x1c]
mov esi, edi
mov eax, 1
mov ebx, edi
cmovne edx, eax
shl esi, cl
mov ecx, dword [esp + 0x18]
or edx, esi
shr ebx, cl
jmp 0x4c1fe8
mov edx, 1
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
cmp dword [esp + 4], 0
je 0x4c2090
test edx, edx
je 0x4c202a
mov ecx, dword [0x4ffcdc]
mov dword [esp + 0x18], 0
movsd xmm0, qword [ecx]
mulsd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
jmp 0x4c1cbb
test byte [esp + 8], 0x10
jne 0x4c2055
mov edx, dword [0x4ffcdc]
mov ecx, dword [0x4ffce4]
mov dword [esp + 0x18], 0
movsd xmm0, qword [edx]
mulsd xmm0, qword [ecx]
movsd qword [esp + 0x10], xmm0
jmp 0x4c205d
mov dword [esp + 0x18], 0
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x18]
shl edx, 0x10
add edx, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x98]
or ecx, edx
mov dword [esi], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
add esp, 0xbc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x18], 0
jmp 0x4c1cb3
or ebx, eax
mov eax, 1
or ebx, edx
mov edx, 0
mov ebx, dword [esp + 0x1c]
cmovne edx, eax
or edx, dword [esp + 0x20]
jmp 0x4c1fe8
mov ecx, 1
or ebx, edx
mov edx, 0
cmovne edx, ecx
mov ebx, dword [esp + 0x20]
or edx, eax
mov eax, dword [esp + 0x1c]
jmp 0x4c1fea
mov ecx, 1
test edx, edx
mov esi, dword [esp + 0x1c]
cmovne edx, ecx
or edx, ebx
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], esi
jmp 0x4c1ff2
mov esi, dword [esp + 0x98]
shr esi, 0x1b
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x4f7bc0]
mov dword [ebx], eax
mov edx, dword [esi + 0x4f7bc4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 0x4f7bc8]
mov dword [ebx + 8], ecx
mov edx, dword [esi + 0x4f7bcc]
jmp 0x4c1e3b
test edx, edx
je 0x4c1dbb
mov esi, 1
jmp 0x4c1dbd
cmp dword [esp + 0x1c], 0x1ffff
jne 0x4c1cb3
cmp dword [esp + 0x20], 0xffffffff
jne 0x4c1cb3
cmp eax, 0xffffffff
jne 0x4c1cb3
cmp ebx, 0xffffffff
jne 0x4c1cb3
test esi, esi
jne 0x4c1dcb
jmp 0x4c1cb3
test edx, edx
je 0x4c1dbb
mov esi, 1
jmp 0x4c1dbd
mov edi, dword [esp + 0xb8]
xor ecx, ecx
or edi, ebx
or edi, dword [esp + 0xa8]
mov edi, 1
cmovne ecx, edi
or ecx, eax
jne 0x4c21b6
mov dword [esp + 8], 0
mov dword [esp + 4], 1
jmp 0x4c2200
cmp ecx, 0x10000
jae 0x4c21cd
mov edi, 2
mov dword [esp + 8], edi
mov dword [esp + 4], edi
jmp 0x4c2200
cmp ecx, 0x7fff0000
jae 0x4c21e7
mov dword [esp + 8], 0
mov dword [esp + 4], 4
jmp 0x4c2200
mov edi, 0x10
mov ecx, 8
cmova ecx, edi
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov edi, dword [esp + 0x9c]
xor ecx, ecx
or edi, dword [esp + 0xa0]
or edi, dword [esp + 0xa4]
mov edi, 1
cmovne ecx, edi
or ecx, edx
jne 0x4c222d
mov edi, 1
mov dword [esp], edi
jmp 0x4c226a
cmp ecx, 0x10000
jae 0x4c2249
mov edi, dword [esp + 8]
or edi, 2
mov dword [esp + 8], edi
mov dword [esp], 2
jmp 0x4c226a
cmp ecx, 0x7fff0000
jae 0x4c225a
mov dword [esp], 4
jmp 0x4c226a
mov edi, 0x10
mov ecx, 8
cmova ecx, edi
mov dword [esp], ecx
mov edi, dword [esp + 4]
or edi, dword [esp]
cmp dword [esp + 0xb0], 0x7fff
je 0x4c2780
cmp esi, 0x7fff
je 0x4c2780
test edi, 1
je 0x4c22f3
cmp dword [esp + 8], 0
je 0x4c22b6
mov eax, dword [0x4ffcd4]
mov edx, dword [0x4ffcd8]
movsd xmm0, qword [eax]
mulsd xmm0, qword [edx]
movsd qword [esp + 0x10], xmm0
mov ebx, dword [esp + 0x98]
shr ebx, 0x1b
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x4f7ba0]
mov dword [edi], eax
mov edx, dword [ebx + 0x4f7ba4]
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0x4f7ba8]
mov dword [edi + 8], ecx
mov esi, dword [ebx + 0x4f7bac]
mov dword [edi + 0xc], esi
add esp, 0xbc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 4]
cmp eax, dword [esp]
je 0x4c24c5
mov eax, dword [0x4ffcd4]
mov edx, dword [0x4ffcd8]
cmp dword [esp + 4], 2
movsd xmm0, qword [eax]
mulsd xmm0, qword [edx]
movsd qword [esp + 0x10], xmm0
je 0x4c2592
cmp dword [esp + 0xac], 0
je 0x4c233c
mov edx, dword [esp + 0xac]
xor esi, esi
shl edx, 0xf
jmp 0x4c2374
cmp dword [esp + 0x9c], 0
je 0x4c2354
mov edx, dword [esp + 0x9c]
mov esi, 0x11
jmp 0x4c2374
mov esi, dword [esp + 0xa0]
mov eax, 0x31
test esi, esi
mov edx, dword [esp + 0xa4]
cmovne edx, esi
mov esi, 0x51
cmovne esi, eax
bsr eax, edx
sub esi, eax
add esi, 0x1f
mov edx, esi
neg edx
mov dword [esp], edx
cmp esi, 0x20
jge 0x4c23f0
mov edx, dword [esp + 0x9c]
mov ecx, esi
mov edi, edx
mov eax, dword [esp + 0xac]
shl eax, cl
mov ecx, dword [esp]
shr edi, cl
mov ecx, esi
or eax, edi
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xa0]
mov edi, eax
shl edx, cl
mov ecx, dword [esp]
shr edi, cl
mov ecx, esi
or edx, edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x9c], edx
mov edx, edi
shl eax, cl
mov ecx, dword [esp]
shr edx, cl
mov ecx, esi
shl edi, cl
or eax, edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edi
jmp 0x4c24bd
je 0x4c2563
cmp esi, 0x40
jge 0x4c2448
mov ecx, esi
mov edi, edx
mov eax, dword [esp + 0xa0]
mov edx, eax
shl dword [esp + 0x9c], cl
mov ecx, edi
shr edx, cl
mov ecx, esi
or edx, dword [esp + 0x9c]
shl eax, cl
mov ecx, edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0xac], edx
mov edx, edi
shr edx, cl
mov ecx, esi
shl edi, cl
or edx, eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
jmp 0x4c24b2
je 0x4c2542
cmp esi, 0x60
jge 0x4c2482
mov edi, dword [esp + 0xa4]
mov ecx, esi
mov edx, edi
mov eax, dword [esp + 0xa0]
shl eax, cl
mov ecx, dword [esp]
shr edx, cl
mov ecx, esi
shl edi, cl
or edx, eax
mov dword [esp + 0xac], edx
mov dword [esp + 0x9c], edi
jmp 0x4c24a7
mov eax, dword [esp + 0xa4]
mov ecx, esi
mov edx, eax
shl edx, cl
cmp esi, 0x60
mov dword [esp + 0x9c], 0
cmove edx, eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
neg esi
inc esi
jmp 0x4c196d
fnstcw word [esp + 0xc]
mov eax, dword [0x4ffcdc]
mov edx, dword [0x4ffcd4]
mov ecx, dword [esp + 0xc]
movsd xmm0, qword [eax]
and ecx, 0xc00
mulsd xmm0, qword [edx]
movsd qword [esp + 0x10], xmm0
cmp dword [esp + 0x98], 0
je 0x4c2508
mov eax, 1
xor edx, edx
cmp ecx, 0x400
cmovne eax, edx
jmp 0x4c2518
mov eax, 1
xor edx, edx
cmp ecx, 0x800
cmovne eax, edx
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [esp + 0x98]
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], eax
add esp, 0xbc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xac], eax
mov dword [esp + 0x9c], edx
jmp 0x4c24a7
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0xac], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
jmp 0x4c24b2
cmp dword [esp + 0xb4], 0
je 0x4c25b3
mov edi, dword [esp + 0xb4]
shl edi, 0xf
mov dword [esp + 0xb0], 0
jmp 0x4c25f1
cmp dword [esp + 0xb8], 0
je 0x4c25d1
mov edi, dword [esp + 0xb8]
mov dword [esp + 0xb0], 0x11
jmp 0x4c25f1
mov eax, 0x31
mov edx, 0x51
test ebx, ebx
mov edi, dword [esp + 0xa8]
cmovne edx, eax
mov dword [esp + 0xb0], edx
cmovne edi, ebx
bsr eax, edi
mov edi, dword [esp + 0xb0]
sub edi, eax
add edi, 0x1f
mov edx, edi
neg edx
mov dword [esp + 0xb0], edi
cmp edi, 0x20
mov dword [esp + 4], edx
jge 0x4c2679
mov edx, edi
mov ecx, edx
mov eax, dword [esp + 0xb8]
mov dword [esp], esi
mov esi, eax
mov edi, dword [esp + 0xb4]
shl edi, cl
mov ecx, dword [esp + 4]
shr esi, cl
mov ecx, edx
or edi, esi
mov esi, ebx
shl eax, cl
mov ecx, dword [esp + 4]
shr esi, cl
mov ecx, edx
or eax, esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xb8], eax
mov eax, esi
shl ebx, cl
mov ecx, dword [esp + 4]
shr eax, cl
mov ecx, edx
shl esi, cl
or ebx, eax
mov dword [esp + 0xa8], esi
mov dword [esp + 0xb4], edi
mov esi, dword [esp]
jmp 0x4c2735
je 0x4c2762
cmp dword [esp + 0xb0], 0x40
jge 0x4c26cc
mov eax, edi
mov ecx, eax
mov edi, edx
mov edx, ebx
shl dword [esp + 0xb8], cl
mov ecx, edi
shr edx, cl
mov ecx, eax
or edx, dword [esp + 0xb8]
shl ebx, cl
mov ecx, edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0xb4], edx
mov edx, edi
shr edx, cl
mov ecx, eax
or edx, ebx
mov ebx, edi
mov dword [esp + 0xb8], edx
shl ebx, cl
jmp 0x4c272a
je 0x4c274b
cmp dword [esp + 0xb0], 0x60
jge 0x4c2703
mov edx, edi
mov ecx, edx
mov edi, dword [esp + 0xa8]
mov eax, edi
shl ebx, cl
mov ecx, dword [esp + 4]
shr eax, cl
mov ecx, edx
shl edi, cl
or eax, ebx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
jmp 0x4c2728
mov eax, dword [esp + 0xa8]
mov edx, eax
mov ecx, edi
shl edx, cl
cmp ecx, 0x60
mov dword [esp + 0xb8], 0
cmove edx, eax
mov dword [esp + 0xb4], edx
xor ebx, ebx
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0xb0]
neg eax
inc eax
mov dword [esp + 0xb0], eax
jmp 0x4c196d
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], eax
jmp 0x4c2728
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb4], eax
mov ebx, dword [esp + 0xa8]
jmp 0x4c272a
test edi, 0x10
je 0x4c294d
mov ecx, dword [esp + 4]
cmp ecx, dword [esp]
je 0x4c27eb
cmp dword [esp + 4], 0x10
je 0x4c29f0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov eax, dword [esp + 0xa4]
mov dword [ebx], eax
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 0xc]
test ecx, 0x8000
jne 0x4c2934
mov eax, dword [0x4ffcd0]
mov edx, dword [ebp + 8]
movsd xmm0, qword [eax]
divsd xmm0, xmm0
mov dword [edx + 0xc], ecx
movsd qword [esp + 0x10], xmm0
mov ecx, dword [edx + 0xc]
jmp 0x4c2934
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
not ecx
not esi
and ecx, 0x8000
and esi, 0x8000
shr ecx, 0xf
shr esi, 0xf
mov dword [esp + 0x1c], ecx
or ecx, esi
mov dword [esp + 0x18], esi
je 0x4c2829
mov ecx, dword [0x4ffcd0]
movsd xmm0, qword [ecx]
divsd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x18]
je 0x4c2843
cmp dword [esp + 0x1c], 0
jne 0x4c291b
jmp 0x4c28d9
cmp eax, edx
jb 0x4c291b
jne 0x4c2863
mov ecx, dword [esp + 0xb8]
cmp ecx, dword [esp + 0x9c]
jb 0x4c291b
jmp 0x4c2871
mov ecx, dword [esp + 0xb8]
cmp ecx, dword [esp + 0x9c]
jne 0x4c2896
cmp ebx, dword [esp + 0xa0]
jb 0x4c291b
jne 0x4c2896
mov ecx, dword [esp + 0xa8]
cmp ecx, dword [esp + 0xa4]
jb 0x4c291b
cmp edx, eax
jb 0x4c28d9
jne 0x4c28ae
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xb8]
jb 0x4c28d9
jmp 0x4c28bc
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xb8]
jne 0x4c28f4
cmp ebx, dword [esp + 0xa0]
ja 0x4c28d9
jne 0x4c28f4
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0xa4]
jbe 0x4c28f4
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebx], eax
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 0xc]
jmp 0x4c2934
mov eax, dword [ebp + 0xc]
test dword [eax + 0xc], 0x80000000
je 0x4c291b
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebx], eax
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 0xc]
jmp 0x4c2934
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebx], eax
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp + 8]
or ecx, 0x8000
mov dword [eax + 0xc], ecx
add esp, 0xbc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, 1
je 0x4c2993
mov eax, dword [0x4ffcd0]
mov edx, dword [ebp + 8]
movsd xmm0, qword [eax]
divsd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0xffff8000
add esp, 0xbc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esp + 8], 0
je 0x4c29b3
mov eax, dword [0x4ffcd4]
mov edx, dword [0x4ffcd8]
movsd xmm0, qword [eax]
mulsd xmm0, qword [edx]
movsd qword [esp + 0x10], xmm0
mov ebx, dword [esp + 0x98]
shr ebx, 0x1b
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x4f7b80]
mov dword [edi], eax
mov edx, dword [ebx + 0x4f7b84]
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0x4f7b88]
mov dword [edi + 8], ecx
mov esi, dword [ebx + 0x4f7b8c]
mov dword [edi + 0xc], esi
add esp, 0xbc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0xa8]
mov dword [ebx], eax
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 0xc]
jmp 0x4c27be
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push ebx
sub esp, 0x5c
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 0xc]
mov esi, edx
mov eax, dword [ecx + 4]
and esi, 0x7fffffff
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
mov edi, dword [ecx]
mov ecx, eax
mov dword [esp + 0x34], edx
xor edx, eax
mov dword [esp + 0x38], esi
and ecx, 0x7fffffff
mov dword [esp + 0x30], eax
and edx, 0x80000000
movzx eax, si
shr esi, 0x10
mov dword [esp + 0x10], edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x20], edi
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], edi
mov edi, ecx
mov dword [esp + 0x18], ebx
lea ebx, [esi - 1]
mov dword [esp + 0x50], edx
movzx edx, cx
shr edi, 0x10
mov dword [esp + 0x3c], ecx
cmp ebx, 0x7ffd
mov dword [esp + 0x54], esi
ja 0x4c3249
lea ebx, [edi - 1]
cmp ebx, 0x7ffd
ja 0x4c3249
mov ebx, dword [esp + 0x54]
add esp, 0xffffffd0
mov esi, dword [esp + 0x44]
or eax, 0x10000
or edx, 0x10000
lea ebx, [ebx + edi - 0x4000]
mov dword [esp], esi
mov dword [esp + 4], eax
mov edi, dword [esp + 0x40]
mov dword [esp + 8], edi
lea edi, [esp + 0x78]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x68]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], edi
call fcn.004c39a0
add esp, 0x30
mov edx, dword [esp + 0x34]
xor edi, edi
mov dword [esp], edx
and edx, 2
mov ecx, dword [esp + 0x30]
or edx, edi
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
je 0x4c2bb4
mov edx, ecx
mov edi, dword [esp]
shr edx, 0x11
shl edi, 0xf
or edx, edi
mov edi, eax
shl ecx, 0xf
shr edi, 0x11
or ecx, edi
mov edi, esi
shr edi, 0x11
shl eax, 0xf
mov dword [esp + 0x30], ecx
or edi, eax
mov ecx, dword [esp + 0x44]
mov eax, ecx
shl esi, 0xf
shr eax, 0x11
or esi, eax
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x3c], edi
or esi, dword [esp + 0x4c]
je 0x4c2b98
mov esi, 1
jmp 0x4c2b9a
xor esi, esi
mov eax, edx
inc ebx
shr eax, 0x11
shl edx, 0xf
shl ecx, 0xf
or edx, esi
or eax, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x4c2c21
mov edx, ecx
mov edi, dword [esp]
shr edx, 0x10
shl edi, 0x10
or edx, edi
mov edi, eax
shl ecx, 0x10
shr edi, 0x10
or ecx, edi
mov edi, esi
shr edi, 0x10
shl eax, 0x10
mov dword [esp + 0x30], ecx
or edi, eax
mov ecx, dword [esp + 0x44]
mov eax, ecx
shl esi, 0x10
shr eax, 0x10
or esi, eax
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x3c], edi
or esi, dword [esp + 0x4c]
je 0x4c2c08
mov esi, 1
jmp 0x4c2c0a
xor esi, esi
mov eax, edx
shr eax, 0x10
shl edx, 0x10
shl ecx, 0x10
or edx, esi
or eax, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
cmp ebx, 0x7ffd
jae 0x4c2d63
or edx, eax
je 0x4c3176
fnstcw word [esp + 0x24]
mov edx, dword [0x4ffcd8]
mov ecx, dword [0x4ffcdc]
mov eax, dword [esp + 0x24]
fld qword [edx]
and eax, 0xc00
mov dword [esp + 8], eax
fadd qword [ecx]
fstp qword [esp + 0x28]
jne 0x4c2c73
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov eax, dword [esp + 0x40]
mov dword [esp], edx
sub edx, ecx
mov dword [esp + 4], eax
jl 0x4c2cde
jmp 0x4c2ca3
cmp dword [esp + 8], 0xc00
je 0x4c2ca3
xor eax, eax
or eax, dword [esp + 0x50]
je 0x4c2c95
cmp dword [esp + 8], 0x400
je 0x4c2d4f
jmp 0x4c2ca3
cmp dword [esp + 8], 0x800
je 0x4c2d4f
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov esi, dword [ebp + 8]
shl ebx, 0x10
add eax, ebx
mov dword [esi], edx
mov edx, dword [esp + 0x50]
or edx, eax
mov eax, dword [esp + 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
add esp, 0x5c
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x38]
add edx, 1
mov ecx, dword [esp + 0x3c]
mov eax, edx
adc ecx, 0
or eax, ecx
jne 0x4c2d06
mov esi, dword [esp + 0x30]
add esi, 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], esi
adc eax, 0
jmp 0x4c2d12
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 4]
add edi, edi
mov esi, dword [esp]
adc esi, esi
or edi, esi
jne 0x4c2d2a
mov dword [esp], 1
jmp 0x4c2d31
mov dword [esp], 0
mov dword [esp + 4], ebx
xor ebx, ebx
cmp dword [esp + 8], 0
sete bl
and ebx, dword [esp]
not ebx
and edx, ebx
mov ebx, dword [esp + 4]
jmp 0x4c2cb7
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp], edx
jmp 0x4c2cde
fnstcw word [esp + 0x24]
mov esi, dword [esp + 0x24]
mov edi, esi
and edi, 0xc00
jne 0x4c2d85
xor eax, eax
mov edx, dword [esp + 0x44]
sub edx, eax
jl 0x4c2e51
jmp 0x4c2daf
cmp edi, 0xc00
je 0x4c2daf
xor eax, eax
or eax, dword [esp + 0x50]
je 0x4c2da3
cmp edi, 0x400
je 0x4c2e43
jmp 0x4c2daf
cmp edi, 0x800
je 0x4c3231
xor ecx, ecx
cmp ebx, 0x7ffd
jle 0x4c2e2c
mov eax, dword [0x4ffce0]
cmp edi, 0xc00
fld qword [eax]
fmul st(0)
fstp qword [esp + 0x28]
je 0x4c2e97
xor eax, eax
mov edx, dword [esp + 0x50]
or edx, eax
je 0x4c2deb
cmp edi, 0x800
je 0x4c2e5b
mov eax, 1
jmp 0x4c2df9
cmp edi, 0x400
je 0x4c2e93
xor eax, eax
shl eax, 4
mov esi, dword [ebp + 8]
mov edx, dword [eax + 0x4f7b80]
mov ecx, dword [eax + 0x4f7b84]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ebx, dword [eax + 0x4f7b88]
mov eax, dword [eax + 0x4f7b8c]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
add esp, 0x5c
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
je 0x4c31e5
test ebx, ebx
jl 0x4c2ea3
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
jmp 0x4c2c2d
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x44]
je 0x4c2daf
mov ecx, 1
jmp 0x4c2db1
mov ebx, 1
shl ebx, 4
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x4f7bc0]
mov edx, dword [ebx + 0x4f7bc4]
mov dword [esi], eax
mov dword [esi + 4], edx
mov ecx, dword [ebx + 0x4f7bc8]
mov ebx, dword [ebx + 0x4f7bcc]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebx
add esp, 0x5c
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ebx, ebx
jmp 0x4c2e60
xor eax, eax
mov edx, dword [esp + 0x50]
or edx, eax
jne 0x4c2e5b
jmp 0x4c2e93
cmp ebx, 0xffffffff
jge 0x4c2eb9
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp], edx
jmp 0x4c2f2e
test ecx, ecx
jne 0x4c2ece
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp], edx
jmp 0x4c2f2e
mov edx, dword [esp + 0x30]
mov ecx, 0xffffffff
mov edi, edx
sub edi, ecx
mov ecx, 0x1ffff
mov eax, dword [esp + 0x34]
mov edi, eax
sbb edi, ecx
jae 0x4c2efb
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp], edx
jmp 0x4c2f2e
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, 0xffffffff
mov dword [esp], edi
mov edi, 0x1ffff
sub edx, ecx
sub eax, edi
or edx, eax
jne 0x4c2f38
mov edx, 0xffffffff
mov eax, dword [esp + 0x10]
sub eax, edx
mov ecx, dword [esp]
sbb ecx, edx
jae 0x4c2f38
mov dword [esp + 0x1c], 1
jmp 0x4c2f3e
xor eax, eax
mov dword [esp + 0x1c], eax
neg ebx
mov edx, ebx
mov eax, ebx
neg edx
and eax, 0x3f
and edx, 0x3f
mov dword [esp + 0x20], eax
cmp ebx, 0x40
mov dword [esp + 0x18], edx
jge 0x4c306a
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x44]
je 0x4c2f6e
mov ebx, 1
jmp 0x4c2f70
xor ebx, ebx
cmp dword [esp + 0x18], 0x1f
ja 0x4c2f87
mov ecx, edx
mov eax, dword [esp]
mov edx, dword [esp + 0x10]
shld eax, edx, cl
shl edx, cl
jmp 0x4c2f91
mov ecx, edx
xor edx, edx
mov eax, dword [esp + 0x10]
shl eax, cl
mov ecx, dword [esp + 0x30]
or edx, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebx
cmp dword [esp + 0x18], 0x1f
ja 0x4c2fcb
mov ecx, dword [esp + 0x18]
mov edi, ebx
mov ebx, dword [esp + 0xc]
shld edi, ebx, cl
shl ebx, cl
mov dword [esp + 0x14], edi
mov dword [esp + 8], ebx
jmp 0x4c2fe1
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
shl ebx, cl
mov dword [esp + 8], 0
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x20], 0x1f
ja 0x4c3002
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp]
mov edi, dword [esp + 0x10]
shrd edi, ebx, cl
shr ebx, cl
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebx
jmp 0x4c3015
mov ecx, dword [esp + 0x20]
xor ebx, ebx
mov edi, dword [esp]
shr edi, cl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
or ecx, dword [esp + 0x10]
or ebx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x20], 0x1f
ja 0x4c304b
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0xc]
shrd edi, ebx, cl
mov dword [esp + 0xc], edi
shr ebx, cl
jmp 0x4c305b
mov ecx, dword [esp + 0x20]
xor ebx, ebx
mov edi, dword [esp + 4]
shr edi, cl
mov dword [esp + 0xc], edi
mov ecx, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x4c3123
je 0x4c31ae
cmp ebx, 0x80
jge 0x4c30fe
mov edx, dword [esp + 0x10]
mov eax, dword [esp]
or edx, dword [esp + 0x40]
or eax, dword [esp + 0x44]
or edx, eax
je 0x4c3098
mov dword [esp], 1
jmp 0x4c309d
xor eax, eax
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov dword [esp + 4], eax
cmp dword [esp + 0x18], 0x1f
ja 0x4c30bd
mov edx, edi
mov ecx, dword [esp + 0x18]
shld eax, edi, cl
shl edx, cl
jmp 0x4c30c7
mov eax, edi
xor edx, edx
mov ecx, dword [esp + 0x18]
shl eax, cl
or edx, dword [esp]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
cmp dword [esp + 0x20], 0x1f
ja 0x4c30e8
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 4]
shrd edi, ebx, cl
shr ebx, cl
jmp 0x4c30f4
mov ecx, dword [esp + 0x20]
xor ebx, ebx
mov edi, dword [esp + 4]
shr edi, cl
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
jmp 0x4c3119
xor eax, eax
mov edx, 1
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x1c], 0
je 0x4c31a7
or edx, eax
je 0x4c314a
mov eax, dword [0x4ffcdc]
xor ebx, ebx
mov edx, dword [esp + 0x40]
fld qword [eax]
fmul st(0)
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x44]
jmp 0x4c2c2d
test esi, 0x10
jne 0x4c3174
mov eax, dword [0x4ffcdc]
xor ebx, ebx
mov edx, dword [0x4ffce4]
fld qword [eax]
fmul qword [edx]
fstp qword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
jmp 0x4c2c2d
xor ebx, ebx
mov edi, dword [ebp + 8]
shl ebx, 0x10
add ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
or esi, ebx
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], esi
add esp, 0x5c
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ebx, ebx
jmp 0x4c2c2d
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x44]
je 0x4c31bf
mov edx, 1
jmp 0x4c31c1
xor edx, edx
or edx, dword [esp + 0x10]
mov eax, dword [esp]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
jmp 0x4c3119
mov esi, 0xffffffff
mov edx, dword [esp + 0x30]
sub edx, esi
mov esi, 0x1ffff
mov eax, dword [esp + 0x34]
sub eax, esi
or edx, eax
jne 0x4c2e36
mov eax, 0xffffffff
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
sub esi, eax
sub edx, eax
or esi, edx
jne 0x4c2e36
test ecx, ecx
jne 0x4c2db9
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
jmp 0x4c2c2d
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x44]
je 0x4c2daf
mov ecx, 1
jmp 0x4c2db1
mov ebx, dword [esp + 0x10]
or ebx, dword [esp + 0xc]
je 0x4c325d
mov dword [esp + 4], 1
jmp 0x4c3263
xor ebx, ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp + 4]
or ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
mov dword [esp + 4], ebx
or esi, ebx
jne 0x4c3288
mov dword [esp], 0
mov dword [esp + 8], 1
jmp 0x4c32ef
mov ebx, 0x10000
mov esi, dword [esp + 0x38]
sub esi, ebx
jae 0x4c32a3
mov ebx, 2
mov dword [esp], ebx
mov dword [esp + 8], ebx
jmp 0x4c32ef
mov ebx, 0x7fff0000
mov esi, dword [esp + 0x38]
sub esi, ebx
jae 0x4c32c1
mov dword [esp], 0
mov dword [esp + 8], 4
jmp 0x4c32ef
mov ebx, 0x7fff0000
mov esi, dword [esp + 0x38]
mov dword [esp], 0
sub esi, ebx
jb 0x4c32e7
mov ebx, dword [esp + 4]
or ebx, esi
je 0x4c32e7
mov dword [esp + 8], 0x10
jmp 0x4c32ef
mov dword [esp + 8], 8
mov ebx, dword [esp + 0x1c]
or ebx, dword [esp + 0x18]
je 0x4c3303
mov dword [esp + 4], 1
jmp 0x4c3309
xor ebx, ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp + 4]
or ebx, dword [esp + 0x20]
mov esi, ecx
mov dword [esp + 4], ebx
or esi, ebx
jne 0x4c3322
mov ebx, 1
jmp 0x4c3369
mov ebx, 0x10000
mov esi, ecx
sub esi, ebx
jae 0x4c333d
mov ebx, dword [esp]
or ebx, 2
mov dword [esp], ebx
mov ebx, 2
jmp 0x4c3369
mov esi, 0x7fff0000
mov ebx, ecx
sub ebx, esi
jae 0x4c334f
mov ebx, 4
jmp 0x4c3369
mov ebx, ecx
sub ebx, esi
jb 0x4c3364
mov esi, dword [esp + 4]
or esi, ebx
je 0x4c3364
mov ebx, 0x10
jmp 0x4c3369
mov ebx, 8
mov esi, dword [esp + 8]
or esi, ebx
cmp dword [esp + 0x54], 0x7fff
je 0x4c3737
cmp edi, 0x7fff
je 0x4c3737
test esi, 1
je 0x4c33f0
cmp dword [esp], 0
je 0x4c33aa
mov eax, dword [0x4ffcd4]
mov edx, dword [0x4ffcd8]
fld qword [eax]
fmul qword [edx]
fstp qword [esp + 0x28]
xor eax, eax
mov edx, dword [esp + 0x50]
or edx, eax
je 0x4c33bb
mov eax, 1
jmp 0x4c33bd
xor eax, eax
shl eax, 4
mov esi, dword [ebp + 8]
mov edx, dword [eax + 0x4f7ba0]
mov ecx, dword [eax + 0x4f7ba4]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ebx, dword [eax + 0x4f7ba8]
mov eax, dword [eax + 0x4f7bac]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
add esp, 0x5c
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ebx, dword [esp + 8]
je 0x4c355e
mov ebx, dword [0x4ffcd4]
mov esi, dword [0x4ffcd8]
cmp dword [esp + 8], 2
fld qword [ebx]
fmul qword [esi]
fstp qword [esp + 0x28]
je 0x4c35c3
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
or ecx, edx
mov dword [esp], edx
jne 0x4c343e
mov ecx, dword [esp + 0x1c]
mov edi, 0x31
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp], ebx
jmp 0x4c3443
mov edi, 0xfffffff1
mov ebx, 1
mov esi, dword [esp]
sub esi, ebx
jae 0x4c3454
add edi, 0x20
jmp 0x4c345b
mov ebx, dword [esp]
mov dword [esp + 4], ebx
bsr ebx, dword [esp + 4]
sub edi, ebx
add edi, 0x1f
cmp edi, 0x40
jge 0x4c350c
cmp edi, 0x1f
ja 0x4c3483
mov ecx, edi
mov ebx, dword [esp + 0x20]
shld edx, ebx, cl
shl ebx, cl
mov dword [esp], ebx
jmp 0x4c3492
mov ecx, edi
mov edx, dword [esp + 0x20]
mov dword [esp], 0
shl edx, cl
mov ecx, edi
neg ecx
and ecx, 0x3f
cmp ecx, 0x1f
ja 0x4c34bd
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
shrd eax, ebx, cl
mov dword [esp + 0x20], eax
shr ebx, cl
mov dword [esp + 4], ebx
mov eax, dword [esp + 8]
jmp 0x4c34cf
mov ebx, dword [esp + 0x18]
shr ebx, cl
mov dword [esp + 4], 0
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x20]
or ebx, dword [esp]
or edx, dword [esp + 4]
mov dword [esp + 0x20], ebx
cmp edi, 0x1f
ja 0x4c34f8
mov ecx, edi
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
shld esi, ebx, cl
shl ebx, cl
mov dword [esp + 0x18], esi
jmp 0x4c3506
mov ecx, edi
xor ebx, ebx
mov esi, dword [esp + 0x1c]
shl esi, cl
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
jmp 0x4c3556
mov ecx, edi
and ecx, 0x3f
cmp ecx, 0x1f
ja 0x4c3529
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
shld edx, ebx, cl
shl ebx, cl
mov dword [esp + 0x20], ebx
jmp 0x4c3535
xor edx, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
shl edx, cl
cmp edi, 0x40
mov ebx, dword [esp + 0x20]
jne 0x4c3542
mov ebx, dword [esp + 0x1c]
jne 0x4c3548
mov edx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
neg edi
inc edi
jmp 0x4c2abc
fnstcw word [esp + 0x24]
mov eax, dword [0x4ffcdc]
xor ecx, ecx
mov edx, dword [0x4ffcd4]
mov ebx, dword [esp + 0x24]
fld qword [eax]
and ebx, 0xc00
fmul qword [edx]
fstp qword [esp + 0x28]
or ecx, dword [esp + 0x50]
je 0x4c3594
xor eax, eax
cmp ebx, 0x400
sete al
jmp 0x4c359f
xor eax, eax
cmp ebx, 0x800
sete al
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], eax
add esp, 0x5c
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x14]
mov dword [esp + 4], ebx
or ebx, eax
mov dword [esp], eax
jne 0x4c35eb
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0x54], 0x31
jmp 0x4c35f3
mov dword [esp + 0x54], 0xfffffff1
mov ebx, 1
mov esi, dword [esp]
sub esi, ebx
jae 0x4c360c
mov ebx, dword [esp + 0x54]
add ebx, 0x20
mov dword [esp + 0x54], ebx
jmp 0x4c3613
mov ebx, dword [esp]
mov dword [esp + 4], ebx
bsr ebx, dword [esp + 4]
mov esi, dword [esp + 0x54]
sub esi, ebx
add esi, 0x1f
mov dword [esp + 0x54], esi
cmp esi, 0x40
jge 0x4c36db
cmp dword [esp + 0x54], 0x1f
ja 0x4c3646
mov ecx, esi
mov ebx, dword [esp + 0x14]
shld eax, ebx, cl
shl ebx, cl
mov dword [esp + 4], ebx
jmp 0x4c3656
mov ecx, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 4], 0
shl eax, cl
neg ecx
and ecx, 0x3f
cmp ecx, 0x1f
ja 0x4c3680
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov esi, eax
mov ebx, dword [esp + 0x10]
shrd ebx, eax, cl
shr esi, cl
mov eax, dword [esp + 8]
mov dword [esp + 0x14], ebx
mov dword [esp], esi
jmp 0x4c3691
mov ebx, dword [esp + 0xc]
shr ebx, cl
mov dword [esp], 0
mov dword [esp + 0x14], ebx
or ebx, dword [esp + 4]
or eax, dword [esp]
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x54], 0x1f
ja 0x4c36bd
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
shld esi, ebx, cl
shl ebx, cl
mov dword [esp + 0xc], esi
mov dword [esp], ebx
jmp 0x4c36d2
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x10]
shl ebx, cl
mov dword [esp], 0
mov dword [esp + 0xc], ebx
mov ebx, dword [esp]
mov dword [esp + 0x10], ebx
jmp 0x4c3727
mov ecx, esi
and ecx, 0x3f
cmp ecx, 0x1f
ja 0x4c36f8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
shld eax, ebx, cl
shl ebx, cl
mov dword [esp + 0x14], ebx
jmp 0x4c3704
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
shl eax, cl
cmp dword [esp + 0x54], 0x40
mov ebx, dword [esp + 0x14]
jne 0x4c3713
mov ebx, dword [esp + 0x10]
jne 0x4c3719
mov eax, dword [esp + 0xc]
xor esi, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov ebx, dword [esp + 0x54]
neg ebx
inc ebx
mov dword [esp + 0x54], ebx
jmp 0x4c2abc
test esi, 0x10
je 0x4c38f0
cmp ebx, dword [esp + 8]
je 0x4c37b7
cmp dword [esp + 8], 0x10
je 0x4c376b
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
jmp 0x4c3784
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov ecx, ebx
xor edx, edx
and ecx, 0x8000
or ecx, edx
jne 0x4c38d7
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
mov eax, dword [0x4ffcd0]
mov dword [edx + 0xc], ebx
fld qword [eax]
fdiv st(0)
fstp qword [esp + 0x28]
mov eax, dword [edx + 8]
mov ebx, dword [edx + 0xc]
jmp 0x4c38d7
mov edx, dword [esp + 0x34]
xor eax, eax
and edx, 0x8000
or edx, eax
jne 0x4c37ce
mov eax, 1
jmp 0x4c37d0
xor eax, eax
mov ecx, dword [esp + 0x30]
xor edx, edx
and ecx, 0x8000
or ecx, edx
jne 0x4c37e7
mov edx, 1
jmp 0x4c37e9
xor edx, edx
mov ecx, eax
or ecx, edx
je 0x4c37fd
mov ecx, dword [0x4ffcd0]
fld qword [ecx]
fdiv st(0)
fstp qword [esp + 0x28]
cmp edx, eax
je 0x4c380b
test eax, eax
jne 0x4c38c1
jmp 0x4c387f
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
jb 0x4c38c1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
sub edx, dword [esp + 0x20]
sub eax, dword [esp + 0x3c]
or edx, eax
jne 0x4c3847
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
sbb edx, dword [esp + 0x18]
jb 0x4c38c1
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
sbb edx, dword [esp + 0x38]
jb 0x4c387f
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
sub edx, dword [esp + 0x14]
sub eax, dword [esp + 0x38]
or edx, eax
jne 0x4c3897
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
sbb edx, dword [esp + 0xc]
jae 0x4c3897
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
jmp 0x4c38d7
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [eax + 0xc]
and ecx, 0x80000000
or ecx, edx
je 0x4c38c1
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
jmp 0x4c38d7
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov edx, dword [ebp + 8]
or ebx, 0x8000
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebx
add esp, 0x5c
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, 1
je 0x4c3935
mov eax, dword [0x4ffcd0]
mov edi, dword [ebp + 8]
mov edx, dword [0x4f7b40]
fld qword [eax]
fdiv st(0)
mov ecx, dword [0x4f7b44]
fstp qword [esp + 0x28]
mov dword [edi], edx
mov dword [edi + 4], ecx
mov ebx, dword [0x4f7b48]
mov esi, dword [0x4f7b4c]
mov dword [edi + 8], ebx
mov dword [edi + 0xc], esi
add esp, 0x5c
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esp], 0
je 0x4c394e
mov eax, dword [0x4ffcd4]
mov edx, dword [0x4ffcd8]
fld qword [eax]
fmul qword [edx]
fstp qword [esp + 0x28]
xor eax, eax
mov edx, dword [esp + 0x50]
or edx, eax
je 0x4c395f
mov eax, 1
jmp 0x4c3961
xor eax, eax
shl eax, 4
mov esi, dword [ebp + 8]
mov edx, dword [eax + 0x4f7b80]
mov ecx, dword [eax + 0x4f7b84]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ebx, dword [eax + 0x4f7b88]
mov eax, dword [eax + 0x4f7b8c]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
add esp, 0x5c
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dword [0x5197d4], 0xfffffe00
jne 0x4c18b0
test dword [0x5197d4], 0xffffffff
jne 0x4c2a20
call fcn.004bea70
jmp fcn.004c3c80