Function at 0x54be90
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 [0x646040]
xor ecx, ebp
mov dword [esp + 0xd0], ecx
cmp dword [ebp + 0x10], 2
jne 0x54c23b
movsd qword [esp + 0x90], xmm0
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
test eax, 0x7ff00000
je 0x54cd88
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 + 0x20], eax
shl ecx, 0xb
mov dword [esp + 0x34], ecx
mov eax, 0xffffffce
sub eax, edx
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x6390d8]
movsd qword [esp], xmm0
call fcn.00590630
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 + 0x63ad6c]
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 + 0x1c], edx
mov ecx, dword [ecx + 0x63ad68]
mov eax, ecx
mul edi
mov edi, edx
mov dword [esp + 0x18], eax
mov eax, ecx
mul esi
xor ecx, ecx
add edx, dword [esp + 0x18]
setb cl
add edx, dword [esp + 0x30]
adc ecx, 0
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x63ad70]
add eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
add edi, dword [esp + 0xc]
adc ebx, 0
add edi, dword [esp + 0x1c]
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 + 0x18], 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 + 0x50], edx
add edx, 0xffffffff
mov dword [esp + 0x24], eax
adc eax, 0xffffffff
mov dword [esp + 0x4c], eax
and ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x60], 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 + 0x6390e4], esi
lea ebx, [eax + 1]
cmova ebx, eax
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x63ad72]
mov dword [esp + 0x34], eax
mov edx, dword [ebx*4 + 0x6390e0]
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], 0
mov dword [eax], ecx
mov eax, ebx
mov edi, edx
test eax, eax
jle 0x54c17a
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 + 0x20]
jne 0x54c063
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 + 0x20], 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 + 0x20]
test cl, 0x20
cmovne eax, edi
add ebx, dword [esp + 0xc]
adc eax, dword [esp + 0x1c]
cmp esi, 3
mov ecx, edx
sbb ecx, 0
jb 0x54c176
mov edi, edx
mov ecx, esi
sub ecx, ebx
sbb edx, eax
cmp ebx, ecx
mov ecx, eax
sbb ecx, edx
jae 0x54c1a7
mov ecx, eax
shld ecx, ebx, 1
lea edx, [ebx + ebx]
mov dword [esp + 0x1c], 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 + 0x1c]
mov edi, dword [esp + 0xc]
sbb ecx, edx
jae 0x54c1a7
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 dl, 1
mov ecx, dword [esp + 0xd0]
xor ecx, ebp
mov ebx, edx
call fcn.00567335
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edx, edx
jmp 0x54c15c
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x54c0a4
xor edx, edx
test ecx, ecx
mov ebx, dword [esp + 0xc]
jle 0x54c15c
mov dword [esp + 0x28], eax
cmp ebx, 2
mov esi, dword [esp + 0x1c]
mov eax, esi
sbb eax, 0
jb 0x54c15c
jmp 0x54cbe5
cmp ebx, 2
mov ecx, eax
sbb ecx, 0
jb 0x54c176
add ebx, 0xffffffff
adc eax, 0xffffffff
sub esi, ebx
sbb edi, eax
cmp ebx, esi
sbb eax, edi
mov edx, dword [esp + 0x10]
jb 0x54c176
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 0x54c1df
cmp al, 0x3a
je 0x54c1f0
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0x3a
jne 0x54c141
jmp 0x54ce36
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 0x54c1db
jmp 0x54c1df
mov esi, dword [esp + 0x50]
and esi, 0x7fefffff
or esi, edi
mov esi, edi
mov edi, dword [esp + 0x20]
je 0x54c342
mov edx, dword [esp + 0x30]
add edx, 0xfffffffe
mov edi, dword [esp + 0x1c]
shld edi, esi, 2
shl esi, 2
mov eax, esi
jmp 0x54c342
jae 0x54cd83
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 + 0x50], 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 + 0x1c], ecx
je 0x54cdca
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 0x54cdec
mov eax, dword [esp + 0x30]
lea edx, [eax - 1]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
shld edi, ecx, 1
lea eax, [ecx + ecx]
lea ebx, [ecx*2 + 1]
mov dword [esp + 0x20], 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 0x54c302
mov dword [esp + 0x18], ebx
test edi, edi
jns 0x54cda4
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
or esi, edi
je 0x54c20a
mov edi, dword [esp + 0x20]
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 + 0x20], 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 [0x6390d8]
movsd qword [esp], xmm0
call fcn.00590630
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 + 0x63ad6c]
mov eax, esi
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x34]
mul edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], 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 + 0x63ad68]
mov dword [esp + 0x1c], ebx
mov edx, edi
mov edi, ecx
mov dword [esp + 0x54], ecx
mov eax, ebx
mul edx
mov dword [esp + 0x48], 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 + 0x3c], edx
adc eax, 0
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x20]
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 + 0x50], edx
mov dword [esp + 0x60], eax
mov eax, ebx
mov esi, dword [esp + 0x1c]
mul esi
mov ebx, edx
mov dword [esp + 0x20], eax
mov eax, ecx
mul esi
movsx eax, word [edi + 0x63ad70]
add eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
xor eax, eax
add edx, dword [esp + 0x20]
setb al
add edx, dword [esp + 0x60]
mov dword [esp + 0x30], edx
adc eax, 0
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x10]
mov eax, edi
mov ecx, dword [esp + 0xc]
mul ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov esi, dword [esp + 0x18]
mov eax, esi
mul ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x58], eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
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 + 0x60]
mov esi, dword [esp + 0x5c]
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 + 0x50]
adc eax, 0
add dword [esp + 0x30], 0x80000000
adc ebx, dword [esp + 0x20]
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 + 0x5c], 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 + 0x68], eax
add eax, 0xffffffff
mov dword [esp + 0x7c], ebx
adc ebx, 0xffffffff
mov dword [esp + 0x60], ebx
and edi, ebx
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x58]
mov ebx, ecx
mov dword [esp + 0x50], eax
and ebx, eax
imul eax, dword [esp + 0x28], 0x4d1
add eax, 0x23856
sar eax, 0xc
mov dword [esp + 0x18], esi
cmp dword [eax*4 + 0x6390e4], esi
lea esi, [eax + 1]
cmova esi, eax
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x48]
add esi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
adc eax, 0
add esi, dword [esp + 0x78]
adc eax, 0
add dword [esp + 0x3c], 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 + 0x5c], eax
mov eax, dword [esp + 0x54]
movsx eax, word [eax + 0x63ad72]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
mov esi, dword [eax*4 + 0x6390e0]
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 + 0x48], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], edx
test eax, eax
jle 0x54c6b3
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
xor edx, edx
div esi
add al, 0x30
mov dword [esp + 0x1c], 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 + 0x4c], edx
inc edx
mov dword [esp + 0x18], 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 0x54c9a5
mov eax, dword [esp + 0x1c]
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x20]
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 + 0x1c]
jae 0x54c612
jmp 0x54c77f
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x48]
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 + 0x20], 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 + 0x4c], eax
mov edx, 0xa
mul edx
mov dword [esp + 0x18], 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 + 0x60]
mov esi, dword [esp + 0x20]
and esi, dword [esp + 0x50]
mov edi, eax
mov dword [esp + 0x20], 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 + 0x1c]
lea ebx, [ecx + ecx*4]
mov eax, dword [esp + 0x18]
lea eax, [eax + ebx*2]
mov dword [esp + 0x1c], eax
jb 0x54c795
mov ecx, dword [esp + 0x28]
dec ecx
mov ebx, dword [esp + 0x20]
cmp ebx, edi
mov eax, dword [esp + 0x10]
sbb eax, edx
mov eax, ecx
jae 0x54c6bf
test byte [esp + 0x14], 1
je 0x54c176
sub eax, dword [esp + 0x78]
mov edx, eax
jmp 0x54c147
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 + 0x18], edx
mov edx, ebx
imul edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
imul ecx, esi
add ecx, dword [esp + 0x18]
add ecx, edx
mov esi, eax
sub esi, ebx
mov edx, ecx
sbb edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
add eax, ebx
mov dword [esp + 0x2c], eax
adc ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], edi
mov eax, edi
mov edi, dword [esp + 0x20]
sub eax, edi
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
sbb edx, ebx
cmp eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
sbb edx, ecx
setb al
mov dword [esp + 0x48], eax
mov edx, ebx
jb 0x54c8ce
mov dword [esp + 0x18], esi
cmp edi, esi
mov eax, edx
mov esi, dword [esp + 0x14]
sbb eax, esi
mov eax, edi
mov ebx, edx
jae 0x54c8d6
mov eax, dword [esp + 0x20]
mov ebx, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edx
add eax, dword [esp + 0x68]
adc ebx, ecx
mov edx, dword [esp + 0x18]
cmp eax, edx
mov edi, eax
mov eax, ebx
sbb eax, esi
mov dword [esp + 0x40], edi
jb 0x54c878
sub edx, dword [esp + 0x38]
mov dword [esp + 0x48], edx
mov edx, esi
sbb edx, dword [esp + 0x44]
mov eax, edi
sub eax, dword [esp + 0x18]
mov edi, ebx
sbb ebx, esi
cmp dword [esp + 0x48], eax
sbb edx, ebx
mov ebx, edi
jb 0x54c94b
mov eax, dword [ebp + 0x18]
mov edi, dword [esp + 0x70]
dec byte [eax + edi]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
sub edx, edi
mov esi, ecx
mov ecx, dword [esp + 0xc]
sbb ecx, ebx
cmp edx, dword [esp + 0x68]
mov eax, ecx
sbb eax, esi
setb al
mov dword [esp + 0x48], eax
cmp edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, ebx
sbb eax, esi
jae 0x54c8d4
cmp edx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
sbb ecx, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], ebx
mov ecx, eax
mov eax, edi
jb 0x54c8d6
jmp 0x54c83a
mov eax, edi
mov ebx, edx
jmp 0x54c8d6
mov eax, edi
mov esi, dword [esp + 0x2c]
mov edi, eax
cmp eax, esi
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x3c]
sbb ebx, ecx
jae 0x54c8f1
cmp byte [esp + 0x48], 0
je 0x54c960
mov esi, dword [esp + 0x4c]
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 + 0x18]
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 + 0x18]
mov edx, esi
setae al
and al, cl
mov dword [esp + 0x14], eax
jmp 0x54c766
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
jmp 0x54c8d6
mov edx, edi
mov dword [esp + 0x40], edi
add edx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
adc eax, dword [esp + 0x7c]
cmp edx, esi
mov ebx, ecx
mov ecx, eax
sbb ecx, ebx
jb 0x54ce42
mov ecx, esi
sub ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov esi, ebx
sbb esi, dword [esp + 0x18]
sub edx, dword [esp + 0x2c]
sbb eax, ebx
cmp edx, ecx
sbb eax, esi
jae 0x54c8f1
jmp 0x54ce42
mov edx, dword [esp + 0x58]
mov eax, edx
add eax, 0xffffffff
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x5c]
mov eax, ecx
adc eax, 0xffffffff
mov dword [esp + 0x3c], eax
add edx, 1
mov dword [esp + 0x84], edx
adc ecx, 0
mov dword [esp + 0x80], ecx
xor ebx, ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
shld ebx, edx, cl
shl edx, cl
test cl, 0x20
cmovne ebx, edx
mov ecx, 0
cmovne edx, ecx
mov ecx, dword [esp + 0x24]
sub ecx, edi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], esi
sbb eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
cmp ecx, edx
mov ecx, eax
sbb ecx, ebx
setb cl
mov dword [esp + 0x40], ecx
cmp edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
sbb ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ebx
jae 0x54cb09
cmp dword [esp + 0x14], edx
sbb eax, ebx
mov ecx, edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x20]
jb 0x54cb1d
mov ecx, edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x14], eax
add ecx, edx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x14]
adc eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x54]
cmp ecx, edx
mov ecx, eax
sbb ecx, dword [esp + 0x3c]
jb 0x54caa1
sub edx, dword [esp + 0x64]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
sbb edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
sbb eax, dword [esp + 0x3c]
cmp dword [esp + 0x40], ecx
sbb edx, eax
jb 0x54cb77
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x4c]
dec byte [ecx + eax]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
sbb edx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
cmp eax, dword [esp + 0x38]
mov ecx, edx
mov eax, dword [esp + 0x44]
sbb ecx, eax
setb cl
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x3c]
jae 0x54cb19
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x64], ecx
sbb edx, eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x38]
jb 0x54cb1d
jmp 0x54ca55
mov ecx, edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x20]
jmp 0x54cb1d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x2c], ecx
cmp ecx, edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
sbb eax, ecx
jae 0x54cb40
cmp byte [esp + 0x40], 0
je 0x54cb8d
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 0x54c691
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
jmp 0x54cb1d
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
adc eax, dword [esp + 0x14]
cmp dword [esp + 0x38], edx
mov dword [esp + 0x44], eax
sbb eax, ecx
jb 0x54cbd8
mov eax, edx
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
sbb ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
sub eax, edx
mov edx, dword [esp + 0x44]
sbb edx, dword [esp + 0x80]
cmp eax, dword [esp + 0x4c]
sbb edx, ecx
jae 0x54cb40
mov dword [esp + 0x14], 0
jmp 0x54c691
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov eax, ebx
mov ecx, 0xa
mul ecx
lea esi, [esi + esi*4]
lea edi, [edx + esi*2]
mov dword [esp + 0xc], eax
mov esi, eax
mov ecx, dword [esp + 0x30]
shrd esi, edi, cl
mov eax, dword [esp + 0x18]
mov ebx, edi
shr ebx, cl
mov dword [esp + 0x5c], eax
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
mov byte [esi + ecx], bl
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x20], ecx
lea ebx, [edx + ecx*2]
mov edx, dword [ebp + 0x20]
mov ecx, dword [edx]
mov dword [esp + 0x58], ecx
inc ecx
mov dword [esp + 0x10], ecx
mov edx, ebx
mov ebx, dword [ebp + 0x20]
mov dword [ebx], ecx
mov ebx, dword [esp + 0xc]
and ebx, dword [esp + 0x60]
and edi, dword [esp + 0x4c]
dec dword [esp + 0x28]
mov dword [esp + 0x18], eax
cmp esi, 2
lea ecx, [esi - 1]
mov esi, edi
jb 0x54cc84
cmp dword [esp + 0x18], ebx
mov eax, edx
sbb eax, esi
jb 0x54cbe7
mov dword [esp + 0x1c], edx
test ecx, ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
jne 0x54c176
mov eax, edx
mov edi, dword [esp + 0x18]
sub eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
sbb ecx, eax
cmp edi, edx
mov edx, eax
sbb edx, dword [esp + 0x24]
jae 0x54c176
cmp edi, dword [esp + 0x10]
sbb eax, ecx
mov edx, 0
jae 0x54c15c
mov edi, dword [esp + 0x50]
mov eax, edi
sub eax, ebx
mov edx, dword [esp + 0x24]
mov ecx, edx
sbb ecx, esi
cmp ebx, eax
mov eax, esi
sbb eax, ecx
jae 0x54cd14
mov eax, esi
shld eax, ebx, 1
lea ecx, [ebx + ebx]
mov dword [esp + 0xc], ebx
sub edi, ecx
mov ecx, edx
sbb ecx, eax
mov edx, 0x14
mov eax, dword [esp + 0x5c]
mul edx
cmp edi, eax
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
lea eax, [edx + eax*4]
sbb ecx, eax
jae 0x54c13d
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
mov edx, dword [esp + 0x1c]
mov eax, edx
sbb eax, esi
jae 0x54c176
sub ebx, ecx
sbb esi, edx
mov ecx, dword [esp + 0x50]
sub ecx, ebx
mov eax, dword [esp + 0x24]
sbb eax, esi
cmp ebx, ecx
sbb esi, eax
jb 0x54c176
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x58]
mov al, byte [ecx + edx]
inc al
mov byte [ecx + edx], al
test edx, edx
mov esi, dword [esp + 0x34]
jle 0x54c1df
inc edx
cmp al, 0x3a
jne 0x54c1df
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 0x54cd5e
jmp 0x54c1df
call fcn.005c69c0
mov edx, 0xfffffbce
mov edi, eax
shld edi, ecx, 1
add ecx, ecx
dec edx
bt eax, 0x13
mov eax, edi
jb 0x54bef6
jmp 0x54cd8f
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
shld dword [esp + 0x10], edi, 1
add edi, edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xc]
dec ecx
cmp dword [esp + 0x10], 0
js 0x54c336
jmp 0x54cda8
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 0x54c2a4
jmp 0x54cdd7
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.005d2bc0
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x24]
jmp 0x54c364
mov byte [eax], 0x31
inc dword [esp + 0x28]
jmp 0x54c141
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x24]
jmp 0x54c766