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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [esp + 0xc0], eax
cmp ecx, 2
jae 0x100396eb
mov dword [esp + 8], ecx
movsd qword [esp + 0x78], xmm0
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov ebx, esi
and ebx, 0xfffff
mov edi, ecx
add edi, 0xffffffff
mov eax, ebx
adc eax, 0xfffff
add edi, 1
adc eax, 0
mov edx, esi
shr edx, 0x14
and edx, 0x7ff
add edx, 0xfffffbcd
mov dword [esp + 0x2c], esi
test esi, 0x7ff00000
mov esi, 0xfffffbce
mov dword [esp + 0x18], edx
cmove edx, esi
mov dword [esp + 4], edx
mov edx, edi
cmove edx, ecx
mov dword [esp + 0x10], edx
mov esi, eax
mov dword [esp + 0x14], ebx
cmove esi, ebx
je 0x10039ea7
mov dword [esp + 0x30], ecx
shld eax, edi, 0xb
mov dword [esp + 0x24], eax
shl edi, 0xb
mov dword [esp + 0x1c], edi
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
cmp dword [esp + 8], 0
jne 0x10039ecf
mov eax, dword [esp + 4]
lea edx, [eax - 1]
mov dword [esp + 0x50], esi
mov edi, esi
mov ecx, dword [esp + 0x10]
shld edi, ecx, 1
lea eax, [ecx + ecx]
lea esi, [ecx + ecx]
inc esi
mov dword [esp + 8], edi
mov ecx, edx
mov ebx, edi
shld ebx, esi, 0xa
shl esi, 0xa
add ecx, 0xfffffff6
test edi, 0xfffff000
mov edi, ebx
je 0x10039083
mov dword [esp + 0x28], esi
test edi, edi
jns 0x10039f12
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x14]
or dword [esp + 0x30], edi
je 0x10039e7e
add eax, 0xffffffff
adc esi, 0xffffffff
sub edx, ecx
mov ecx, edx
shld esi, eax, cl
shl eax, cl
xor ecx, ecx
test dl, 0x20
cmovne esi, eax
mov dword [esp + 8], esi
cmove ecx, eax
mov dword [esp + 0x10], ecx
xor eax, eax
lea ecx, [esp + 0x90]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov esi, ecx
mov eax, 0xffffff8f
mov edx, dword [esp + 0x18]
sub eax, edx
mov ecx, 0xffffffab
sub ecx, edx
lea edx, [esp + 0x8c]
push edx
push esi
push ecx
push eax
call fcn.10004640
add esp, 0x10
mov esi, dword [esi + 4]
mov dword [esp + 0x58], esi
mov eax, esi
mov edi, dword [esp + 0x24]
mul edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x1c]
and ecx, 0xfffff800
mov eax, esi
mul ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
lea eax, [esp + 0x90]
mov esi, dword [eax]
mov eax, esi
mov dword [esp + 4], esi
mul edi
mov dword [esp + 0x24], edx
mov edi, eax
mov eax, esi
mul ecx
xor eax, eax
add edx, edi
setb al
add edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
mov ecx, 0
adc eax, ecx
mov dword [esp + 0x34], eax
mov edi, dword [esp + 8]
mov eax, edi
mov esi, dword [esp + 0x58]
mul esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov eax, ecx
mul esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x50], eax
mov eax, edi
mov edi, dword [esp + 4]
mul edi
mov dword [esp + 0x38], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x90]
add eax, dword [edx + 8]
mov dword [esp + 0x18], eax
mov eax, ecx
mul edi
xor ecx, ecx
add edx, dword [esp + 0x38]
setb cl
add edx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
mov eax, 0
adc ecx, eax
mov dword [esp + 0x50], ecx
mov eax, ebx
mul esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], eax
mov edi, dword [esp + 0x28]
mov eax, edi
mul esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], eax
mov eax, ebx
mov ecx, dword [esp + 4]
mul ecx
mov esi, edx
mov ebx, eax
mov eax, edi
mul ecx
xor ecx, ecx
add edx, ebx
setb cl
add edx, dword [esp + 0x60]
mov eax, 0
adc ecx, eax
mov edi, esi
add edi, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
adc esi, eax
add edi, dword [esp + 0x58]
adc esi, eax
mov ebx, 0x80000000
add edx, ebx
mov edx, 0x80000000
adc edi, ecx
adc esi, eax
add edi, 1
mov dword [esp + 0x44], edi
adc esi, eax
mov ebx, dword [esp + 8]
add ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
adc ecx, eax
add ebx, dword [esp + 0x30]
adc ecx, eax
add dword [esp + 0x10], edx
adc ebx, dword [esp + 0x50]
adc ecx, eax
xor eax, eax
mov edx, edi
sub edx, ebx
mov edi, esi
mov ebx, esi
mov dword [esp + 0x38], esi
sbb edi, ecx
add edx, 1
mov dword [esp + 4], edx
adc edi, eax
mov dword [esp + 8], edi
mov ecx, 0xffffffcb
sub ecx, dword [esp + 0x18]
xor edx, edx
inc edx
xor eax, eax
shld eax, edx, cl
mov dword [esp + 0x28], edx
shl edx, cl
mov esi, dword [esp + 0x44]
shrd esi, ebx, cl
mov ebx, dword [esp + 0x38]
shr ebx, cl
mov dword [esp + 0x30], ecx
test cl, 0x20
cmove ebx, esi
cmovne eax, edx
mov edi, 0
cmovne edx, edi
mov dword [esp + 0x60], edx
add edx, 0xffffffff
mov dword [esp + 0x74], eax
adc eax, 0xffffffff
mov esi, dword [esp + 0x38]
mov dword [esp + 0x58], eax
and esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], edx
and eax, edx
mov edx, eax
imul ecx, dword [esp + 0x18], 0x4d1
add ecx, 0x23856
sar ecx, 0xc
mov dword [esp + 0x14], ebx
cmp dword [ecx*4 + 0x1008ab58], ebx
lea ebx, [ecx + 1]
cmova ebx, ecx
mov ecx, dword [esp + 0x24]
add ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
adc eax, edi
add ecx, dword [esp + 0x20]
adc eax, edi
mov edi, 0x80000000
add dword [esp + 0x4c], edi
adc ecx, dword [esp + 0x34]
mov edi, 0
adc eax, edi
sub dword [esp + 0x44], ecx
mov edi, dword [esp + 8]
sbb dword [esp + 0x38], eax
mov eax, dword [ebx*4 + 0x1008ab54]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [esp + 4]
mov eax, ebx
sar eax, 0x1f
and eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edx
test ebx, ebx
jle 0x10039436
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
xor edx, edx
div dword [esp + 0x24]
add al, 0x30
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
mov ebx, esi
mov esi, dword [ebp + 8]
mov byte [esi + ecx], al
xor edi, edi
mov esi, edx
mov ecx, dword [esp + 0x30]
shld edi, edx, cl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea edx, [eax + 1]
mov dword [esp + 0x14], esi
shl esi, cl
test cl, 0x20
cmovne edi, esi
mov ecx, 0
cmovne esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
add esi, dword [esp + 0x10]
adc edi, ebx
cmp esi, dword [esp + 4]
mov ecx, edi
sbb ecx, dword [esp + 8]
jb 0x10039970
mov eax, dword [esp + 0x24]
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
dec ebx
cmp esi, ecx
sbb edi, edx
mov esi, dword [esp + 0x1c]
mov edi, edx
mov edx, dword [esp + 0x10]
jae 0x1003935d
test byte [esp + 0xc], 1
je 0x10039b16
sub ebx, dword [esp + 0x8c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add ebx, dword [ecx]
mov dword [eax], ebx
mov eax, dword [ecx]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], 0
mov bl, 1
mov ecx, dword [esp + 0xc0]
xor ecx, ebp
call fcn.100468e0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], edi
mov dword [esp + 0x18], ebx
mov eax, edx
mov edx, 0xa
mul edx
mov edi, ecx
lea ecx, [esi + esi*4]
lea ebx, [edx + ecx*2]
mov dword [esp + 0x10], eax
mov esi, eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
shrd esi, ebx, cl
mov eax, dword [esp + 0x28]
shr ebx, cl
mov dword [esp + 0x2c], eax
mov edx, 0xa
mul edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
mov eax, edi
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov esi, dword [ebp + 0xc]
mov esi, dword [esi]
mov edi, dword [ebp + 8]
mov byte [edi + esi], bl
mov ecx, dword [esp + 8]
lea esi, [ecx + ecx*4]
lea ecx, [edx + esi*2]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
and esi, dword [esp + 0x58]
and edx, dword [esp + 0x50]
mov dword [esp + 4], eax
cmp edx, eax
mov eax, esi
mov dword [esp + 8], ecx
sbb eax, ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx]
lea eax, [edi + 1]
mov dword [ecx], eax
mov ebx, dword [esp + 0x24]
lea ecx, [ebx + ebx*4]
mov eax, dword [esp + 0x14]
lea eax, [eax + ecx*2]
mov dword [esp + 0x24], eax
jb 0x10039506
mov ebx, dword [esp + 0x18]
dec ebx
mov ecx, dword [esp + 4]
cmp edx, ecx
mov eax, esi
mov edi, dword [esp + 8]
sbb eax, edi
jae 0x10039442
jmp 0x100393f7
mov dword [esp + 0x48], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x28]
mov eax, esi
mov dword [esp + 0x10], edx
mul dword [esp + 0x44]
mov ecx, esi
imul ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov edi, ebx
imul edi, dword [esp + 0x44]
add edi, edx
add edi, ecx
mov ecx, eax
sub ecx, esi
mov edx, edi
sbb edx, ebx
mov dword [esp + 0xc], edx
add eax, esi
mov dword [esp + 0x34], eax
adc edi, ebx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, edx
sub eax, edx
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x1c]
mov esi, edi
sbb edx, edi
cmp eax, dword [esp + 0x60]
mov eax, dword [esp + 0x74]
mov edi, eax
sbb edx, eax
setb al
mov dword [esp + 0x40], eax
jb 0x10039657
mov dword [esp + 0x3c], ecx
cmp ebx, ecx
mov eax, esi
sbb eax, dword [esp + 0xc]
mov dword [esp + 0x14], ebx
mov eax, esi
mov edx, dword [esp + 0x2c]
mov esi, edi
jae 0x10039663
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0x60]
adc eax, esi
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x3c]
mov ecx, eax
mov edi, dword [esp + 0xc]
sbb eax, edi
jb 0x100395fb
mov ebx, dword [esp + 0x3c]
mov eax, ebx
sub eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
mov edx, edi
sbb edx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
sub eax, ebx
mov ebx, ecx
sbb ebx, edi
cmp dword [esp + 0x40], eax
sbb edx, ebx
jb 0x10039b66
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x48]
dec byte [eax + edx]
mov eax, dword [esp + 4]
sub eax, dword [esp + 0x14]
mov edx, dword [esp + 8]
sbb edx, ecx
mov edi, dword [esp + 0x60]
mov ebx, eax
cmp eax, edi
mov eax, edx
sbb eax, esi
setb al
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x3c]
mov eax, ecx
sbb eax, dword [esp + 0xc]
jae 0x10039b7f
cmp ebx, edi
sbb edx, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], ecx
mov eax, ecx
mov edx, dword [esp + 0x2c]
jb 0x10039663
jmp 0x100395b5
mov dword [esp + 0x14], ebx
mov eax, esi
mov edx, dword [esp + 0x2c]
mov esi, edi
mov ecx, esi
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x34]
mov dword [esp + 0xc], eax
sbb eax, dword [esp + 0x20]
jae 0x10039682
cmp byte [esp + 0x40], 0
je 0x10039b1d
mov eax, edx
mov ecx, 0x14
mov esi, edx
mul ecx
mov ecx, dword [esp + 0x5c]
lea ecx, [edx + ecx*4]
mov ebx, dword [esp + 0x14]
cmp ebx, eax
mov edi, dword [esp + 0xc]
mov eax, edi
sbb eax, ecx
setae byte [esp + 0x20]
mov eax, esi
mov edx, 0xffffffd8
mul edx
sub edx, esi
mov ecx, dword [esp + 0x4c]
shl ecx, 3
lea esi, [ecx + ecx*4]
sub edx, esi
add eax, dword [esp + 4]
adc edx, dword [esp + 8]
cmp eax, ebx
sbb edx, edi
setae al
and al, byte [esp + 0x20]
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
jmp 0x100394e8
mov edx, dword [esp + 0x2c]
jmp 0x10039663
jne 0x10039f3c
movsd qword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
mov eax, esi
and eax, 0xfffff
mov ebx, ecx
add ebx, 0xffffffff
mov edi, eax
adc edi, 0xfffff
add ebx, 1
adc edi, 0
test esi, 0x7ff00000
mov dword [esp + 4], edx
je 0x10039f41
shr esi, 0x14
and esi, 0x7ff
add esi, 0xfffffbcd
mov dword [esp + 8], esi
shld edi, ebx, 0xb
mov dword [esp + 0x24], edi
shl ebx, 0xb
xor eax, eax
lea ecx, [esp + 0xb0]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov eax, 0xffffff8f
sub eax, esi
mov ecx, 0xffffffab
sub ecx, esi
lea edx, [esp + 0xa0]
push edx
lea edx, [esp + 0xb4]
push edx
mov esi, edx
push ecx
push eax
call fcn.10004640
add esp, 0x10
mov ecx, esi
mov esi, dword [esi + 4]
mov eax, esi
mul edi
mov edi, edx
mov dword [esp + 0x10], eax
mov eax, esi
mul ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov eax, ecx
mov ecx, dword [ecx]
mov eax, ecx
mul dword [esp + 0x24]
mov esi, edx
mov dword [esp + 0x24], eax
mov eax, ecx
mul ebx
xor eax, eax
add edx, dword [esp + 0x24]
setb al
add edx, dword [esp + 0x1c]
mov ecx, 0
adc eax, ecx
mov ebx, dword [esp + 8]
lea ecx, [esp + 0xb0]
add ebx, dword [ecx + 8]
mov dword [esp + 8], ebx
add esi, dword [esp + 0x10]
mov ecx, 0
adc edi, ecx
add esi, dword [esp + 0x18]
adc edi, ecx
xor ecx, ecx
add edx, 0x80000000
adc esi, eax
adc edi, ecx
mov ecx, 0xffffffcb
sub ecx, ebx
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
mov dword [esp + 0x28], eax
shl eax, cl
mov ebx, esi
shrd ebx, edi, cl
mov dword [esp + 0x10], ebx
mov ebx, edi
shr ebx, cl
mov dword [esp + 0x24], ecx
test cl, 0x20
cmove ebx, dword [esp + 0x10]
cmovne edx, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x30], eax
add eax, 0xffffffff
mov dword [esp + 0x14], edx
adc edx, 0xffffffff
mov dword [esp + 0x50], edx
and edi, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], eax
and esi, eax
mov dword [esp + 0x1c], esi
imul eax, dword [esp + 8], 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x1008ab58], ebx
lea esi, [eax + 1]
cmova esi, eax
mov edx, dword [esi*4 + 0x1008ab54]
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0
mov dword [eax], ecx
mov edi, edx
test esi, esi
jle 0x10039aee
mov eax, ebx
xor edx, edx
div edi
add al, 0x30
mov ebx, dword [ebp + 8]
mov ecx, edi
mov edi, dword [esp + 8]
mov byte [ebx + edi], al
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
inc edi
mov ebx, edi
mov dword [esp + 8], edi
mov dword [eax], edi
mov edi, ecx
mov ebx, edx
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
dec esi
shr edx, 3
dec dword [esp + 4]
jne 0x10039889
mov dword [esp + 0x18], esi
mov edx, edi
mov ecx, dword [esp + 0x24]
shl edx, cl
xor eax, eax
test cl, 0x20
mov esi, edx
cmovne esi, eax
mov dword [esp + 4], esi
xor esi, esi
shld esi, edi, cl
test cl, 0x20
cmovne esi, edx
mov edx, ebx
shl edx, cl
test cl, 0x20
mov edi, edx
cmovne edi, eax
shld eax, ebx, cl
test cl, 0x20
cmovne eax, edx
mov edx, esi
add edi, dword [esp + 0x1c]
adc eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov esi, ecx
cmp ecx, 3
mov ecx, edx
sbb ecx, 0
jb 0x10039b16
mov ecx, esi
sub ecx, edi
mov dword [esp + 0x10], edx
sbb edx, eax
cmp edi, ecx
mov ecx, eax
sbb ecx, edx
jae 0x10039e0d
mov ecx, eax
shld ecx, edi, 1
lea edx, [edi + edi]
mov ebx, esi
sub ebx, edx
mov edx, dword [esp + 0x10]
sbb edx, ecx
xor ecx, ecx
xor esi, esi
inc esi
cmp esi, ebx
mov esi, dword [esp + 4]
sbb ecx, edx
jae 0x10039e0d
mov ebx, dword [esp + 0x18]
sub ebx, dword [esp + 0xa0]
jmp 0x10039409
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0x44]
mov ecx, edx
add ecx, 0xffffffff
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x38]
mov ebx, ecx
adc ebx, 0xffffffff
mov dword [esp + 0x4c], ebx
add edx, 1
mov dword [esp + 0x5c], edx
adc ecx, 0
mov dword [esp + 0x40], ecx
xor ebx, ebx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
shld ebx, edx, cl
shl edx, cl
test cl, 0x20
cmovne ebx, edx
mov ecx, 0
cmovne edx, ecx
mov ecx, dword [esp + 4]
sub ecx, esi
mov eax, dword [esp + 8]
sbb eax, edi
mov dword [esp + 0xc], ecx
cmp ecx, edx
mov ecx, eax
sbb ecx, ebx
setb cl
mov dword [esp + 0x48], ecx
cmp esi, dword [esp + 0x34]
mov ecx, edi
sbb ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x3c], edx
jae 0x10039b86
cmp dword [esp + 0xc], edx
sbb eax, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], edi
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
jb 0x10039b9a
mov ecx, esi
mov eax, edi
mov dword [esp + 0x6c], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
adc ecx, dword [esp + 0x54]
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
sbb ecx, dword [esp + 0x4c]
jb 0x10039a86
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x4c]
sbb edx, dword [esp + 0x68]
mov ecx, dword [esp + 0xc]
sub ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
sbb eax, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x70], ecx
sbb edx, dword [esp + 0x48]
mov edx, dword [esp + 8]
jb 0x10039c55
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x64]
dec byte [ecx + eax]
mov eax, dword [esp + 4]
sub eax, dword [esp + 0xc]
sbb edx, dword [esp + 0x20]
cmp eax, dword [esp + 0x3c]
mov ecx, edx
sbb ecx, dword [esp + 0x54]
setb cl
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
sbb ecx, dword [esp + 0x4c]
jae 0x10039b92
cmp eax, dword [esp + 0x3c]
sbb edx, dword [esp + 0x54]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
jb 0x10039b9a
jmp 0x10039a22
mov dword [esp + 0x18], esi
mov edx, dword [esp + 4]
test edx, edx
je 0x10039f33
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
jle 0x10039b16
cmp esi, 2
mov eax, edi
sbb eax, 0
jae 0x10039c72
xor ebx, ebx
jmp 0x1003941e
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0x60]
mov eax, dword [esp + 0xc]
adc eax, ecx
mov ecx, dword [esp + 0x34]
cmp edx, ecx
mov edi, eax
mov ebx, dword [esp + 0x20]
sbb edi, ebx
jb 0x10039b59
mov edi, ecx
sub edi, dword [esp + 0x14]
mov esi, ebx
sbb esi, dword [esp + 0xc]
sub edx, ecx
sbb eax, ebx
cmp edx, edi
sbb eax, esi
mov edx, dword [esp + 0x2c]
jae 0x10039682
mov dword [esp + 0xc], 0
jmp 0x100396d5
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
jmp 0x100396e2
mov eax, ecx
jmp 0x100396e2
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], edi
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
sbb eax, dword [esp + 0x40]
jae 0x10039bb3
cmp byte [esp + 0x48], 0
je 0x10039bee
mov eax, ecx
add eax, 0xfffffffc
mov ecx, edx
adc ecx, 0xffffffff
xor edx, edx
inc edx
cmp edx, dword [esp + 0xc]
mov edx, 0
sbb edx, dword [esp + 0x20]
setb dl
cmp eax, dword [esp + 0xc]
sbb ecx, dword [esp + 0x20]
mov ecx, dword [esp + 4]
setae al
and al, dl
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
jmp 0x100393e2
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
adc ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x5c]
mov eax, ecx
sbb eax, dword [esp + 0x40]
jb 0x10039f5f
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
sbb eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x5c]
sbb ecx, dword [esp + 0x40]
cmp eax, dword [esp + 0x18]
sbb ecx, dword [esp + 0x34]
mov ecx, dword [esp + 4]
jae 0x10039bb3
mov dword [esp + 0xc], 0
jmp 0x100393e2
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
jmp 0x10039b96
xor ebx, ebx
mov dword [esp + 4], edx
mov eax, esi
mov ecx, 0xa
mul ecx
lea edi, [edi + edi*4]
lea esi, [edx + edi*2]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov edi, eax
mov ecx, dword [esp + 0x24]
shrd edi, esi, cl
mov eax, dword [esp + 0x28]
shr esi, cl
mov dword [esp + 0x58], eax
mov edx, 0xa
mul edx
mov dword [esp + 0x28], edx
test cl, 0x20
mov ecx, esi
cmove ecx, edi
add cl, 0x30
mov edi, dword [ebp + 8]
mov edx, ebx
mov ebx, dword [esp + 8]
mov byte [edi + ebx], cl
mov ebx, dword [esp + 4]
lea edx, [edx + edx*4]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x28]
lea ecx, [ecx + edx*2]
mov dword [esp + 4], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
inc edx
mov edi, edx
mov dword [esp + 8], edx
mov dword [ecx], edx
mov esi, dword [esp + 0x1c]
and esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
and edi, dword [esp + 0x50]
dec dword [esp + 0x18]
mov dword [esp + 0x28], eax
cmp ebx, 2
lea edx, [ebx - 1]
mov ebx, dword [esp + 4]
jb 0x10039d1e
cmp dword [esp + 0x28], esi
mov eax, ebx
sbb eax, edi
jb 0x10039c74
test edx, edx
jne 0x10039b16
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
sub eax, ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
sbb ecx, edx
cmp ebx, dword [esp + 0x30]
sbb edx, dword [esp + 0x14]
jae 0x10039b16
cmp dword [esp + 0x28], eax
mov eax, dword [esp + 4]
sbb eax, ecx
jae 0x10039b16
mov eax, dword [esp + 0x30]
sub eax, esi
mov edx, dword [esp + 0x14]
mov ecx, edx
sbb ecx, edi
cmp esi, eax
mov eax, edi
sbb eax, ecx
jae 0x10039d9d
mov eax, edi
shld eax, esi, 1
lea ecx, [esi + esi]
mov ebx, dword [esp + 0x30]
sub ebx, ecx
mov ecx, edx
sbb ecx, eax
mov edx, 0x14
mov eax, dword [esp + 0x58]
mul edx
cmp ebx, eax
mov eax, dword [esp + 0x38]
lea eax, [edx + eax*4]
sbb ecx, eax
jae 0x10039960
cmp dword [esp + 0x28], esi
mov eax, dword [esp + 4]
sbb eax, edi
jae 0x10039b16
sub esi, dword [esp + 0x28]
sbb edi, dword [esp + 4]
mov ecx, dword [esp + 0x30]
sub ecx, esi
mov eax, dword [esp + 0x14]
sbb eax, edi
cmp esi, ecx
sbb edi, eax
jb 0x10039b16
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x44]
mov al, byte [ecx + edx]
inc al
mov byte [ecx + edx], al
test edx, edx
jle 0x10039dfb
inc edx
cmp al, 0x3a
jne 0x10039dfb
mov ecx, dword [ebp + 8]
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 0x10039ddf
mov eax, dword [ebp + 8]
cmp byte [eax], 0x3a
mov ebx, dword [esp + 0x18]
jne 0x10039964
jmp 0x10039e75
cmp edi, 2
mov ecx, eax
sbb ecx, 0
mov ecx, dword [esp + 0x10]
jb 0x10039b16
add edi, 0xffffffff
adc eax, 0xffffffff
sub esi, edi
sbb ecx, eax
cmp edi, esi
sbb eax, ecx
jb 0x10039b16
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 8]
mov al, byte [edx + ecx - 1]
inc al
mov byte [edx + ecx - 1], al
cmp edx, 2
mov ebx, dword [esp + 0x18]
jl 0x10039e69
cmp al, 0x3a
jne 0x10039e69
mov ecx, dword [ebp + 8]
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 0x10039e4d
mov eax, dword [ebp + 8]
cmp byte [eax], 0x3a
jne 0x10039964
mov byte [eax], 0x31
inc ebx
jmp 0x10039964
test dword [esp + 0x2c], 0x7fe00000
je 0x100390b7
mov edx, dword [esp + 4]
add edx, 0xfffffffe
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
shld esi, eax, 2
shl eax, 2
jmp 0x100390b7
mov dword [esp + 0x18], 0xfffffbce
mov edi, ecx
mov edx, dword [esp + 0x14]
mov eax, edx
shld eax, edi, 1
add edi, edi
dec dword [esp + 0x18]
bt edx, 0x13
mov edx, eax
jb 0x10039025
jmp 0x10039eb7
cvtsd2ss xmm0, xmm0
lea ecx, [esp + 0x90]
movss dword [ecx], xmm0
lea edi, [esp + 0xa0]
lea esi, [esp + 0xb0]
mov edx, esi
push edi
call fcn.10085530
add esp, 4
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp + 0x28], eax
mov ebx, dword [edi + 4]
jmp 0x100390d9
mov esi, dword [esp + 0x28]
mov edi, ebx
shld edi, esi, 1
add esi, esi
mov dword [esp + 0x28], esi
mov esi, dword [esp + 8]
dec ecx
mov ebx, edi
test edi, edi
js 0x100390a9
jmp 0x10039f12
mov esi, dword [esp + 0x18]
jmp 0x100398cc
call fcn.100844a0
mov esi, 0xfffffbce
mov ebx, ecx
mov edi, eax
shld edi, ebx, 1
add ebx, ebx
dec esi
bt eax, 0x13
mov eax, edi
jb 0x10039741
jmp 0x10039f4a
mov dword [esp + 0xc], 0
jmp 0x100393de