Function at 0x1003e3a0
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 [0x100a400c]
xor eax, ebp
mov dword [esp + 0xc0], eax
cmp ecx, 2
jae 0x1003eaf3
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 + 0x1c], 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], edx
mov esi, eax
mov dword [esp + 0x30], ebx
cmove esi, ebx
je 0x1003f2b4
mov dword [esp + 0x24], ecx
shld eax, edi, 0xb
mov dword [esp + 0x10], eax
shl edi, 0xb
mov dword [esp + 0x14], 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 0x1003f2dc
mov eax, dword [esp + 4]
lea edx, [eax - 1]
mov dword [esp + 0x20], esi
mov edi, esi
mov ecx, dword [esp]
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 0x1003e491
mov dword [esp + 0x28], esi
test edi, edi
jns 0x1003f31e
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x30]
or dword [esp + 0x24], edi
je 0x1003f28c
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], 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.100069c0
add esp, 0x10
mov esi, dword [esi + 4]
mov dword [esp + 0x58], esi
mov eax, esi
mov edi, dword [esp + 0x10]
mul edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x14]
and ecx, 0xfffff800
mov eax, esi
mul ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
lea eax, [esp + 0x90]
mov esi, dword [eax]
mov eax, esi
mov dword [esp + 4], esi
mul edi
mov dword [esp + 0x4c], edx
mov edi, eax
mov eax, esi
mul ecx
xor eax, eax
add edx, edi
setb al
add edx, dword [esp + 0x24]
mov dword [esp + 0x68], edx
mov ecx, 0
adc eax, ecx
mov dword [esp + 0xc], eax
mov edi, dword [esp + 8]
mov eax, edi
mov esi, dword [esp + 0x58]
mul esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], eax
mov ecx, dword [esp]
mov eax, ecx
mul esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], eax
mov eax, edi
mov edi, dword [esp + 4]
mul edi
mov dword [esp + 0x3c], 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 + 0x3c]
setb cl
add edx, dword [esp + 0x34]
mov dword [esp], edx
mov eax, 0
adc ecx, eax
mov dword [esp + 0x34], ecx
mov eax, ebx
mul esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0x28]
mov eax, edi
mul esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 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 + 0x5c]
mov eax, 0
adc ecx, eax
mov edi, esi
add edi, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
adc esi, eax
add edi, dword [esp + 0x58]
adc esi, eax
mov ebx, 0x80000000
add edx, ebx
adc edi, ecx
adc esi, eax
add edi, 1
mov edx, edi
mov dword [esp + 0x50], edi
adc esi, eax
mov ebx, esi
mov edi, dword [esp + 8]
add edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
adc ecx, eax
add edi, dword [esp + 0x24]
adc ecx, eax
mov esi, 0x80000000
add dword [esp], esi
adc edi, dword [esp + 0x34]
mov esi, edi
adc ecx, eax
xor eax, eax
mov edi, edx
sub edi, esi
mov edx, ebx
mov dword [esp + 0x3c], ebx
sbb edx, ecx
add edi, 1
adc edx, eax
mov dword [esp + 4], edx
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 + 0x50]
shrd esi, ebx, cl
mov ebx, dword [esp + 0x3c]
shr ebx, cl
mov dword [esp + 0x30], ecx
test cl, 0x20
cmove ebx, esi
cmovne eax, edx
mov ecx, 0
cmovne edx, ecx
mov dword [esp + 0x6c], edx
add edx, 0xffffffff
mov dword [esp + 0x5c], eax
adc eax, 0xffffffff
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
and esi, eax
mov dword [esp], esi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], edx
and eax, edx
mov dword [esp + 8], eax
imul edx, dword [esp + 0x18], 0x4d1
add edx, 0x23856
sar edx, 0xc
mov dword [esp + 0x24], ebx
cmp dword [edx*4 + 0x100949e8], ebx
lea ebx, [edx + 1]
cmova ebx, edx
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
add ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, 0
adc eax, esi
add ecx, dword [esp + 0x14]
adc eax, esi
mov esi, 0x80000000
add dword [esp + 0x68], esi
adc ecx, dword [esp + 0xc]
mov esi, 0
adc eax, esi
sub dword [esp + 0x50], ecx
sbb dword [esp + 0x3c], eax
mov ecx, dword [ebx*4 + 0x100949e4]
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, ebx
sar eax, 0x1f
and eax, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
test ebx, ebx
jle 0x1003e84c
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
mov esi, ecx
xor edx, edx
mov dword [esp + 0x18], ecx
div ecx
add al, 0x30
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebx]
mov ecx, dword [ebp + 8]
mov byte [ecx + esi], al
xor esi, esi
mov edi, edx
mov ecx, dword [esp + 0x30]
shld esi, edx, cl
mov eax, dword [ebx]
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
mov dword [esp + 0x24], edi
shl edi, cl
mov ebx, dword [esp + 4]
test cl, 0x20
cmovne esi, edi
mov eax, 0
cmovne edi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
add edi, dword [esp + 8]
adc esi, dword [esp]
mov dword [esp + 0x20], edi
cmp edi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
sbb esi, ebx
jb 0x1003ed6c
mov ecx, ebx
mov eax, dword [esp + 0x18]
mov edx, 0xcccccccd
mul edx
shr edx, 3
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x14]
mov edx, ecx
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
dec ebx
mov eax, dword [esp + 0x10]
cmp edi, eax
mov edi, eax
sbb ecx, edx
mov ecx, dword [esp + 0x18]
jae 0x1003e763
test byte [esp + 0xc], 1
je 0x1003ef07
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.1004f020
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 8]
mov ecx, 0xa
mul ecx
mov esi, dword [esp]
lea esi, [esi + esi*4]
lea ebx, [edx + esi*2]
mov dword [esp + 8], eax
mov esi, edi
mov edi, eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ebx
shrd edi, ebx, cl
mov eax, dword [esp + 0x28]
shr ebx, cl
mov dword [esp + 0x24], eax
mov edx, 0xa
mul edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
mov eax, esi
mov edx, 0xa
mul edx
test cl, 0x20
cmove ebx, edi
add bl, 0x30
mov esi, dword [ebp + 0xc]
mov edi, dword [esi]
mov esi, dword [ebp + 8]
mov byte [esi + edi], bl
mov ecx, dword [esp + 4]
lea edi, [ecx + ecx*4]
lea esi, [edx + edi*2]
mov edx, dword [esp]
and edx, dword [esp + 0x58]
mov edi, dword [esp + 8]
and edi, dword [esp + 0x34]
mov dword [esp + 8], edi
mov ecx, eax
cmp edi, eax
mov eax, edx
mov dword [esp + 4], esi
sbb eax, esi
mov edi, dword [ebp + 0xc]
mov esi, dword [edi]
lea eax, [esi + 1]
mov dword [edi], eax
mov edi, dword [esp + 0x18]
lea ebx, [edi + edi*4]
mov eax, dword [esp + 0x10]
lea eax, [eax + ebx*2]
mov dword [esp + 0x18], eax
mov eax, edx
mov dword [esp], edx
mov eax, dword [esp + 8]
jb 0x1003e928
mov ebx, dword [esp + 0x14]
dec ebx
cmp eax, ecx
mov eax, edx
mov edx, dword [esp + 4]
sbb eax, edx
mov edi, ecx
jae 0x1003e858
jmp 0x1003e80d
mov dword [esp + 0x54], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x68], edi
mov ebx, dword [esp + 0x28]
mov eax, ebx
mul dword [esp + 0x50]
mov dword [esp + 0x10], edx
mov edi, ebx
imul edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov edx, esi
imul edx, dword [esp + 0x50]
add edx, dword [esp + 0x10]
add edx, edi
mov edi, eax
sub edi, ebx
mov dword [esp + 0x4c], edi
mov edi, edx
sbb edi, esi
add eax, ebx
mov dword [esp + 0xc], eax
adc edx, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 8]
mov esi, edx
sub ecx, edx
mov edx, dword [esp + 4]
sbb edx, dword [esp]
cmp ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x5c]
sbb edx, eax
setb dl
mov dword [esp + 0x38], edx
jb 0x1003ea70
cmp esi, dword [esp + 0x4c]
mov ecx, dword [esp]
mov eax, ecx
sbb eax, edi
mov eax, ecx
mov edx, dword [esp + 0x20]
jae 0x1003ea77
mov esi, dword [esp + 8]
mov eax, dword [esp]
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], eax
add esi, dword [esp + 0x6c]
adc eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
cmp esi, ecx
mov ebx, esi
mov esi, eax
sbb eax, edi
jb 0x1003ea04
mov eax, ecx
sub eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov edx, edi
sbb edx, dword [esp + 0x48]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x1c], ebx
mov ebx, esi
sbb ebx, edi
cmp dword [esp + 0x38], eax
sbb edx, ebx
mov ebx, dword [esp + 0x1c]
jb 0x1003ef5f
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x54]
dec byte [eax + edx]
mov eax, dword [esp + 0x10]
sub eax, ebx
mov edx, dword [esp + 4]
sbb edx, esi
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
cmp eax, ecx
mov eax, edx
mov edi, ebx
mov dword [esp + 0x44], esi
mov ebx, dword [esp + 0x5c]
sbb eax, ebx
setb al
mov dword [esp + 0x38], eax
mov esi, edi
cmp edi, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
sbb eax, edi
jae 0x1003ef74
cmp dword [esp + 0x40], ecx
sbb edx, ebx
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x20]
jb 0x1003ea77
jmp 0x1003e9c2
mov eax, dword [esp]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
mov edi, ebx
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov ebx, eax
sbb eax, edx
mov ecx, dword [esp + 0x24]
jae 0x1003ea98
cmp byte [esp + 0x38], 0
je 0x1003ef0e
mov eax, ecx
mov edx, 0x14
mul edx
mov esi, dword [esp + 0x2c]
lea edx, [edx + esi*4]
mov edi, dword [esp + 0x1c]
cmp edi, eax
mov eax, ebx
sbb eax, edx
setae byte [esp + 0x20]
mov eax, ecx
mov edx, 0xffffffd8
mul edx
sub edx, ecx
mov esi, dword [esp + 0x68]
shl esi, 3
lea esi, [esi + esi*4]
sub edx, esi
mov ecx, dword [esp + 0x10]
add eax, ecx
adc edx, dword [esp + 4]
cmp eax, edi
sbb edx, ebx
setae al
and al, byte [esp + 0x20]
mov dword [esp + 0xc], eax
mov edx, dword [esp]
mov eax, dword [esp + 8]
jmp 0x1003e90c
jne 0x1003f33f
movsd qword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
mov eax, esi
and eax, 0xfffff
mov edi, ecx
add edi, 0xffffffff
mov ebx, eax
adc ebx, 0xfffff
add edi, 1
adc ebx, 0
test esi, 0x7ff00000
mov dword [esp + 4], edx
je 0x1003f344
shr esi, 0x14
and esi, 0x7ff
add esi, 0xfffffbcd
mov dword [esp + 8], esi
shld ebx, edi, 0xb
mov dword [esp + 0x10], ebx
shl edi, 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.100069c0
add esp, 0x10
mov ecx, esi
mov esi, dword [esi + 4]
mov eax, esi
mul ebx
mov ebx, edx
mov dword [esp], eax
mov eax, esi
mul edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, ecx
mov ecx, dword [ecx]
mov eax, ecx
mul dword [esp + 0x10]
mov esi, edi
mov edi, edx
mov dword [esp + 0x10], eax
mov eax, ecx
mul esi
xor eax, eax
add edx, dword [esp + 0x10]
setb al
add edx, dword [esp + 0x14]
mov ecx, 0
adc eax, ecx
mov esi, dword [esp + 8]
lea ecx, [esp + 0xb0]
add esi, dword [ecx + 8]
mov dword [esp + 8], esi
add edi, dword [esp]
mov ecx, 0
adc ebx, ecx
add edi, dword [esp + 0x18]
adc ebx, ecx
xor ecx, ecx
add edx, 0x80000000
adc edi, eax
adc ebx, ecx
mov ecx, 0xffffffcb
sub ecx, esi
xor eax, eax
inc eax
xor edx, edx
shld edx, eax, cl
mov dword [esp + 0x28], eax
shl eax, cl
mov esi, edi
shrd esi, ebx, cl
mov dword [esp], esi
mov esi, ebx
shr esi, cl
mov dword [esp + 0x10], ecx
test cl, 0x20
cmove esi, dword [esp]
cmovne edx, eax
mov ecx, 0
cmovne eax, ecx
mov dword [esp + 0x30], eax
add eax, 0xffffffff
mov dword [esp + 0x24], edx
adc edx, 0xffffffff
mov dword [esp + 0x20], edx
and ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
and edi, eax
mov dword [esp], edi
imul eax, dword [esp + 8], 0x4d1
add eax, 0x23856
sar eax, 0xc
cmp dword [eax*4 + 0x100949e8], esi
lea edi, [eax + 1]
cmova edi, eax
mov edx, dword [edi*4 + 0x100949e4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0
mov dword [eax], ecx
mov ecx, edx
test edi, edi
jle 0x1003eee0
mov eax, esi
xor edx, edx
div ecx
add al, 0x30
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 8]
mov byte [esi + ebx], al
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
inc ebx
mov esi, ebx
mov dword [esp + 8], ebx
mov dword [eax], ebx
mov ebx, ecx
mov esi, edx
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
dec edi
shr edx, 3
dec dword [esp + 4]
jne 0x1003ec8e
mov dword [esp + 0x14], edi
mov edx, ebx
mov ecx, dword [esp + 0x10]
shl edx, cl
xor eax, eax
test cl, 0x20
mov edi, edx
cmovne edi, eax
mov dword [esp + 4], edi
xor edi, edi
shld edi, ebx, cl
test cl, 0x20
cmovne edi, edx
mov edx, esi
shl edx, cl
test cl, 0x20
mov ebx, edx
cmovne ebx, eax
shld eax, esi, cl
test cl, 0x20
cmovne eax, edx
add ebx, dword [esp]
adc eax, dword [esp + 0x18]
mov ecx, dword [esp + 4]
mov esi, ecx
cmp ecx, 3
mov ecx, edi
sbb ecx, 0
jb 0x1003ef07
mov ecx, esi
sub ecx, ebx
mov dword [esp], edi
sbb edi, eax
cmp ebx, ecx
mov ecx, eax
sbb ecx, edi
jae 0x1003f21c
mov ecx, eax
shld ecx, ebx, 1
lea edx, [ebx + ebx]
sub esi, edx
mov edx, dword [esp]
sbb edx, ecx
xor ecx, ecx
xor edi, edi
inc edi
cmp edi, esi
mov esi, dword [esp + 4]
sbb ecx, edx
jae 0x1003f21c
mov ebx, dword [esp + 0x14]
sub ebx, dword [esp + 0xa0]
jmp 0x1003e81f
mov edx, dword [esp + 0x50]
mov eax, edx
add eax, 0xffffffff
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x3c]
mov eax, ecx
adc eax, 0xffffffff
mov dword [esp + 0x54], eax
add edx, 1
mov dword [esp + 0x44], edx
adc ecx, 0
mov dword [esp + 0x40], ecx
xor esi, esi
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
shld esi, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne esi, ebx
mov eax, 0
cmovne ebx, eax
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
sub edx, edi
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
sbb eax, ecx
mov dword [esp + 0xc], edx
cmp edx, ebx
mov edx, eax
sbb edx, esi
setb dl
mov dword [esp + 0x48], edx
cmp edi, dword [esp + 0x38]
mov edx, ecx
sbb edx, dword [esp + 0x54]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
jae 0x1003ef81
cmp dword [esp + 0xc], ebx
sbb eax, esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x14]
jb 0x1003ef8d
mov eax, edi
mov esi, ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xc]
add edx, dword [esp + 0x70]
mov eax, dword [esp + 0x2c]
adc eax, dword [esp + 0x74]
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov edx, eax
sbb edx, dword [esp + 0x54]
jb 0x1003ee6e
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x64]
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x54]
sbb eax, dword [esp + 0x60]
mov edx, dword [esp + 0xc]
sub edx, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
sbb esi, dword [esp + 0x54]
cmp dword [esp + 0x48], edx
sbb eax, esi
jb 0x1003f050
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x4c]
dec byte [ecx + eax]
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x2c]
sbb edx, esi
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], ecx
cmp ecx, eax
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0x74]
sbb edx, ecx
setb dl
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0xc]
cmp edx, dword [esp + 0x38]
mov edx, esi
sbb edx, dword [esp + 0x54]
jae 0x1003f213
cmp dword [esp + 0x60], eax
sbb dword [esp + 0x64], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
jb 0x1003ef8d
jmp 0x1003ee1a
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x1003f362
mov esi, dword [esp + 0x18]
mov edx, dword [esp]
jle 0x1003ef07
cmp edx, 2
mov eax, esi
sbb eax, 0
jae 0x1003f06d
xor ebx, ebx
jmp 0x1003e834
mov ecx, edx
mov edx, dword [esp + 0x1c]
add edx, dword [esp + 0x6c]
mov eax, ebx
mov dword [esp + 0x44], ebx
adc eax, dword [esp + 0x5c]
mov esi, edi
cmp edx, edi
mov edi, eax
sbb edi, ecx
jb 0x1003ef4e
mov edi, esi
sub edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sbb ecx, dword [esp + 0x44]
sub edx, esi
sbb eax, dword [esp + 0x20]
cmp edx, edi
sbb eax, ecx
mov ecx, dword [esp + 0x24]
jae 0x1003ea98
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x10]
jmp 0x1003eae7
mov dword [esp + 0x38], 0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
jmp 0x1003ea73
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
jmp 0x1003ea77
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
sbb eax, dword [esp + 0x40]
jae 0x1003efa6
cmp byte [esp + 0x48], 0
je 0x1003efe9
mov esi, dword [esp + 0x10]
add esi, 0xfffffffc
mov edx, dword [esp + 4]
adc edx, 0xffffffff
xor eax, eax
inc eax
cmp eax, dword [esp + 0xc]
mov eax, 0
mov ecx, dword [esp + 0x2c]
sbb eax, ecx
setb byte [esp + 0x14]
cmp esi, dword [esp + 0xc]
sbb edx, ecx
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
setae al
and al, byte [esp + 0x14]
mov dword [esp + 0xc], eax
jmp 0x1003e7f8
mov esi, dword [esp + 0x70]
add esi, dword [esp + 0xc]
mov edx, dword [esp + 0x74]
adc edx, dword [esp + 0x2c]
cmp esi, dword [esp + 0x44]
mov eax, edx
sbb eax, dword [esp + 0x40]
jb 0x1003f36d
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
sbb eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
sub esi, dword [esp + 0x44]
sbb edx, dword [esp + 0x40]
cmp esi, dword [esp + 0x4c]
sbb edx, dword [esp + 0x14]
mov edx, dword [esp + 4]
jae 0x1003efa6
mov dword [esp + 0xc], 0
jmp 0x1003e7f8
mov dword [esp + 0x48], 0
mov edx, dword [esp + 0x64]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
jmp 0x1003ef8d
mov dword [esp + 0x34], 0
mov eax, edx
mov ecx, 0xa
mul ecx
lea esi, [esi + esi*4]
lea esi, [edx + esi*2]
mov dword [esp + 0x18], esi
mov edi, eax
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
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 + 4], edx
test cl, 0x20
mov ecx, esi
cmove ecx, edi
add cl, 0x30
mov esi, dword [ebp + 8]
mov edx, ebx
mov ebx, dword [esp + 8]
mov byte [esi + ebx], cl
mov ebx, edx
mov edx, dword [esp + 0x34]
lea edx, [edx + edx*4]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 4]
lea edx, [ecx + edx*2]
mov dword [esp + 0x34], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 4], edx
inc edx
mov esi, edx
mov dword [esp + 8], edx
mov esi, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [esp]
and edx, dword [esp + 0x1c]
and esi, dword [esp + 0x20]
dec dword [esp + 0x14]
mov dword [esp + 0x28], eax
cmp ebx, 2
lea ebx, [ebx - 1]
jb 0x1003f119
cmp dword [esp + 0x28], edx
mov eax, dword [esp + 0x34]
sbb eax, esi
jb 0x1003f075
test ebx, ebx
jne 0x1003ef07
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
sbb ecx, ebx
mov edi, dword [esp + 0x28]
cmp edi, dword [esp + 0x30]
mov dword [esp], edx
sbb ebx, dword [esp + 0x24]
mov edx, dword [esp]
jae 0x1003ef07
cmp dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
sbb eax, ecx
jae 0x1003ef07
mov eax, dword [esp + 0x30]
sub eax, edx
mov ecx, dword [esp + 0x24]
sbb ecx, esi
cmp edx, eax
mov eax, esi
sbb eax, ecx
jae 0x1003f1a3
mov eax, esi
shld eax, edx, 1
lea ecx, [edx + edx]
mov ebx, dword [esp + 0x30]
sub ebx, ecx
mov ecx, dword [esp + 0x24]
sbb ecx, eax
mov edx, 0x14
mov eax, dword [esp + 0x58]
mul edx
cmp ebx, eax
mov eax, dword [esp + 0x3c]
lea eax, [edx + eax*4]
mov edx, dword [esp]
sbb ecx, eax
jae 0x1003ed5c
cmp dword [esp + 0x28], edx
mov eax, dword [esp + 0x34]
sbb eax, esi
jae 0x1003ef07
sub edx, dword [esp + 0x28]
sbb esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
sub ecx, edx
mov eax, dword [esp + 0x24]
sbb eax, esi
cmp edx, ecx
sbb esi, eax
jb 0x1003ef07
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 4]
mov al, byte [ecx + edx]
inc al
mov byte [ecx + edx], al
test edx, edx
jle 0x1003f201
inc edx
cmp al, 0x3a
jne 0x1003f201
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 0x1003f1e5
mov eax, dword [ebp + 8]
cmp byte [eax], 0x3a
mov ebx, dword [esp + 0x14]
jne 0x1003ed60
jmp 0x1003f283
mov ecx, dword [esp + 0x1c]
jmp 0x1003ef8d
cmp ebx, 2
mov ecx, eax
sbb ecx, 0
mov ecx, dword [esp]
jb 0x1003ef07
add ebx, 0xffffffff
adc eax, 0xffffffff
sub esi, ebx
sbb ecx, eax
cmp ebx, esi
sbb eax, ecx
jb 0x1003ef07
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 + 0x14]
jl 0x1003f277
cmp al, 0x3a
jne 0x1003f277
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 0x1003f25b
mov eax, dword [ebp + 8]
cmp byte [eax], 0x3a
jne 0x1003ed60
mov byte [eax], 0x31
inc ebx
jmp 0x1003ed60
test dword [esp + 0x1c], 0x7fe00000
je 0x1003e4c5
mov edx, dword [esp + 4]
add edx, 0xfffffffe
mov esi, dword [esp + 0x20]
mov eax, dword [esp]
shld esi, eax, 2
shl eax, 2
jmp 0x1003e4c5
mov dword [esp + 0x18], 0xfffffbce
mov edi, ecx
mov edx, dword [esp + 0x30]
mov eax, edx
shld eax, edi, 1
add edi, edi
dec dword [esp + 0x18]
bt edx, 0x13
mov edx, eax
jb 0x1003e434
jmp 0x1003f2c4
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.1008fd50
add esp, 4
mov eax, dword [esi]
mov dword [esp], 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 0x1003e4e6
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 0x1003e4b7
jmp 0x1003f31e
call fcn.1008ecc0
mov esi, 0xfffffbce
mov edi, ecx
mov ebx, eax
shld ebx, edi, 1
add edi, edi
dec esi
bt eax, 0x13
mov eax, ebx
jb 0x1003eb49
jmp 0x1003f34d
mov edi, dword [esp + 0x14]
mov ebx, ecx
jmp 0x1003eccf
mov dword [esp + 0xc], 0
mov edx, dword [esp + 4]
jmp 0x1003e7f8