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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0x284]
mov dword [esp + 0x5c], esi
push edi
test eax, eax
js 0x4d6314
cmp eax, 0x1194
jge 0x4d6314
cmp word [esi + 0x78], 2
jne 0x4d6314
movsd xmm2, qword [0x56a7a0]
mov ecx, 0xa
imul eax, eax, 0x2c
mov dword [esp + 0x34], ecx
add eax, 0xb94b08
xor ebx, ebx
mov dword [esp + 0x38], eax
lea edi, [eax + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x4c], edi
nop dword [eax]
mov edi, dword [edi]
test edi, edi
js 0x4d52f8
cmp edi, 0x1194
jge 0x4d52f8
mov edi, dword [edi*4 + 0x20a514c]
mov al, byte [esi + 0x149]
cmp al, byte [edi + 0x149]
jne 0x4d52f8
movsx eax, word [esi + 0x144]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm1, eax
movsx eax, word [edi + 0x144]
cvtsi2ss xmm0, eax
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movaps xmm1, xmm2
call fcn.005462f0
movsx eax, word [esi + 0x146]
xorps xmm2, xmm2
xorps xmm1, xmm1
movsd qword [esp + 0x28], xmm0
cvtsi2ss xmm2, eax
movsx eax, word [edi + 0x146]
cvtsi2ss xmm1, eax
subss xmm2, xmm1
movsd xmm1, qword [0x56a7a0]
cvtps2pd xmm0, xmm2
call fcn.005462f0
addsd xmm0, qword [esp + 0x28]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4d5295
sqrtsd xmm0, xmm0
jmp 0x4d529a
call fcn.00547010
cvttsd2si eax, xmm0
cmp eax, 0xa
jge 0x4d52ec
cmp dword [0xbdabf0], 0
je 0x4d52e0
movsx ecx, word [edi + 0xd0]
cmp ecx, dword [0xbdaa68]
jl 0x4d52e0
cmp byte [edi + 0xcf], 2
jb 0x4d52e0
mov eax, dword [edi + 0x608]
movsd xmm2, qword [0x56a7a0]
add eax, ecx
mov ecx, dword [esp + 0x34]
cmp eax, ebx
jle 0x4d52f8
mov ebx, eax
jmp 0x4d52f8
movsx eax, word [edi + 0xd0]
cmp eax, ebx
cmovg ebx, eax
mov ecx, dword [esp + 0x34]
movsd xmm2, qword [0x56a7a0]
mov edi, dword [esp + 0x4c]
add edi, 4
sub ecx, 1
mov dword [esp + 0x4c], edi
mov dword [esp + 0x34], ecx
jne 0x4d51f0
mov eax, dword [esp + 0x14]
xor edx, edx
xor edi, edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
lea ecx, [edx + 0xa]
mov dword [esp + 0x18], 0xa
jmp 0x4d5348
movsd xmm2, qword [0x56a7a0]
mov eax, dword [eax]
test eax, eax
js 0x4d54ec
cmp eax, 0x1194
jge 0x4d54ec
mov edi, dword [eax*4 + 0x20a514c]
mov al, byte [edi + 0x149]
cmp al, byte [esi + 0x149]
jne 0x4d54e8
movsx eax, word [esi + 0x146]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm1, eax
movsx eax, word [edi + 0x146]
cvtsi2ss xmm0, eax
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movaps xmm1, xmm2
call fcn.005462f0
movsx eax, word [esi + 0x144]
xorps xmm2, xmm2
xorps xmm1, xmm1
movsd qword [esp + 0x28], xmm0
cvtsi2ss xmm2, eax
movsx eax, word [edi + 0x144]
cvtsi2ss xmm1, eax
subss xmm2, xmm1
movsd xmm1, qword [0x56a7a0]
cvtps2pd xmm0, xmm2
call fcn.005462f0
addsd xmm0, qword [esp + 0x28]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4d53ec
sqrtsd xmm0, xmm0
jmp 0x4d53f1
call fcn.00547010
cvttsd2si eax, xmm0
cmp eax, 0xa
jge 0x4d54e0
cmp dword [0xbdabf0], 0
je 0x4d5486
movsx ecx, word [edi + 0xd0]
cmp ecx, dword [0xbdaa68]
jl 0x4d5486
cmp byte [edi + 0xcf], 2
jb 0x4d5486
mov edx, dword [edi + 0x608]
lea eax, [edx + 0xc8]
add eax, ecx
cmp eax, ebx
jge 0x4d543b
lea eax, [edx + 0xc8]
add eax, ecx
jmp 0x4d543e
lea eax, [ecx + edx]
add dword [esp + 0x34], eax
mov eax, 1
mov cl, byte [edi + 0xcc]
mov edx, dword [esp + 0x24]
shl eax, cl
mov ecx, dword [esp + 0x1c]
mov edi, eax
and edi, ecx
je 0x4d5462
inc edx
mov dword [esp + 0x24], edx
test edi, edi
mov dword [esp + 0x5c], 0
mov edi, dword [esp + 0x30]
cmovne eax, dword [esp + 0x5c]
add ecx, eax
inc edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], edi
jmp 0x4d54ec
movsx ecx, word [edi + 0xd0]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 0xc8]
cmp eax, ebx
cmovge eax, ecx
mov cl, byte [edi + 0xcc]
add dword [esp + 0x34], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x1c]
mov edi, eax
and edi, ecx
je 0x4d54bc
inc edx
mov dword [esp + 0x24], edx
test edi, edi
mov dword [esp + 0x5c], 0
mov edi, dword [esp + 0x30]
cmovne eax, dword [esp + 0x5c]
add ecx, eax
inc edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], edi
jmp 0x4d54ec
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
add eax, 4
sub ecx, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x4d5340
test edi, edi
je 0x4d6314
cmp edx, 3
jl 0x4d551a
mov eax, dword [edi*4 + 0xbdacd4]
jmp 0x4d5521
mov eax, dword [edi*4 + 0xbdacac]
imul eax, edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x34]
cdq
idiv edi
mov dword [esp + 0x4c], eax
movzx eax, word [esi + 0xd0]
cwde
mov dword [esp + 0x14], eax
lea ecx, [eax + 0x19]
imul ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x14]
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
lea ecx, [eax + 0xa]
cmp ecx, dword [esp + 0x4c]
jge 0x4d5570
imul ecx, ebx
mov eax, ecx
cdq
idiv dword [esp + 0x4c]
mov ebx, eax
mov eax, dword [esp + 0x14]
movzx ecx, word [esi + 0xd0]
cmp cx, 0x41
jl 0x4d55e4
cmp edi, 1
jne 0x4d5595
lea ecx, [eax - 0x40]
cdq
and edx, 3
add eax, edx
sar eax, 2
imul ecx, eax
add ebx, ecx
jmp 0x4d55e4
cmp dword [0xbdabf0], 0
mov eax, dword [esp + 0x10]
je 0x4d55c4
movsx edx, word [eax + 0xd0]
cmp edx, dword [0xbdaa68]
jl 0x4d55c4
cmp byte [eax + 0xcf], 2
jb 0x4d55c4
mov ecx, dword [eax + 0x608]
add ecx, edx
jmp 0x4d55cb
movsx ecx, word [eax + 0xd0]
mov eax, 0x66666667
imul ecx
mov eax, 0xc8
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
add ebx, eax
xor eax, eax
mov dword [esi + 0xe4], 0
test ebx, ebx
cmovs ebx, eax
mov eax, ebx
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ebx
xor ebx, ebx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], ebx
mov ebx, dword [eax + ebx*4 + 4]
test ebx, ebx
js 0x4d6302
cmp ebx, 0x1194
jge 0x4d6302
mov ebx, dword [ebx*4 + 0x20a514c]
mov al, byte [esi + 0x149]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x4c], al
mov cl, byte [ebx + 0x149]
mov byte [esp + 0x23], cl
cmp cl, al
jne 0x4d62fe
movsx eax, word [esi + 0x144]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm1, eax
movsx eax, word [ebx + 0x144]
cvtsi2ss xmm0, eax
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x56a7a0]
call fcn.005462f0
movsx eax, word [esi + 0x146]
xorps xmm2, xmm2
xorps xmm1, xmm1
movsd qword [esp + 0x28], xmm0
cvtsi2ss xmm2, eax
movsx eax, word [ebx + 0x146]
cvtsi2ss xmm1, eax
subss xmm2, xmm1
movsd xmm1, qword [0x56a7a0]
cvtps2pd xmm0, xmm2
call fcn.005462f0
addsd xmm0, qword [esp + 0x28]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4d56ca
sqrtsd xmm0, xmm0
jmp 0x4d56cf
call fcn.00547010
cvttsd2si eax, xmm0
cmp eax, 0xa
jge 0x4d62fe
cmp dword [0xbdabf0], 0
je 0x4d5aba
movsx ecx, word [ebx + 0xd0]
cmp ecx, dword [0xbdaa68]
jl 0x4d5aba
cmp byte [ebx + 0xcf], 2
jb 0x4d5aba
mov eax, dword [ebx + 0x608]
xor edx, edx
add eax, ecx
imul eax, dword [esp + 0x64]
imul eax, dword [esp + 0x68]
div dword [esp + 0x34]
mov ecx, eax
mov eax, 0x51eb851f
mul ecx
mov eax, dword [ebx + 0x644]
mov esi, edx
shr esi, 5
imul esi, dword [eax*4 + 0xbda9bc]
lea eax, [edi - 1]
imul eax, dword [ebx + 0x7f0]
mov edi, 0x47ae147a
add eax, dword [ebx + 0x8cc]
add eax, dword [ebx + 0x7e8]
cdq
mov ecx, eax
mov eax, edx
mul esi
mov ebx, eax
mov eax, ecx
mul esi
add ebx, edx
mov ecx, eax
mov edx, 0xe147ae15
mov dword [esp + 0x18], ecx
mul edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], eax
mov esi, edx
mov eax, ecx
mov ecx, 0xe147ae15
mul edi
mov edi, eax
mov dword [esp + 0x14], edx
mov eax, ebx
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x14]
adc ecx, 0
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x18]
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x1c]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x24]
adc edx, eax
mov al, byte [esp + 0x23]
sub edi, ecx
sbb esi, edx
shrd edi, esi, 1
shr esi, 1
add edi, ecx
adc esi, edx
shrd edi, esi, 6
shr esi, 6
cmp al, 0x3f
jne 0x4d57f9
mov ecx, dword [ebx + 0x7ec]
mov dword [esp + 0x14], ecx
jmp 0x4d5801
mov dword [esp + 0x14], 0
movzx eax, al
mov ecx, 0x9f436c
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00405650
mov eax, dword [esp + 0x74]
mov edx, dword [0x9f436c]
cmp byte [eax + 0xd], 0
jne 0x4d5835
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0x10]
jge 0x4d5837
mov eax, edx
cmp eax, edx
je 0x4d5844
mov eax, dword [eax + 0x24]
mov dword [esp + 0x10], eax
jmp 0x4d584c
mov dword [esp + 0x10], 0x64
push 0x64
push 1
push ebx
call fcn.00411e50
cdq
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
push esi
mov dword [esp + 0x40], edx
cdq
push edi
push edx
push eax
call fcn.00545be0
mov edi, eax
mov ecx, edx
mov ebx, 0xe147ae15
mov dword [esp + 0x18], edi
mul ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov esi, edx
mov eax, edi
mov edx, 0x47ae147a
mul edx
mov edi, eax
mov dword [esp + 0x14], edx
mov eax, ecx
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [esp + 0x1c], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x14]
adc ecx, 0
mov dword [esp + 0x28], edi
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x1c]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x18]
adc edx, eax
mov eax, dword [esp + 0x10]
sub ebx, ecx
sbb eax, edx
shrd ebx, eax, 1
shr eax, 1
add ebx, ecx
adc eax, edx
shrd ebx, eax, 6
shr eax, 6
push eax
push ebx
push dword [esp + 0x44]
push dword [esp + 0x4c]
call fcn.00545be0
mov edi, eax
mov ecx, edx
mov ebx, 0xe147ae15
mov dword [esp + 0x14], edi
mul ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov esi, edx
mov eax, edi
mov edx, 0x47ae147a
mul edx
mov edi, eax
mov dword [esp + 0x40], edx
mov eax, ecx
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [esp + 0x3c], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x40]
adc ecx, 0
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x14]
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x3c]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x10]
adc edx, eax
mov eax, dword [esp + 0x4c]
sub edi, ecx
movzx eax, al
mov dword [esp + 0x14], eax
sbb ebx, edx
shrd edi, ebx, 1
shr ebx, 1
add edi, ecx
lea ecx, [esp + 0x90]
push ecx
push eax
mov eax, dword [esp + 0x68]
adc ebx, edx
shrd edi, ebx, 6
shr ebx, 6
movzx eax, word [eax + 0xcc]
push eax
call fcn.00453d50
test al, al
jne 0x4d59a8
mov esi, 0x64
jmp 0x4d59ba
mov esi, dword [esp + 0xb0]
mov eax, 0x64
cmp esi, 0xffffffff
cmove esi, eax
push dword [esp + 0x24]
call fcn.00480a50
cdq
mov dword [esp + 0x28], eax
mov eax, esi
push ebx
mov dword [esp + 0x1c], edx
cdq
push edi
push edx
push eax
call fcn.00545be0
mov edi, eax
mov ecx, edx
mov ebx, 0xe147ae15
mov dword [esp + 0x1c], edi
mul ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], eax
mov esi, edx
mov eax, edi
mov edx, 0x47ae147a
mul edx
mov edi, eax
mov dword [esp + 0x40], edx
mov eax, ecx
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [esp + 0x3c], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x40]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x3c]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x1c]
adc edx, eax
mov eax, dword [esp + 0x10]
sub ebx, ecx
sbb eax, edx
shrd ebx, eax, 1
shr eax, 1
add ebx, ecx
adc eax, edx
shrd ebx, eax, 6
shr eax, 6
push eax
push ebx
push dword [esp + 0x20]
push dword [esp + 0x34]
call fcn.00545be0
mov ebx, edx
mov ecx, eax
mov edx, 0xe147ae15
mov dword [esp + 0x1c], ecx
mul edx
mov eax, ecx
mov dword [esp + 0x18], ebx
mov esi, edx
mov edi, 0x47ae147a
mul edi
mov ecx, 0xe147ae15
mov edi, eax
mov dword [esp + 0x28], edx
mov eax, ebx
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x18]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [esp + 0x40], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x28]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x40]
jmp 0x4d5e92
mov eax, dword [ebx + 0x6b4]
cmp eax, 1
jne 0x4d5ad4
mov eax, dword [ebx + 0x644]
mov eax, dword [eax*4 + 0xbda99c]
jmp 0x4d5afd
test eax, eax
jne 0x4d5af0
cmp dword [ebx + 0x680], 1
jne 0x4d5af0
mov eax, dword [ebx + 0x644]
mov eax, dword [eax*4 + 0xbda9ac]
jmp 0x4d5afd
mov eax, dword [ebx + 0x644]
mov eax, dword [eax*4 + 0xbda98c]
mov dword [esp + 0x14], eax
lea eax, [edi - 1]
imul eax, dword [ebx + 0x7f0]
add eax, dword [ebx + 0x8c8]
add eax, dword [ebx + 0x7e4]
cdq
mov edi, eax
mov esi, edx
movsx eax, word [ebx + 0xd0]
xor edx, edx
imul eax, dword [esp + 0x64]
imul eax, dword [esp + 0x68]
div dword [esp + 0x34]
mov ecx, eax
mov eax, 0x51eb851f
mul ecx
mov eax, esi
mov ecx, edx
shr ecx, 5
imul ecx, dword [esp + 0x14]
mul ecx
mov ebx, eax
mov eax, edi
mul ecx
mov edi, 0x47ae147a
add ebx, edx
mov ecx, eax
mov edx, 0xe147ae15
mov dword [esp + 0x14], ecx
mul edx
mov eax, ecx
mov dword [esp + 0x10], ebx
mov esi, edx
mov ecx, 0xe147ae15
mul edi
mov edi, eax
mov dword [esp + 0x28], edx
mov eax, ebx
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x28]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x40]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x24]
adc edx, eax
mov eax, dword [esp + 0x14]
sub eax, ecx
sbb esi, edx
shrd eax, esi, 1
shr esi, 1
add eax, ecx
adc esi, edx
shrd eax, esi, 6
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x23]
shr esi, 6
cmp al, 0x3f
jne 0x4d5be5
mov ecx, dword [ebx + 0x7ec]
mov dword [esp + 0x10], ecx
jmp 0x4d5bed
mov dword [esp + 0x10], 0
movzx edi, al
mov ecx, 0x9f436c
lea eax, [esp + 0x28]
mov dword [esp + 0x28], edi
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00405650
mov eax, dword [esp + 0x80]
mov ecx, dword [0x9f436c]
cmp byte [eax + 0xd], 0
jne 0x4d5c20
cmp edi, dword [eax + 0x10]
jge 0x4d5c22
mov eax, ecx
cmp eax, ecx
jne 0x4d5c2d
mov edi, 0x64
jmp 0x4d5c3b
mov edi, dword [eax + 0x20]
cmp edi, 0xffffffff
mov eax, 0x64
cmove edi, eax
push 0x64
push 0
push ebx
call fcn.00411e50
mov ecx, dword [esp + 0x14]
cdq
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push esi
add eax, edi
mov dword [esp + 0x20], edx
cdq
push ecx
push edx
push eax
call fcn.00545be0
mov edi, eax
mov ecx, edx
mov ebx, 0xe147ae15
mov dword [esp + 0x3c], edi
mul ebx
mov eax, edi
mov dword [esp + 0x10], ecx
mov esi, edx
mov edx, 0x47ae147a
mul edx
mov edi, eax
mov dword [esp + 0x28], edx
mov eax, ecx
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [esp + 0x40], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x28]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x40]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x3c]
adc edx, eax
mov eax, dword [esp + 0x10]
sub ebx, ecx
sbb eax, edx
shrd ebx, eax, 1
shr eax, 1
add ebx, ecx
adc eax, edx
shrd ebx, eax, 6
shr eax, 6
push eax
push ebx
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.00545be0
mov edi, eax
mov ecx, edx
mov ebx, 0xe147ae15
mov dword [esp + 0x3c], edi
mul ebx
mov eax, edi
mov dword [esp + 0x10], ecx
mov esi, edx
mov edx, 0x47ae147a
mul edx
mov edi, eax
mov dword [esp + 0x28], edx
mov eax, ecx
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [esp + 0x40], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x40]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x10]
adc edx, eax
mov eax, dword [esp + 0x4c]
sub edi, ecx
movzx eax, al
mov dword [esp + 0x14], eax
sbb ebx, edx
shrd edi, ebx, 1
shr ebx, 1
add edi, ecx
lea ecx, [esp + 0x90]
push ecx
push eax
mov eax, dword [esp + 0x68]
adc ebx, edx
shrd edi, ebx, 6
shr ebx, 6
movzx eax, word [eax + 0xcc]
push eax
call fcn.00453d50
test al, al
jne 0x4d5d89
mov esi, 0x64
jmp 0x4d5d9b
mov esi, dword [esp + 0xb0]
mov eax, 0x64
cmp esi, 0xffffffff
cmove esi, eax
push dword [esp + 0x24]
call fcn.004809b0
cdq
mov dword [esp + 0x18], eax
mov eax, esi
push ebx
mov dword [esp + 0x20], edx
cdq
push edi
push edx
push eax
call fcn.00545be0
mov edi, eax
mov ecx, edx
mov ebx, 0xe147ae15
mov dword [esp + 0x3c], edi
mul ebx
mov eax, edi
mov dword [esp + 0x10], ecx
mov esi, edx
mov edx, 0x47ae147a
mul edx
mov edi, eax
mov dword [esp + 0x28], edx
mov eax, ecx
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [esp + 0x40], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x28]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x40]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x3c]
adc edx, eax
mov eax, dword [esp + 0x10]
sub ebx, ecx
sbb eax, edx
shrd ebx, eax, 1
shr eax, 1
add ebx, ecx
adc eax, edx
shrd ebx, eax, 6
shr eax, 6
push eax
push ebx
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.00545be0
mov ebx, edx
mov ecx, eax
mov edx, 0xe147ae15
mov dword [esp + 0x1c], ecx
mul edx
mov eax, ecx
mov dword [esp + 0x18], ebx
mov esi, edx
mov edi, 0x47ae147a
mul edi
mov ecx, 0xe147ae15
mov edi, eax
mov dword [esp + 0x28], edx
mov eax, ebx
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x18]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [esp + 0x40], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x28]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
adc eax, 0
add ecx, ebx
mov ebx, dword [esp + 0x18]
adc edx, eax
sub edi, ecx
sbb ebx, edx
shrd edi, ebx, 1
shr ebx, 1
add edi, ecx
adc ebx, edx
shrd edi, ebx, 6
shr ebx, 6
cmp dword [0x620e78], 0
je 0x4d5f58
cmp dword [0x620e80], 1
jne 0x4d5f58
mov eax, dword [0x620e8c]
push ebx
cdq
push edi
push edx
push eax
call fcn.00545be0
mov ebx, edx
mov ecx, eax
mov edx, 0xe147ae15
mov dword [esp + 0x1c], ecx
mul edx
mov eax, ecx
mov dword [esp + 0x18], ebx
mov esi, edx
mov edi, 0x47ae147a
mul edi
mov ecx, 0xe147ae15
mov edi, eax
mov dword [esp + 0x28], edx
mov eax, ebx
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x18]
mov edx, 0x47ae147a
mul edx
add ecx, esi
mov dword [esp + 0x40], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x40]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x18]
adc edx, eax
sub edi, ecx
sbb ebx, edx
shrd edi, ebx, 1
shr ebx, 1
add edi, ecx
adc ebx, edx
shrd edi, ebx, 6
shr ebx, 6
cmp byte [0xbf67a4], 0
je 0x4d5fbf
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0x2c], esi
push eax
mov ecx, 0xbf67ac
call fcn.00405650
mov eax, dword [esp + 0x8c]
mov ecx, dword [0xbf67ac]
cmp byte [eax + 0xd], 0
jne 0x4d5f98
cmp esi, dword [eax + 0x10]
jge 0x4d5f9a
mov eax, ecx
cmp eax, ecx
je 0x4d5fbf
mov esi, dword [esp + 0x60]
movzx eax, word [esi + 0xd0]
push eax
push dword [esp + 0x50]
call fcn.00529bb0
test eax, eax
je 0x4d5fd7
mov dword [esi + 0xe4], eax
jmp 0x4d5fd7
mov eax, dword [esp + 0x30]
cdq
push edx
push eax
push ebx
push edi
call fcn.00545af0
mov esi, dword [esp + 0x60]
add dword [esi + 0xe4], eax
mov ebx, dword [esp + 0x24]
push edi
push ebx
call fcn.004d6a10
cmp dword [0xbdabf0], 0
je 0x4d60c8
movsx eax, word [ebx + 0xd0]
cmp eax, dword [0xbdaa68]
jl 0x4d60c8
cmp byte [ebx + 0xcf], 2
jb 0x4d60c8
mov ecx, dword [ebx + 0x644]
movsx eax, word [esi + 0xd0]
cmp eax, dword [ecx*4 + 0xbda9cc]
jge 0x4d60c8
cmp dword [0xbdcc28], 0
jne 0x4d62fa
mov edx, dword [esi]
mov ecx, edx
mov al, byte [ebp + 0x14]
mov edi, dword [ebx]
mov ebx, dword [ebp + 0x10]
shr ecx, 8
shl al, 7
or cl, al
mov word [esp + 0xdc], 0x10c3
xor eax, eax
mov byte [esp + 0xdf], cl
mov byte [esp + 0xde], 0x9c
mov byte [esp + 0xe0], dl
mov dword [esp + 0xe2], eax
movzx ecx, bx
cmp ebx, 0xfde8
jle 0x4d60a2
mov cl, 0xe8
mov byte [esp + 0xe6], 0xfd
mov byte [esp + 0xe7], cl
lea eax, [esp + 0xdc]
mov dword [esp + 0xe8], ebx
jmp 0x4d62f1
mov eax, ecx
mov byte [esp + 0xe7], cl
shr eax, 8
mov byte [esp + 0xe6], al
lea eax, [esp + 0xdc]
mov dword [esp + 0xe8], ebx
jmp 0x4d62f1
mov eax, dword [ebx + 0x624]
xor edx, edx
add eax, 4
mov ecx, eax
mov bl, byte [ecx]
mov byte [esp + 0x23], bl
cmp bl, 0xff
mov ebx, dword [esp + 0x24]
je 0x4d60ef
cmp byte [esp + 0x23], 0x1f
je 0x4d61a7
inc edx
add ecx, 0x1c
cmp edx, 0x20
jl 0x4d60d5
xor ecx, ecx
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, 0xff
je 0x4d6110
cmp dl, 0x2a
je 0x4d61a7
inc ecx
add eax, 0x1c
cmp ecx, 0x20
jl 0x4d6100
push ecx
push dword [0xbdaa6c]
push edi
push ebx
call fcn.004d6330
test al, al
jne 0x4d6273
cmp dword [0xbdcc28], 0
jne 0x4d62fa
mov eax, dword [ebx]
mov edx, dword [esi]
mov ecx, edx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov al, byte [ebp + 0x14]
shl al, 7
shr ecx, 8
or cl, al
mov word [esp + 0xfc], 0x10c3
mov eax, edi
mov byte [esp + 0xff], cl
shr eax, 0x10
mov byte [esp + 0xfe], 0x9c
mov byte [esp + 0x100], dl
mov word [esp + 0x102], ax
mov word [esp + 0x104], di
movzx ecx, bx
cmp ebx, 0xfde8
jle 0x4d6246
mov byte [esp + 0x106], 0xfd
mov cl, 0xe8
jmp 0x4d6252
cmp dword [0xbdcc28], 0
jne 0x4d62fa
mov edx, dword [esi]
mov ecx, edx
mov al, byte [ebp + 0x14]
mov edi, dword [ebx]
mov ebx, dword [ebp + 0x10]
shr ecx, 8
shl al, 7
or cl, al
mov word [esp + 0xec], 0x10c3
xor eax, eax
mov byte [esp + 0xef], cl
mov byte [esp + 0xee], 0x9c
mov byte [esp + 0xf0], dl
mov dword [esp + 0xf2], eax
movzx ecx, bx
cmp ebx, 0xfde8
jle 0x4d6220
mov cl, 0xe8
mov byte [esp + 0xf6], 0xfd
mov byte [esp + 0xf7], cl
lea eax, [esp + 0xec]
mov dword [esp + 0xf8], ebx
jmp 0x4d62f1
mov eax, ecx
mov byte [esp + 0xf7], cl
shr eax, 8
mov byte [esp + 0xf6], al
lea eax, [esp + 0xec]
mov dword [esp + 0xf8], ebx
jmp 0x4d62f1
mov eax, ecx
shr eax, 8
mov byte [esp + 0x106], al
push 0x10
lea eax, [esp + 0x100]
mov byte [esp + 0x10b], cl
push eax
push dword [esp + 0x30]
mov dword [esp + 0x114], ebx
jmp 0x4d62f5
cmp dword [0xbdcc28], 0
jne 0x4d62fa
mov edx, dword [esi]
mov ecx, edx
mov al, byte [ebp + 0x14]
mov edi, dword [ebx]
mov ebx, dword [ebp + 0x10]
shr ecx, 8
shl al, 7
or cl, al
mov word [esp + 0x10c], 0x10c3
xor eax, eax
mov byte [esp + 0x10f], cl
mov byte [esp + 0x10e], 0x9c
mov byte [esp + 0x110], dl
mov dword [esp + 0x112], eax
movzx ecx, bx
cmp ebx, 0xfde8
jle 0x4d62d0
mov byte [esp + 0x116], 0xfd
mov cl, 0xe8
jmp 0x4d62dc
mov eax, ecx
shr eax, 8
mov byte [esp + 0x116], al
mov byte [esp + 0x117], cl
lea eax, [esp + 0x10c]
mov dword [esp + 0x118], ebx
push 0x10
push eax
push edi
call fcn.005192f0
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
inc ebx
mov dword [esp + 0x5c], ebx
cmp ebx, 0xa
jl 0x4d5610
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 0x10