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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
movsd xmm0, qword [ebp + 8]
mov ecx, dword [0x644040]
xor ecx, ebp
mov dword [esp + 0xd0], ecx
cmp dword [ebp + 0x10], 2
jne 0x54b29e
movsd qword [esp + 0x90], xmm0
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
test eax, 0x7ff00000
je 0x54bc53
mov edi, eax
or edi, 0x100000
shr eax, 0x14
and eax, 0x7ff
add eax, 0xfffffbcd
mov edx, eax
mov dword [esp + 0x28], edx
shld edi, ecx, 0xb
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
shl ecx, 0xb
mov dword [esp + 0x34], ecx
mov eax, 0xffffffce
sub eax, edx
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x6370d8]
movsd qword [esp], xmm0
call fcn.0058f1a0
fstp qword [esp + 0xa0]
cvttsd2si ecx, qword [esp + 0xa0]
lea eax, [ecx + 0x15b]
add ecx, 0x162
test eax, eax
cmovns ecx, eax
add ecx, ecx
and ecx, 0xfffffff0
mov esi, dword [ecx + 0x638d6c]
mov dword [esp + 0x10], ecx
mov eax, esi
mul edi
mov ebx, edx
mov dword [esp + 0xc], eax
mov eax, esi
mov esi, dword [esp + 0x34]
mul esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
mov ecx, dword [ecx + 0x638d68]
mov eax, ecx
mul edi
mov edi, edx
mov dword [esp + 0x20], eax
mov eax, ecx
mul esi
xor ecx, ecx
add edx, dword [esp + 0x20]
setb cl
add edx, dword [esp + 0x30]
adc ecx, 0
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x638d70]
add eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
add edi, dword [esp + 0xc]
adc ebx, 0
add edi, dword [esp + 0x18]
adc ebx, 0
add edx, 0x80000000
adc edi, ecx
adc ebx, 0
mov ecx, 0xffffffcb
sub ecx, eax
xor edx, edx
inc edx
xor eax, eax
shld eax, edx, cl
mov dword [esp + 0x24], edx
shl edx, cl
mov esi, edi
shrd esi, ebx, cl
mov dword [esp + 0xc], esi
mov esi, ebx
shr esi, cl
mov dword [esp + 0x30], ecx
test cl, 0x20
cmove esi, dword [esp + 0xc]
cmovne eax, edx
mov ecx, 0
cmovne edx, ecx
mov dword [esp + 0x20], edx
add edx, 0xffffffff
mov dword [esp + 0x44], eax
adc eax, 0xffffffff
mov dword [esp + 0x50], eax
and ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], edx
and edi, edx
mov dword [esp + 0xc], edi
imul eax, dword [esp + 0x28], 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x6370e4], esi
lea ebx, [eax + 1]
cmova ebx, eax
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x638d72]
mov dword [esp + 0x34], eax
mov edx, dword [ebx*4 + 0x6370e0]
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], 0
mov dword [eax], ecx
mov eax, ebx
mov edi, edx
test eax, eax
jle 0x54b085
mov ecx, eax
mov eax, esi
xor edx, edx
div edi
add al, 0x30
mov esi, dword [ebp + 0x18]
mov ebx, dword [esp + 0x10]
mov byte [esi + ebx], al
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
inc ebx
mov dword [esp + 0x10], ebx
mov dword [eax], ebx
mov esi, edx
mov eax, edi
mov edx, 0xcccccccd
mul edx
mov eax, ecx
dec eax
shr edx, 3
dec dword [esp + 0x1c]
jne 0x54af13
mov dword [esp + 0x28], eax
mov eax, edi
mov ecx, dword [esp + 0x30]
shl eax, cl
xor ebx, ebx
test cl, 0x20
mov edx, eax
cmovne edx, ebx
mov dword [esp + 0x1c], edx
xor edx, edx
shld edx, edi, cl
test cl, 0x20
cmovne edx, eax
mov edi, esi
shl edi, cl
test cl, 0x20
mov ebx, edi
mov eax, 0
cmovne ebx, eax
xor eax, eax
shld eax, esi, cl
mov esi, dword [esp + 0x1c]
test cl, 0x20
cmovne eax, edi
add ebx, dword [esp + 0xc]
adc eax, dword [esp + 0x18]
cmp esi, 3
mov ecx, edx
sbb ecx, 0
jb 0x54b020
mov edi, edx
mov ecx, esi
sub ecx, ebx
sbb edx, eax
cmp ebx, ecx
mov ecx, eax
sbb ecx, edx
jae 0x54b024
mov ecx, eax
shld ecx, ebx, 1
lea edx, [ebx + ebx]
mov dword [esp + 0x18], ebx
mov ebx, esi
sub esi, edx
mov edx, edi
sbb edx, ecx
xor ecx, ecx
mov dword [esp + 0xc], edi
xor edi, edi
inc edi
cmp edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
sbb ecx, edx
jae 0x54b024
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
sub edx, esi
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
add edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov byte [ecx + eax], 0
mov bl, 1
mov ecx, dword [esp + 0xd0]
xor ecx, ebp
call fcn.00565ea5
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x54b008
cmp ebx, 2
mov ecx, eax
sbb ecx, 0
jb 0x54b020
add ebx, 0xffffffff
adc eax, 0xffffffff
sub esi, ebx
sbb edi, eax
cmp ebx, esi
sbb eax, edi
mov edx, dword [esp + 0x10]
jb 0x54b020
mov ecx, dword [ebp + 0x18]
mov al, byte [edx + ecx - 1]
inc al
mov byte [edx + ecx - 1], al
cmp edx, 2
mov esi, dword [esp + 0x34]
jl 0x54b074
cmp al, 0x3a
jne 0x54b074
mov ecx, dword [ebp + 0x18]
mov byte [ecx + edx - 1], 0x30
mov al, byte [ecx + edx - 2]
inc al
mov byte [ecx + edx - 2], al
dec edx
cmp edx, 1
jg 0x54b058
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0x3a
jne 0x54afed
jmp 0x54bcb7
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x54af54
test ecx, ecx
mov edi, dword [esp + 0x18]
jle 0x54b020
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
cmp eax, 2
mov edx, edi
sbb edx, 0
mov ebx, 0
jb 0x54b008
xor esi, esi
mov ecx, 0xa
mov dword [esp + 0x18], esi
mul ecx
lea esi, [edi + edi*4]
lea ebx, [edx + esi*2]
mov dword [esp + 0xc], eax
mov esi, eax
mov edx, 0xa
mov ecx, dword [esp + 0x30]
shrd esi, ebx, cl
mov eax, dword [esp + 0x24]
mov edi, ebx
shr edi, cl
mov dword [esp + 0x60], eax
mul edx
mov dword [esp + 0x24], edx
test cl, 0x20
mov edx, edi
mov edi, ebx
cmove edx, esi
add dl, 0x30
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
mov byte [esi + ecx], dl
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x24]
lea ecx, [edx + ecx*2]
mov dword [esp + 0x18], ecx
mov ebx, dword [ebp + 0x20]
mov ecx, dword [ebx]
mov dword [esp + 0x5c], ecx
inc ecx
mov dword [esp + 0x10], ecx
mov dword [ebx], ecx
mov ecx, 0xa
mov edx, dword [esp + 0xc]
and edx, dword [esp + 0x64]
and edi, dword [esp + 0x50]
dec dword [esp + 0x28]
mov dword [esp + 0x24], eax
cmp esi, 2
lea eax, [esi - 1]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, edx
jb 0x54b165
cmp dword [esp + 0x24], eax
mov edx, esi
sbb edx, edi
jb 0x54b0bb
cmp dword [esp + 0x1c], 0
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
jne 0x54b020
mov ecx, edx
mov ebx, dword [esp + 0x24]
sub ecx, ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
sbb esi, ecx
mov dword [esp + 0x10], esi
cmp ebx, edx
mov edx, ecx
sbb edx, dword [esp + 0x44]
jae 0x54b020
cmp ebx, dword [esp + 0x1c]
sbb ecx, dword [esp + 0x10]
mov ebx, 0
jae 0x54b008
mov esi, dword [esp + 0x20]
mov edx, esi
sub edx, eax
mov ebx, dword [esp + 0x44]
mov ecx, ebx
sbb ecx, edi
cmp eax, edx
mov edx, edi
sbb edx, ecx
jae 0x54b202
mov edx, edi
shld edx, eax, 1
lea ecx, [eax + eax]
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x20]
sub esi, ecx
mov ecx, ebx
sbb ecx, edx
mov edx, 0x14
mov eax, dword [esp + 0x60]
mul edx
cmp esi, eax
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x58]
lea edx, [edx + ebx*4]
sbb ecx, edx
jae 0x54afe9
mov edx, dword [esp + 0x24]
cmp edx, eax
mov ebx, dword [esp + 0x18]
mov ecx, ebx
sbb ecx, edi
jae 0x54b020
sub eax, edx
sbb edi, ebx
sub esi, eax
mov ecx, dword [esp + 0x44]
sbb ecx, edi
cmp eax, esi
sbb edi, ecx
jb 0x54b020
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x5c]
mov al, byte [ecx + edx]
inc al
mov byte [ecx + edx], al
test edx, edx
mov esi, dword [esp + 0x34]
jle 0x54b074
inc edx
cmp al, 0x3a
jne 0x54b074
mov ecx, dword [ebp + 0x18]
mov byte [ecx + edx - 1], 0x30
mov al, byte [ecx + edx - 2]
inc al
mov byte [ecx + edx - 2], al
dec edx
cmp edx, 1
jg 0x54b248
jmp 0x54b074
mov esi, dword [esp + 0x44]
and esi, 0x7fefffff
or esi, edi
mov esi, edi
mov edi, dword [esp + 0x1c]
je 0x54b3a5
mov edx, dword [esp + 0x30]
add edx, 0xfffffffe
mov edi, dword [esp + 0x18]
shld edi, esi, 2
shl esi, 2
mov eax, esi
jmp 0x54b3a5
jae 0x54bc4e
movsd qword [esp + 0x88], xmm0
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov esi, 0x100000
dec esi
and esi, ecx
mov edi, esi
or edi, 0x100000
mov edx, ecx
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
mov dword [esp + 0xc], ebx
mov dword [esp + 0x44], ecx
test ecx, 0x7ff00000
mov ecx, edx
mov eax, 0xfffffbce
cmove ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, edi
cmove ecx, esi
mov dword [esp + 0x18], ecx
je 0x54bc95
mov dword [esp + 0x28], edx
shld edi, ebx, 0xb
mov dword [esp + 0x34], edi
shl ebx, 0xb
mov dword [esp + 0x24], ebx
xor ecx, ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb0], ecx
cmp dword [ebp + 0x10], 0
jne 0x54bcc3
mov eax, dword [esp + 0x30]
lea edx, [eax - 1]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
shld edi, ecx, 1
lea eax, [ecx + ecx]
lea ebx, [ecx*2 + 1]
mov dword [esp + 0x1c], edi
mov ecx, edx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x10]
shld dword [esp + 0x10], ebx, 0xa
shl ebx, 0xa
add ecx, 0xfffffff6
test edi, 0xfffff000
mov edi, dword [esp + 0x10]
je 0x54b365
mov dword [esp + 0x20], ebx
test edi, edi
jns 0x54bc6f
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
or esi, edi
je 0x54b26d
mov edi, dword [esp + 0x1c]
add eax, 0xffffffff
adc edi, 0xffffffff
sub edx, ecx
mov ecx, edx
shld edi, eax, cl
shl eax, cl
xor ecx, ecx
test dl, 0x20
cmovne edi, eax
mov dword [esp + 0x1c], edi
cmove ecx, eax
mov dword [esp + 0x30], ecx
mov eax, 0xffffffce
sub eax, dword [esp + 0x28]
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x6370d8]
movsd qword [esp], xmm0
call fcn.0058f1a0
fstp qword [esp + 0x98]
cvttsd2si ecx, qword [esp + 0x98]
lea eax, [ecx + 0x15b]
add ecx, 0x162
test eax, eax
cmovns ecx, eax
add ecx, ecx
and ecx, 0xfffffff0
mov esi, dword [ecx + 0x638d6c]
mov eax, esi
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x34]
mul edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], edx
and ebx, 0xfffff800
mov eax, esi
mul ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x78], edx
mov esi, ebx
mov ebx, dword [ecx + 0x638d68]
mov dword [esp + 0x18], ebx
mov edx, edi
mov edi, ecx
mov dword [esp + 0x54], ecx
mov eax, ebx
mul edx
mov dword [esp + 0x4c], edx
mov ecx, eax
mov eax, ebx
mul esi
xor eax, eax
add edx, ecx
setb al
add edx, dword [esp + 0x24]
mov dword [esp + 0x40], edx
adc eax, 0
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x1c]
mov eax, ebx
mov esi, dword [esp + 0xc]
mul esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
mov eax, ecx
mul esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x64], eax
mov eax, ebx
mov esi, dword [esp + 0x18]
mul esi
mov ebx, edx
mov dword [esp + 0x1c], eax
mov eax, ecx
mul esi
movsx eax, word [edi + 0x638d70]
add eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
xor eax, eax
add edx, dword [esp + 0x1c]
setb al
add edx, dword [esp + 0x64]
mov dword [esp + 0x30], edx
adc eax, 0
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x10]
mov eax, edi
mov ecx, dword [esp + 0xc]
mul ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0x20]
mov eax, esi
mul ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x58], eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mul ecx
mov edi, edx
mov dword [esp + 0x10], eax
mov eax, esi
mul ecx
xor eax, eax
add edx, dword [esp + 0x10]
setb al
add edx, dword [esp + 0x58]
adc eax, 0
add edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
adc esi, 0
add edi, dword [esp + 0xc]
adc esi, 0
add edx, 0x80000000
adc edi, eax
adc esi, 0
add edi, 1
mov edx, edi
adc esi, 0
mov edi, esi
add ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
adc eax, 0
add ebx, dword [esp + 0x44]
adc eax, 0
add dword [esp + 0x30], 0x80000000
adc ebx, dword [esp + 0x1c]
adc eax, 0
mov ecx, eax
mov esi, edx
mov dword [esp + 0x58], edx
mov eax, edx
sub eax, ebx
mov edx, edi
sbb edx, ecx
mov dword [esp + 0x74], eax
add eax, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], edx
adc edx, 0
mov ecx, 0xffffffcb
sub ecx, dword [esp + 0x28]
xor eax, eax
inc eax
xor ebx, ebx
shld ebx, eax, cl
mov dword [esp + 0x30], eax
shl eax, cl
shrd esi, edi, cl
mov dword [esp + 0x10], esi
mov esi, edi
mov dword [esp + 0x60], edi
shr esi, cl
mov dword [esp + 0x34], ecx
test cl, 0x20
cmove esi, dword [esp + 0x10]
cmovne ebx, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x5c], eax
add eax, 0xffffffff
mov dword [esp + 0x7c], ebx
adc ebx, 0xffffffff
mov dword [esp + 0x64], ebx
and edi, ebx
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x58]
mov ebx, ecx
mov dword [esp + 0x44], eax
and ebx, eax
imul eax, dword [esp + 0x28], 0x4d1
add eax, 0x23856
sar eax, 0xc
mov dword [esp + 0x20], esi
cmp dword [eax*4 + 0x6370e4], esi
lea esi, [eax + 1]
cmova esi, eax
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x4c]
add esi, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
adc eax, 0
add esi, dword [esp + 0x78]
adc eax, 0
add dword [esp + 0x40], 0x80000000
adc esi, dword [esp + 0x2c]
adc eax, 0
sub ecx, esi
mov dword [esp + 0x58], ecx
mov edi, dword [esp + 0x24]
sbb dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
movsx eax, word [eax + 0x638d72]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
mov esi, dword [eax*4 + 0x6370e0]
mov eax, dword [ebp + 0x20]
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
mov ecx, eax
sar ecx, 0x1f
and ecx, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], edx
test eax, eax
jle 0x54b716
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
xor edx, edx
div esi
add al, 0x30
mov dword [esp + 0x18], esi
mov esi, dword [ebp + 0x20]
mov ecx, dword [esi]
mov esi, edi
mov edi, dword [ebp + 0x18]
mov byte [edi + ecx], al
xor eax, eax
mov edi, edx
mov ecx, dword [esp + 0x34]
shld eax, edx, cl
mov edx, dword [ebp + 0x20]
mov edx, dword [edx]
mov dword [esp + 0x50], edx
inc edx
mov dword [esp + 0x20], edi
shl edi, cl
test cl, 0x20
cmovne eax, edi
mov ecx, 0
cmovne edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [ecx], edx
add edi, ebx
adc eax, dword [esp + 0x10]
cmp edi, esi
mov esi, eax
sbb eax, dword [esp + 0xc]
jb 0x54ba08
mov eax, dword [esp + 0x18]
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec eax
mov ecx, dword [esp + 0x24]
cmp edi, ecx
mov edi, ecx
mov edx, dword [esp + 0xc]
sbb esi, edx
mov esi, dword [esp + 0x18]
jae 0x54b675
jmp 0x54b7e2
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], eax
mov eax, ebx
mov ecx, 0xa
mul ecx
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
lea ebx, [edx + ecx*2]
mov dword [esp + 0x1c], eax
mov esi, eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
shrd esi, ebx, cl
mov eax, dword [esp + 0x30]
shr ebx, cl
mov dword [esp + 0x50], eax
mov edx, 0xa
mul edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], eax
mov eax, edi
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov ecx, dword [ebp + 0x20]
mov esi, dword [ecx]
mov edi, dword [ebp + 0x18]
mov byte [edi + esi], bl
mov esi, dword [esp + 0xc]
lea esi, [esi + esi*4]
lea edx, [edx + esi*2]
mov ebx, dword [esp + 0x10]
and ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x1c]
and esi, dword [esp + 0x44]
mov edi, eax
mov dword [esp + 0x1c], esi
cmp esi, eax
mov dword [esp + 0x10], ebx
mov eax, ebx
sbb eax, edx
mov esi, dword [ecx]
lea eax, [esi + 1]
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
lea ebx, [ecx + ecx*4]
mov eax, dword [esp + 0x20]
lea eax, [eax + ebx*2]
mov dword [esp + 0x18], eax
jb 0x54b7f8
mov ecx, dword [esp + 0x28]
dec ecx
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
mov eax, dword [esp + 0x10]
sbb eax, edx
mov eax, ecx
jae 0x54b722
test byte [esp + 0x14], 1
je 0x54b020
sub eax, dword [esp + 0x78]
mov edx, eax
jmp 0x54aff3
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x30]
mov eax, ebx
mov esi, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mul esi
mov dword [esp + 0x20], edx
mov edx, ebx
imul edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
imul ecx, esi
add ecx, dword [esp + 0x20]
add ecx, edx
mov esi, eax
sub esi, ebx
mov edx, ecx
sbb edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
add eax, ebx
mov dword [esp + 0x2c], eax
adc ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], edi
mov eax, edi
mov edi, dword [esp + 0x1c]
sub eax, edi
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
sbb edx, ebx
cmp eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x7c]
sbb edx, ecx
setb al
mov dword [esp + 0x4c], eax
mov edx, ebx
jb 0x54b931
mov dword [esp + 0x20], esi
cmp edi, esi
mov eax, edx
mov esi, dword [esp + 0x14]
sbb eax, esi
mov eax, edi
mov ebx, edx
jae 0x54b939
mov eax, dword [esp + 0x1c]
mov ebx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
add eax, dword [esp + 0x5c]
adc ebx, ecx
mov edx, dword [esp + 0x20]
cmp eax, edx
mov edi, eax
mov eax, ebx
sbb eax, esi
mov dword [esp + 0x48], edi
jb 0x54b8db
sub edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], edx
mov edx, esi
sbb edx, dword [esp + 0x38]
mov eax, edi
sub eax, dword [esp + 0x20]
mov edi, ebx
sbb ebx, esi
cmp dword [esp + 0x4c], eax
sbb edx, ebx
mov ebx, edi
jb 0x54b9ae
mov eax, dword [ebp + 0x18]
mov edi, dword [esp + 0x70]
dec byte [eax + edi]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
sub edx, edi
mov esi, ecx
mov ecx, dword [esp + 0xc]
sbb ecx, ebx
cmp edx, dword [esp + 0x5c]
mov eax, ecx
sbb eax, esi
setb al
mov dword [esp + 0x4c], eax
cmp edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov eax, ebx
sbb eax, esi
jae 0x54b937
cmp edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7c]
sbb ecx, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov ecx, eax
mov eax, edi
jb 0x54b939
jmp 0x54b89d
mov eax, edi
mov ebx, edx
jmp 0x54b939
mov eax, edi
mov esi, dword [esp + 0x2c]
mov edi, eax
cmp eax, esi
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x40]
sbb ebx, ecx
jae 0x54b954
cmp byte [esp + 0x4c], 0
je 0x54b9c3
mov esi, dword [esp + 0x50]
mov eax, esi
mov ecx, 0x14
mul ecx
mov ecx, dword [esp + 0x74]
lea ecx, [edx + ecx*4]
mov ebx, edi
cmp edi, eax
mov eax, dword [esp + 0x20]
sbb eax, ecx
setae cl
mov eax, esi
mov edx, 0xffffffd8
mul edx
sub edx, esi
mov esi, dword [esp + 0x54]
shl esi, 3
lea esi, [esi + esi*4]
sub edx, esi
mov edi, dword [esp + 0x24]
add eax, edi
mov esi, dword [esp + 0xc]
adc edx, esi
cmp eax, ebx
sbb edx, dword [esp + 0x20]
mov edx, esi
setae al
and al, cl
mov dword [esp + 0x14], eax
jmp 0x54b7c9
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
jmp 0x54b939
mov edx, edi
mov dword [esp + 0x48], edi
add edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
adc eax, dword [esp + 0x7c]
cmp edx, esi
mov ebx, ecx
mov ecx, eax
sbb ecx, ebx
jb 0x54bd0d
mov ecx, esi
sub ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
mov esi, ebx
sbb esi, dword [esp + 0x20]
sub edx, dword [esp + 0x2c]
sbb eax, ebx
cmp edx, ecx
sbb eax, esi
jae 0x54b954
jmp 0x54bd0d
mov edx, dword [esp + 0x58]
mov eax, edx
add eax, 0xffffffff
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x60]
mov eax, ecx
adc eax, 0xffffffff
mov dword [esp + 0x40], eax
add edx, 1
mov dword [esp + 0x84], edx
adc ecx, 0
mov dword [esp + 0x3c], ecx
xor ebx, ebx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
shld ebx, eax, cl
shl eax, cl
test cl, 0x20
cmovne ebx, eax
mov ecx, 0
cmovne eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, edi
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], esi
sbb edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
cmp ecx, eax
mov ecx, edx
sbb ecx, ebx
setb cl
mov dword [esp + 0x6c], ecx
cmp edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
sbb ecx, dword [esp + 0x40]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], eax
jae 0x54bb79
cmp dword [esp + 0x14], eax
sbb edx, ebx
mov edx, edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
jb 0x54bb8b
mov edx, edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x80], eax
add edx, dword [esp + 0x38]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x14]
adc eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
cmp edx, ecx
mov dword [esp + 0x14], eax
sbb eax, dword [esp + 0x40]
jb 0x54bb0b
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x40]
sbb ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
sbb eax, dword [esp + 0x40]
cmp dword [esp + 0x6c], edx
sbb ecx, eax
jb 0x54bbe0
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x50]
dec byte [ecx + edx]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
sbb edx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
cmp ecx, dword [esp + 0x38]
mov ecx, edx
mov eax, dword [esp + 0x48]
sbb ecx, eax
setb cl
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x40]
jb 0x54bb58
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
jmp 0x54bb8b
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x68], ecx
sbb edx, eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
jb 0x54bb8b
jmp 0x54bab5
mov edx, edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov eax, edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
cmp eax, edx
mov eax, dword [esp + 0x14]
sbb eax, ecx
jae 0x54bba9
cmp byte [esp + 0x6c], 0
je 0x54bbf9
mov eax, dword [esp + 0x74]
add eax, 0xfffffffd
mov ecx, dword [esp + 0x70]
adc ecx, 0xffffffff
xor edx, edx
inc edx
cmp edx, dword [esp + 0x2c]
mov edx, 0
sbb edx, dword [esp + 0x14]
setb dl
cmp eax, dword [esp + 0x2c]
sbb ecx, dword [esp + 0x14]
setae al
and al, dl
mov dword [esp + 0x14], eax
jmp 0x54b6f4
mov dword [esp + 0x6c], 0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
jmp 0x54bb87
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
adc eax, dword [esp + 0x14]
cmp dword [esp + 0x38], edx
mov dword [esp + 0x48], eax
sbb eax, ecx
jb 0x54bc41
mov eax, edx
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
sbb ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
sub eax, edx
mov edx, dword [esp + 0x48]
sbb edx, dword [esp + 0x3c]
cmp eax, dword [esp + 0x50]
sbb edx, ecx
jae 0x54bba9
mov dword [esp + 0x14], 0
jmp 0x54b6f4
call fcn.005c5270
mov edx, 0xfffffbce
mov edi, eax
shld edi, ecx, 1
add ecx, ecx
dec edx
bt eax, 0x13
mov eax, edi
jb 0x54ada6
jmp 0x54bc5a
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
shld dword [esp + 0x10], edi, 1
add edi, edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0xc]
dec ecx
cmp dword [esp + 0x10], 0
js 0x54b399
jmp 0x54bc73
mov edx, 0xfffffbce
mov ebx, dword [esp + 0xc]
mov ecx, esi
mov edi, esi
shld edi, ebx, 1
add ebx, ebx
dec edx
bt ecx, 0x13
mov ecx, edi
jb 0x54b307
jmp 0x54bca2
mov byte [eax], 0x31
inc dword [esp + 0x28]
jmp 0x54afed
cvtsd2ss xmm0, xmm0
lea ecx, [esp + 0xac]
movss dword [ecx], xmm0
lea ebx, [esp + 0xb0]
mov dword [esp], ebx
lea esi, [esp + 0xc0]
mov edx, esi
call fcn.005d14c0
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x24]
jmp 0x54b3c7
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x24]
jmp 0x54b7c9