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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x591014]
xor eax, ebp
mov dword [esp + 0x78], eax
xorpd xmm0, xmm0
test ecx, ecx
je 0x4bdd17
mov eax, dword [ebp + 0x10]
lea edi, [eax + ecx]
movsd xmm1, qword [0x57c7d0]
cmp edi, 0x135
jg 0x4be2bf
cmp edi, 0xfffffebd
jl 0x4bdd17
cmp dword [ebp + 0xc], 0xf
jg 0x4bde86
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffea
jae 0x4bdd42
cmp eax, 0x16
ja 0x4bddc9
cmp dword [ebp + 0xc], 0
jle 0x4bdd3c
xor eax, eax
xor ebx, ebx
inc ebx
xor ecx, ecx
mov edx, dword [ebp + 8]
movsx esi, byte [edx + ebx - 1]
mov edi, esi
mov edx, 0xa
mul edx
sar edi, 0x1f
add eax, esi
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
adc ecx, edi
add eax, 0xffffffd0
adc ecx, 0xffffffff
cmp ebx, dword [ebp + 0xc]
jge 0x4bdceb
inc ebx
mov edx, 0x99999999
cmp eax, edx
mov edx, ecx
mov esi, 0x19999999
sbb edx, esi
jb 0x4bdcaf
movd xmm0, eax
movd xmm1, ecx
punpckldq xmm0, xmm1
punpckldq xmm0, xmmword [0x57cd90]
subpd xmm0, xmmword [0x57cda0]
haddpd xmm0, xmm0
mov eax, dword [ebp + 0x10]
mulsd xmm0, qword [eax*8 + 0x584d98]
movsd qword [esp + 0x48], xmm0
fld qword [esp + 0x48]
fstp xword [esp + 0x20]
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004c66e3
fld xword [esp + 0x20]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xorpd xmm0, xmm0
jmp 0x4bdd0b
neg eax
mov dword [esp + 0x20], eax
cmp dword [ebp + 0xc], 0
jle 0x4bddc3
xor eax, eax
xor ebx, ebx
inc ebx
xor ecx, ecx
mov edx, dword [ebp + 8]
movsx esi, byte [edx + ebx - 1]
mov edi, esi
mov edx, 0xa
mul edx
sar edi, 0x1f
add eax, esi
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
adc ecx, edi
add eax, 0xffffffd0
adc ecx, 0xffffffff
cmp ebx, dword [ebp + 0xc]
jge 0x4bdd91
inc ebx
mov edx, 0x99999999
cmp eax, edx
mov edx, ecx
mov esi, 0x19999999
sbb edx, esi
jb 0x4bdd55
movd xmm0, eax
movd xmm1, ecx
punpckldq xmm0, xmm1
punpckldq xmm0, xmmword [0x57cd90]
subpd xmm0, xmmword [0x57cda0]
haddpd xmm0, xmm0
mov eax, dword [esp + 0x20]
divsd xmm0, qword [eax*8 + 0x584d98]
jmp 0x4bdd17
xorpd xmm0, xmm0
jmp 0x4bddb1
cmp dword [ebp + 0x10], 0
js 0x4bde78
mov ecx, 0xf
sub ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, ecx
mov dword [esp + 0x20], ecx
sub edx, ecx
mov eax, edx
mov dword [esp + 0xc], edx
cmp edx, 0x16
jg 0x4bde78
cmp dword [ebp + 0xc], 0
jle 0x4be325
xor eax, eax
xor ecx, ecx
inc ecx
xor esi, esi
mov edx, dword [ebp + 8]
movsx ebx, byte [edx + ecx - 1]
mov edi, ebx
mov edx, 0xa
mul edx
sar edi, 0x1f
add eax, ebx
lea esi, [esi + esi*4]
lea esi, [edx + esi*2]
adc esi, edi
add eax, 0xffffffd0
adc esi, 0xffffffff
cmp ecx, dword [ebp + 0xc]
jge 0x4bde42
inc ecx
mov edx, 0x99999999
cmp eax, edx
mov edx, esi
mov edi, 0x19999999
sbb edx, edi
jb 0x4bde06
movd xmm0, eax
movd xmm1, esi
punpckldq xmm0, xmm1
punpckldq xmm0, xmmword [0x57cd90]
subpd xmm0, xmmword [0x57cda0]
haddpd xmm0, xmm0
mov eax, dword [esp + 0x20]
mulsd xmm0, qword [eax*8 + 0x584d98]
mov eax, dword [esp + 0xc]
jmp 0x4bdd0e
cmp dword [ebp + 0xc], 0
jg 0x4bde86
xor ebx, ebx
xor edx, edx
xor ecx, ecx
jmp 0x4bded7
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov eax, dword [ebp + 8]
movsx esi, byte [eax + ebx]
mov dword [esp + 0x20], esi
inc ebx
mov eax, edx
mov edx, 0xa
mul edx
mov dword [esp + 0xc], edx
sar esi, 0x1f
mov edx, eax
add edx, dword [esp + 0x20]
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + eax*2]
adc ecx, esi
add edx, 0xffffffd0
adc ecx, 0xffffffff
cmp ebx, dword [ebp + 0xc]
jge 0x4bded7
mov eax, 0x99999999
cmp edx, eax
mov eax, ecx
mov esi, 0x19999999
sbb eax, esi
jb 0x4bde8c
cmp ebx, dword [ebp + 0xc]
jne 0x4be406
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], 0
test ecx, 0xffc00000
mov ebx, 0
je 0x4bdefc
mov eax, ecx
jmp 0x4bdf22
xor ebx, ebx
mov eax, ecx
shld eax, edx, 0xa
shl edx, 0xa
add ebx, 0xfffffff6
mov esi, ebx
mov ebx, 0x1000
cmp ecx, ebx
mov ebx, esi
mov ecx, eax
jae 0x4bdf22
jmp 0x4bdf00
shld eax, edx, 1
add edx, edx
dec ebx
test eax, eax
jns 0x4bdf1b
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ecx, ebx
neg cl
xor edx, edx
mov esi, dword [esp + 0x20]
shld edx, esi, cl
shl esi, cl
xor eax, eax
test cl, 0x20
cmovne edx, esi
mov dword [esp + 0xc], edx
cmovne esi, eax
mov dword [esp + 0x20], esi
cmp edi, 0xfffffea4
jl 0x4bdd17
movapd xmm0, xmmword [0x57c8f0]
lea eax, [esp + 0x68]
movupd xmmword [eax], xmm0
lea esi, [esp + 0x64]
mov dword [esi], 0xffffffff
push esi
push eax
push edi
call fcn.004851e0
add esp, 0xc
sub edi, dword [esi]
mov dword [esp + 0x1c], ebx
je 0x4be31c
lea edx, [edi - 1]
cmp edx, 6
ja case.default.0x4bdfab
xor ecx, ecx
mov ebx, 0x98968000
lea eax, [ebx + 0x7698000]
mov esi, 4
jmp dword [edx*4 + 0x584e50]
xor ecx, ecx
add ebx, 0x2ab98000
setb cl
mov esi, 0x11
mov eax, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x10]
mul ebx
mov dword [esp + 0x30], eax
mov eax, ecx
imul eax, ebx
mov dword [esp + 0x10], eax
mov esi, edx
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
mul ebx
imul ecx, ebx
add ecx, edx
mov edx, dword [esp + 0x18]
add dword [esp + 0x1c], edx
mov edx, 0x80000000
and eax, edx
add ecx, dword [esp + 0x30]
adc esi, dword [esp + 0x10]
add eax, edx
adc ecx, 0
adc esi, 0
mov dword [esp + 0x10], esi
mov eax, 0x13
sub eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
add edx, 4
mov ebx, dword [esp + 0xc]
mov esi, ebx
adc esi, 0
cmp eax, edi
mov edi, dword [esp + 0x20]
cmovl ebx, esi
mov dword [esp + 0xc], ebx
cmovl edi, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x6c]
mov eax, ecx
mov esi, dword [esp + 0x10]
mul esi
mov ebx, edx
mov dword [esp + 0x20], eax
mov eax, ecx
mul dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x68]
mov eax, ecx
mul esi
mov esi, edx
mov dword [esp + 0x10], eax
mov eax, ecx
mul dword [esp + 0x14]
xor ecx, ecx
add edx, dword [esp + 0x10]
setb cl
add edx, dword [esp + 0x18]
adc ecx, 0
add esi, dword [esp + 0x20]
adc ebx, 0
add esi, dword [esp + 0x30]
adc ebx, 0
add edx, 0x80000000
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x1c]
lea eax, [edx + eax + 0x40]
adc esi, ecx
mov dword [esp + 0x10], esi
adc ebx, 0
xor ecx, ecx
mov edx, edi
mov esi, dword [esp + 0xc]
or edx, esi
mov edx, ebx
sete cl
sub edi, ecx
mov ecx, 0x400000
sbb esi, 0
add edi, 9
mov dword [esp + 0x20], edi
adc esi, 0
mov edi, esi
mov esi, eax
cmp edx, ecx
jb 0x4be42a
mov ebx, edi
test edx, edx
js 0x4be0f2
mov ecx, dword [esp + 0x10]
shld edx, ecx, 1
add ecx, ecx
mov dword [esp + 0x10], ecx
dec esi
jmp 0x4be0dd
mov dword [esp + 0x1c], edx
sub eax, esi
mov ecx, eax
mov edi, dword [esp + 0x20]
shld ebx, edi, cl
shl edi, cl
xor ecx, ecx
test al, 0x20
cmovne ebx, edi
cmovne edi, ecx
lea eax, [esi + 0x472]
cmp esi, 0xfffffb8f
cmovl eax, ecx
cmp esi, 0xfffffbc3
mov edx, 0x35
cmovl edx, eax
cmp edx, 3
jbe 0x4be32e
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], edi
mov eax, 0x40
sub eax, edx
mov edi, dword [esp + 0x1c]
mov esi, edi
mov edx, eax
mov ecx, edx
shr esi, cl
test dl, 0x20
mov eax, esi
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x10]
mov eax, ebx
mov ecx, edx
shrd eax, edi, cl
test dl, 0x20
cmovne eax, esi
mov dword [esp + 0x34], eax
xor esi, esi
dec esi
shl esi, cl
test dl, 0x20
mov eax, esi
mov ecx, 0
cmovne eax, ecx
mov ecx, 0xffffffff
cmove esi, ecx
not eax
and eax, ebx
not esi
and esi, edi
mov ecx, edx
dec cl
mov edi, 8
xor ebx, ebx
shld ebx, edi, cl
shld esi, eax, 3
shl eax, 3
shl edi, cl
test cl, 0x20
cmovne ebx, edi
mov ecx, 0
cmovne edi, ecx
add dword [esp + 0x14], edx
mov dword [esp + 0x30], edi
mov ecx, edi
mov edi, esi
add ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
adc ebx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ecx
cmp eax, ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword [esp + 0x3c], ebx
sbb eax, ebx
setae al
movzx esi, al
add esi, dword [esp + 0x34]
adc ecx, 0
mov eax, 0xfffffffe
inc eax
cmp eax, esi
mov eax, 0x1fffff
sbb eax, ecx
jb 0x4be381
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x14]
cmp ebx, 0x3cb
jg 0x4be3b6
cmp ebx, 0xfffffbce
jl 0x4be3c3
xor esi, esi
dec esi
add esi, 1
mov eax, 0
adc eax, 0xfffff
and eax, ecx
sete dl
cmp ebx, 0xfffffbce
je 0x4be254
or esi, eax
je 0x4be462
mov esi, dword [esp + 0x14]
cmp esi, 0xfffffbce
setne al
xor dl, 1
or dl, al
shl esi, 0x14
add esi, 0x43300000
test dl, dl
mov ebx, 0
cmovne ebx, esi
xor eax, eax
dec eax
mov edx, dword [esp + 0x18]
and edx, eax
mov eax, 0xfffff
and ecx, eax
or ecx, ebx
movd xmm0, ecx
movd xmm1, edx
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp edx, eax
sbb ecx, edi
punpckldq xmm1, xmm0
jae 0x4be2bf
cmp eax, dword [esp + 0x38]
sbb edi, dword [esp + 0x3c]
jb 0x4be49b
movapd xmm0, xmm1
jmp 0x4bdd17
xor ecx, ecx
add ebx, 0x61698000
setb cl
mov esi, 0xa
jmp 0x4bdfc2
xor ecx, ecx
add ebx, 0x2f698000
setb cl
mov esi, 7
jmp 0x4bdfc2
xor ecx, ecx
add ebx, 0x3a98000
setb cl
mov esi, 0xe
jmp 0x4bdfc2
xor ecx, ecx
add ebx, 0x5b8d8000
setb cl
mov esi, 0x14
jmp 0x4bdfc2
mov edi, dword [esp + 0x20]
jmp 0x4be03f
xorpd xmm0, xmm0
jmp 0x4bde62
mov ecx, 4
sub ecx, edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
shrd eax, edx, cl
shr edx, cl
shrd edi, ebx, cl
add esi, ecx
mov dword [esp + 0x14], esi
shr ebx, cl
test cl, 0x20
cmovne eax, edx
mov dword [esp + 0x10], eax
mov eax, 0
cmovne edx, eax
mov dword [esp + 0x1c], edx
cmovne edi, ebx
cmovne ebx, eax
add edi, 9
mov dword [esp + 0x20], edi
adc ebx, 0
mov dword [esp + 0xc], ebx
mov eax, 0x3c
jmp 0x4be146
mov eax, ecx
mov ebx, eax
mov dword [esp + 0x18], eax
shld ebx, esi, 0x1f
shr ecx, 1
inc dword [esp + 0x14]
xor eax, eax
add eax, 0xffffffff
mov edx, 0x400000
adc edx, 0xffffffff
cmp eax, esi
sbb edx, dword [esp + 0x18]
mov dword [esp + 0x18], ebx
mov esi, ebx
mov eax, ecx
jae 0x4be213
jmp 0x4be383
movsd xmm0, qword [0x57c7d0]
jmp 0x4bdd17
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sbb eax, dword [esp + 0xc]
cmp ecx, dword [esp + 0x10]
sbb eax, edi
xorpd xmm0, xmm0
movapd xmmword [esp + 0x20], xmm0
jae 0x4be5a8
mov ecx, edi
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x10], eax
sbb ecx, dword [esp + 0x3c]
xorpd xmm0, xmm0
jae 0x4bdd17
jmp 0x4be4b3
xor eax, eax
mov esi, edx
mov edx, dword [ebp + 8]
cmp byte [edx + ebx], 0x35
mov edx, esi
setge al
add edx, eax
adc ecx, 0
sub edi, ebx
mov dword [esp + 0x20], 4
jmp 0x4bdeeb
mov ebx, edx
mov ecx, dword [esp + 0x10]
shld edx, ecx, 0xa
shl ecx, 0xa
mov dword [esp + 0x10], ecx
add esi, 0xfffffff6
test ebx, 0xfffff000
mov ebx, edx
jne 0x4be0db
jmp 0x4be42c
call fcn.004f73e0
mov esi, 0x18
mov eax, 0x98968000
jmp case.0x4bdfab.1
mov esi, dword [esp + 0x14]
mov eax, esi
mov esi, ecx
mov edx, dword [esp + 0x18]
shld ecx, edx, 1
add edx, edx
mov dword [esp + 0x18], edx
and esi, 0x80000
sete dl
cmp eax, 0xfffffbd0
lea eax, [eax - 1]
jl 0x4be5b1
test esi, esi
mov esi, eax
jne 0x4be258
jmp 0x4be466
movsd xmm0, qword [0x57c7d0]
movdqa xmmword [esp + 0x20], xmm1
ucomisd xmm1, xmm0
jae 0x4bdd17
movaps xmm0, xmmword [esp + 0x20]
movsd qword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov eax, esi
shr eax, 0x14
and eax, 0x7ff
add eax, 0xfffffbcc
mov edx, esi
shld edx, ecx, 1
mov dword [esp + 0xc], ecx
add ecx, ecx
mov ebx, 0xfffffffe
and ecx, ebx
mov dword [esp + 0x10], ecx
mov edi, 0x1fffff
and edx, edi
add ebx, 2
adc edi, 0
or edi, edx
or ebx, ecx
test esi, 0x7ff00000
mov dword [esp + 0x14], 0xfffffbcd
mov ecx, dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x14], ecx
cmove edi, edx
cmove ebx, dword [esp + 0x10]
mov dword [esp + 0x54], edi
or ebx, 1
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0xffffffff
sub esp, 0x14
movupd xmm0, xmmword [esp + 0x64]
movupd xmmword [esp + 4], xmm0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.00526470
add esp, 0x14
test eax, eax
js 0x4be5b8
jne 0x4be573
movapd xmm0, xmmword [esp + 0x20]
test byte [esp + 0xc], 1
je 0x4bdd17
lea eax, [esi - 0x80000000]
or eax, dword [esp + 0xc]
je 0x4be5a8
mov eax, esi
xor eax, 0x7ff00000
or eax, dword [esp + 0xc]
movsd xmm0, qword [0x57c7d0]
je 0x4bdd17
test esi, esi
js 0x4be5c2
mov eax, dword [esp + 0xc]
add eax, 1
adc esi, 0
jmp 0x4be5cc
xorpd xmm0, xmm0
jmp 0x4bdd17
mov esi, eax
jmp 0x4be258
movaps xmm0, xmmword [esp + 0x20]
jmp 0x4bdd17
mov eax, dword [esp + 0xc]
add eax, 0xffffffff
adc esi, 0xffffffff
movd xmm1, esi
movd xmm0, eax
punpckldq xmm0, xmm1
jmp 0x4bdd17