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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov esi, eax
mov edi, eax
mov ebx, eax
shr esi, 0x17
shr edi, 0x1f
and ebx, 0x7fffff
mov ecx, esi
mov dword [esp + 0x28], edi
movzx edx, cl
cmp edx, 0xff
je 0x40c7b0
mov edi, ebx
or edi, edx
jne 0x40c6f0
cmp byte [esp + 0x28], 0
mov eax, dword [esp + 0x10]
jne 0x40ca00
mov dword [eax], str.0e00
mov dword [eax + 4], 5
mov dword [eax + 8], 1
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [edx - 0x7f]
cmp edi, 0x17
ja 0x40cac0
mov ecx, 0x17
sub ecx, edi
mov edi, ebx
or edi, 0x800000
mov ebp, edi
mov dword [esp + 0x18], edi
shr ebp, cl
mov edi, ebp
shl edi, cl
cmp dword [esp + 0x18], edi
je 0x40c810
and eax, 1
sub edx, 0x98
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
shl eax, 2
and esi, 0xfe
mov edi, eax
mov dword [esp + 0x2c], eax
lea eax, [eax + 2]
mov dword [esp + 0x30], eax
sete al
test ebx, ebx
setne cl
or eax, ecx
movzx eax, al
mov dword [esp + 0x60], eax
not eax
add eax, edi
mov dword [esp + 0x38], eax
imul eax, edx, 0xfff4d105
mov edi, eax
shr edi, 0x14
add edx, edi
mov dword [esp + 0x50], edi
mov eax, edx
mov dword [esp + 0x3c], edx
imul edx, edx, 0xffed6cb1
mov dword [esp + 0x6c], edi
neg eax
shr edx, 0x13
sub edx, 0x3c
sub edi, edx
mov dword [esp + 0x20], edi
cmp eax, 0x2e
jbe 0x40cb2b
mov edx, 0x2f
call sym._v_fixed_index.part.56
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x40c7d7
mov dword [eax], 0x422f5d
mov dword [eax + 4], 3
mov dword [eax + 8], 1
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [esp + 0x28], 0
je 0x40c9e0
mov dword [eax], str._inf
mov dword [eax + 4], 4
mov dword [eax + 8], 1
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebp
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
cmp ebp, eax
jne 0x40d280
xor ebx, ebx
mov ecx, 0xcccccccd
mov eax, ebp
add ebx, 1
mul ecx
mov ebp, edx
shr ebp, 3
mov eax, ebp
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
cmp ebp, eax
je 0x40c830
mov dword [esp + 0x3c], ebx
xor edx, edx
mov eax, ebp
call sym._strconv__dec_digits
mov ebx, eax
mov edi, eax
mov dword [esp + 0x18], eax
mov eax, 0
add ebx, 7
cmovs ebx, eax
test edi, edi
jg 0x40ca20
mov eax, 1
xor edx, edx
sub eax, edi
mov dword [esp + 0x2c], eax
mov eax, ebx
call sym._GC_malloc_kind_aligned_global.constprop.24
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov edi, eax
mov dword [esp], eax
call sym._memset
cmp byte [esp + 0x28], 0
jne 0x40caa8
mov eax, dword [esp + 0x18]
lea ebx, [eax - 2]
mov dword [esp + 0x14], ebx
test ebx, ebx
jle 0x40d220
mov dword [esp + 0x28], eax
xor ebx, ebx
mov dword [esp + 0x20], eax
lea esi, [edi + eax]
xor ecx, ecx
add ebx, 1
nop
mov eax, 0xcccccccd
sub esi, 1
mul ebp
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ebp, eax
lea eax, [ebp + 0x30]
mov ebp, edx
mov byte [esi + 1], al
lea eax, [ebx + ecx]
add ecx, 1
cmp dword [esp + 0x14], ecx
jg 0x40c8d0
mov esi, dword [esp + 0x28]
mov ebx, eax
sub esi, dword [esp + 0x14]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x40c921
mov byte [edi + esi], 0x2e
mov esi, dword [esp + 0x28]
mov ebx, ecx
add ecx, 1
sub esi, 1
sub esi, dword [esp + 0x14]
test esi, esi
js 0x40c945
mov eax, ebp
mov edx, 0xcccccccd
mov ebx, ecx
add ecx, 1
mul edx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ebp, eax
mov eax, ebp
add eax, 0x30
mov byte [edi + esi], al
mov esi, dword [esp + 0x2c]
test esi, esi
jle 0x40c969
lea eax, [edi + ebx]
mov dword [esp + 8], esi
add ebx, esi
mov dword [esp + 4], 0x30
mov dword [esp], eax
call sym._memset
lea ecx, [ebx + 1]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x3c]
mov byte [edi + ebx], 0x65
add ecx, edi
mov esi, eax
lea ebp, [ebx + 2]
sub esi, 1
js 0x40ce30
mov byte [ecx], 0x2b
mov eax, esi
mov edx, 0x66666667
imul edx
mov eax, esi
sar eax, 0x1f
sar edx, 2
sub edx, eax
lea eax, [edx + 0x30]
mov byte [edi + ebp], al
lea eax, [edx + edx*4]
add eax, eax
mov byte [edi + ebx + 4], 0
sub esi, eax
lea eax, [esi + 0x30]
mov esi, dword [esp + 0x10]
mov byte [edi + ebx + 3], al
lea eax, [ebx + 4]
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi + 8], 0
mov dword [esi], edi
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [eax], str.inf
mov dword [eax + 4], 4
mov dword [eax + 8], 1
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [eax], str._0e00
mov dword [eax + 4], 6
mov dword [eax + 8], 1
jmp 0x40c7cc
xor edx, edx
mov eax, ebx
call sym._GC_malloc_kind_aligned_global.constprop.24
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov edi, eax
mov dword [esp], eax
call sym._memset
cmp byte [esp + 0x28], 0
jne 0x40caa0
mov dword [esp + 0x2c], 0
mov ecx, 1
xor ebx, ebx
cmp dword [esp + 0x18], 1
jle 0x40d230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 1
mov dword [esp + 0x20], eax
cmp eax, ecx
jge 0x40d200
sub ecx, eax
xor edx, edx
mov eax, dword [ecx*4 + 0x42343c]
lea eax, [eax + eax*4]
add eax, ebp
div dword [ecx*4 + 0x423440]
mov ebp, eax
mov eax, dword [esp + 0x20]
add eax, ebx
mov dword [esp + 0x28], eax
jmp 0x40c8c6
mov dword [esp + 0x2c], 0
mov byte [edi], 0x2d
mov ecx, 2
mov ebx, 1
jmp 0x40ca55
test edx, edx
jne 0x40ce3f
and eax, 1
and esi, 0xfe
mov dword [esp + 0x20], 0x3b
mov dword [esp + 0x68], eax
sete al
test ebx, ebx
setne dl
mov dword [esp + 0x3c], 0xffffffd2
or eax, edx
mov dword [esp + 0x6c], 0x69
mov edx, 0x2e
movzx edi, al
lea eax, [ebx*4]
mov dword [esp + 0x50], 0x69
lea ebx, [eax + 2]
mov dword [esp + 0x2c], eax
sub eax, 1
mov dword [esp + 0x60], edi
sub eax, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], eax
mov eax, 0x2e
mov edi, dword [esp + 0x2c]
mov ecx, dword [eax*8 + 0x4232a0]
add edx, 0x40
xor ebx, ebx
mov ebp, dword [eax*8 + 0x4232a4]
sub edx, dword [esp + 0x6c]
mov dword [esp + 0x7c], 0
mov eax, edi
mov dword [esp + 0x48], edx
mul ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x18], ebp
mov esi, eax
mov eax, dword [esp + 0x2c]
mov edi, edx
mov ecx, edx
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x30]
mul ebp
add ecx, eax
movzx ecx, byte [esp + 0x48]
adc ebx, edx
xor edx, edx
mov eax, ebx
shld edx, ebx, cl
xor ebx, ebx
shl eax, cl
test cl, 0x20
mov ecx, dword [esp + 0x2c]
cmovne edx, eax
cmovne eax, ebx
imul ecx, ebp
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
lea eax, [ecx + edi]
movzx ecx, byte [esp + 0x20]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
add eax, dword [esp + 0x70]
xor ebx, ebx
mov ebp, eax
mov eax, esi
mul dword [esp + 0x58]
mov dword [esp + 0x30], eax
mov eax, esi
mov ecx, edx
mov dword [esp + 0x34], edx
mul edi
add eax, ecx
movzx ecx, byte [esp + 0x48]
adc edx, ebx
xor ebx, ebx
mov eax, edx
shl eax, cl
test cl, 0x20
movzx ecx, byte [esp + 0x20]
cmovne eax, ebx
imul esi, edi
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
add edi, esi
mov esi, edi
shrd ebx, edi, cl
shr esi, cl
test cl, 0x20
cmovne ebx, esi
add eax, ebx
xor ebx, ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mul dword [esp + 0x38]
mov edi, edx
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x38]
mul dword [esp + 0x18]
add ecx, eax
movzx ecx, byte [esp + 0x48]
adc ebx, edx
xor edx, edx
mov eax, ebx
shld edx, ebx, cl
xor ebx, ebx
shl eax, cl
test cl, 0x20
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], esi
cmovne edx, eax
cmovne eax, ebx
mov ebx, 0xcccccccd
imul ecx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
lea eax, [ecx + edi]
movzx ecx, byte [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
add eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mul ebx
mov eax, dword [esp + 0x50]
mov edi, edx
shr edi, 3
test eax, eax
jne 0x40d180
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x40d390
movzx eax, byte [esp + 0x60]
mov byte [esp + 0x2c], 1
mov ecx, 1
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x40]
mov edx, 0xcccccccd
mul edx
mov ebx, edx
shr ebx, 3
cmp ebx, edi
jbe 0x40d501
mov eax, ebx
mov dword [esp + 0x30], 0
mov ebx, ebp
mov esi, 0xcccccccd
mov ebp, eax
jmp 0x40cd02
mov edi, edx
cmp byte [esp + 0x38], 0
je 0x40cd20
mov eax, dword [esp + 0x20]
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
cmp dword [esp + 0x20], eax
sete byte [esp + 0x38]
cmp byte [esp + 0x18], 0
mov eax, ebx
mov dword [esp + 0x20], edi
sete cl
mul esi
and cl, byte [esp + 0x2c]
add dword [esp + 0x30], 1
mov byte [esp + 0x2c], cl
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ebx, eax
mov eax, ebp
mov byte [esp + 0x18], bl
mov ebx, edx
mul esi
mov eax, edi
mov ebp, edx
mul esi
shr ebp, 3
shr edx, 3
cmp edx, ebp
jb 0x40cd00
mov ebp, ebx
cmp byte [esp + 0x38], 0
je 0x40cdd8
mov eax, edi
mov edx, 0xcccccccd
mov ebx, 0xcccccccd
movzx esi, byte [esp + 0x2c]
mul edx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
cmp edi, eax
jne 0x40cdd8
lea esi, [esi]
cmp byte [esp + 0x18], 0
sete cl
add dword [esp + 0x30], 1
mov eax, ecx
mov ecx, ebp
and eax, esi
mov byte [esp + 0x20], al
mov esi, eax
mov eax, ebp
mul ebx
shr edx, 3
lea eax, [edx + edx*4]
mov ebp, edx
add eax, eax
sub ecx, eax
mov eax, edi
mul ebx
mov byte [esp + 0x18], cl
mov edi, edx
shr edi, 3
mov eax, edi
mul ebx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
cmp edi, eax
je 0x40cd90
mov ecx, esi
mov ebx, dword [esp + 0x30]
add dword [esp + 0x3c], ebx
cmp byte [esp + 0x18], 5
jne 0x40d260
test cl, cl
je 0x40d260
test ebp, 1
jne 0x40ce20
cmp ebp, edi
jne 0x40c850
test byte [esp + 0x38], 1
je 0x40ce20
mov eax, dword [esp + 0x68]
test eax, eax
je 0x40c850
lea esi, [esi]
lea esi, [esi]
add ebp, 1
jmp 0x40c850
mov esi, 1
mov byte [ecx], 0x2d
sub esi, eax
jmp 0x40c988
mov edi, ebx
and eax, 1
or edi, 0x800000
mov dword [esp + 0x68], eax
shl edi, 2
and esi, 0xfe
lea eax, [edi + 2]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
sete al
test ebx, ebx
setne cl
or eax, ecx
movzx eax, al
mov dword [esp + 0x60], eax
not eax
add eax, edi
mov dword [esp + 0x38], eax
sub edx, 0x98
js 0x40c761
imul eax, edx, 0x13441
mov ecx, 0x40
mov dword [esp + 0x64], 0
shr eax, 0x12
mov edi, eax
mov dword [esp + 0x3c], eax
mov esi, eax
imul eax, eax, 0x12934f
sub esi, edx
mov ebp, dword [edi*8 + 0x4231a4]
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x18], ebp
shr eax, 0x13
lea ebx, [esi + eax + 0x3b]
mov eax, dword [edi*8 + 0x4231a0]
mov esi, dword [esp + 0x2c]
sub ecx, ebx
mov dword [esp + 0x48], ebx
xor ebx, ebx
mov dword [esp + 0x50], eax
mov eax, esi
mul dword [esp + 0x50]
mov dword [esp + 0x60], esi
mov dword [esp + 0x20], ecx
mov esi, eax
mov eax, dword [esp + 0x2c]
mov edi, edx
mov ecx, edx
mul ebp
add ecx, eax
movzx ecx, byte [esp + 0x20]
adc ebx, edx
xor edx, edx
mov eax, ebx
shld edx, ebx, cl
xor ebx, ebx
shl eax, cl
test cl, 0x20
mov ecx, dword [esp + 0x2c]
cmovne edx, eax
cmovne eax, ebx
imul ecx, ebp
mov dword [esp + 0x40], eax
mov eax, esi
mov dword [esp + 0x44], edx
lea ebx, [ecx + edi]
movzx ecx, byte [esp + 0x48]
mov edx, ebx
shrd eax, ebx, cl
shr edx, cl
test cl, 0x20
movzx ecx, byte [esp + 0x20]
cmovne eax, edx
add eax, dword [esp + 0x40]
xor ebx, ebx
mov ebp, eax
mov eax, dword [esp + 0x30]
mul dword [esp + 0x50]
mov edi, edx
mov esi, eax
mov eax, dword [esp + 0x30]
mul dword [esp + 0x18]
mov dword [esp + 0x44], edi
add eax, edi
adc edx, ebx
xor ebx, ebx
mov eax, edx
shl eax, cl
test cl, 0x20
mov ecx, dword [esp + 0x18]
cmovne eax, ebx
imul ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
lea edi, [ecx + ebx]
movzx ecx, byte [esp + 0x48]
shrd esi, edi, cl
shr edi, cl
test cl, 0x20
cmovne esi, edi
mov ebx, esi
add ebx, eax
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x50]
xor ebx, ebx
mul dword [esp + 0x38]
mov esi, eax
mov edi, edx
mov ecx, edx
mov eax, dword [esp + 0x38]
mul dword [esp + 0x18]
add ecx, eax
movzx ecx, byte [esp + 0x20]
adc ebx, edx
xor edx, edx
mov eax, ebx
shld edx, ebx, cl
xor ebx, ebx
shl eax, cl
test cl, 0x20
mov ecx, dword [esp + 0x18]
cmovne edx, eax
cmovne eax, ebx
mov ebx, 0xcccccccd
imul ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, esi
mov dword [esp + 0x24], edx
add edi, ecx
movzx ecx, byte [esp + 0x48]
mov edx, edi
shrd eax, edi, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
add eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mul ebx
mov eax, dword [esp + 0x58]
shr edx, 3
mov edi, edx
test eax, eax
je 0x40d0d0
mov eax, dword [esp + 0x40]
mov byte [esp + 0x18], 0
lea edx, [eax - 1]
mov eax, edx
mul ebx
shr edx, 3
cmp edx, edi
jbe 0x40d290
cmp dword [esp + 0x58], 9
jbe 0x40d0d5
mov eax, dword [esp + 0x40]
mov edx, 0xcccccccd
mul edx
mov ecx, edx
shr ecx, 3
cmp ecx, edi
jbe 0x40d4f6
mov dword [esp + 0x20], 0
mov esi, 0xcccccccd
jmp 0x40d074
mov ebp, ebx
mov edi, edx
mov eax, ebp
add dword [esp + 0x20], 1
mul esi
mov eax, ecx
mov ebx, edx
mul esi
mov eax, edi
shr ebx, 3
mov ecx, edx
mul esi
shr ecx, 3
shr edx, 3
cmp ecx, edx
ja 0x40d070
lea eax, [ebx + ebx*4]
mov ecx, ebp
add eax, eax
sub ecx, eax
mov byte [esp + 0x18], cl
mov ecx, dword [esp + 0x20]
add dword [esp + 0x3c], ecx
cmp edi, ebx
sete al
cmp byte [esp + 0x18], 4
seta dl
or eax, edx
movzx eax, al
lea ebp, [eax + ebx]
jmp 0x40c850
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x2c]
mov esi, 0xcccccccd
mul esi
mov ebx, edx
shr ebx, 2
mov ecx, ebx
lea eax, [ebx + ebx*4]
mov ebx, dword [esp + 0x2c]
sub ebx, eax
je 0x40d150
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x40d3bc
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
mov ecx, 0xcccccccd
mul esi
mov esi, edx
shr esi, 2
lea eax, [esi + esi*4]
sub ebx, eax
jne 0x40d52c
lea esi, [esi]
mov eax, esi
add ebx, 1
mul ecx
shr edx, 2
lea eax, [edx + edx*4]
sub esi, eax
mov esi, edx
je 0x40d120
cmp ebx, dword [esp + 0x58]
mov byte [esp + 0x2c], 0
setae byte [esp + 0x38]
xor ecx, ecx
movzx eax, byte [esp + 0x38]
jmp 0x40d1eb
mov eax, ecx
add ebx, 1
mul esi
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
mov ecx, edx
je 0x40d150
cmp ebx, dword [esp + 0x58]
mov byte [esp + 0x38], 0
setae cl
mov byte [esp + 0x2c], cl
mov eax, ecx
jmp 0x40d1eb
mov eax, dword [esp + 0x40]
mov byte [esp + 0x18], 0
lea edx, [eax - 1]
mov eax, edx
mul ebx
shr edx, 3
cmp edx, edi
jbe 0x40d416
cmp dword [esp + 0x50], 1
je 0x40cca9
mov eax, dword [esp + 0x50]
cmp eax, 0x1e
ja 0x40d03a
mov ebx, dword [esp + 0x2c]
mov edx, eax
mov eax, 0x20
sub edx, 1
test ebx, ebx
je 0x40d1db
mov eax, ebx
neg eax
and eax, ebx
imul eax, eax, 0x77cb531
shr eax, 0x1b
movzx eax, byte [eax + 0x423420]
cmp edx, eax
mov byte [esp + 0x38], 0
setbe cl
mov byte [esp + 0x2c], cl
mov eax, ecx
test al, al
jne 0x40ccc8
jmp 0x40d03a
mov eax, ecx
lea ecx, [ecx - 1]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
jmp 0x40ca90
mov esi, eax
mov ecx, 1
xor ebx, ebx
jmp 0x40c921
mov eax, dword [esp + 0x18]
lea esi, [eax + ebx]
mov dword [esp + 0x28], esi
lea esi, [eax - 2]
mov dword [esp + 0x14], esi
test esi, esi
jle 0x40d401
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
jmp 0x40c8c6
cmp ebp, edi
je 0x40d370
cmp byte [esp + 0x18], 4
ja 0x40ce20
jmp 0x40c850
mov dword [esp + 0x3c], 0
jmp 0x40c850
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x70], edi
sub eax, 1
imul edx, eax, 0x12934f
mov esi, dword [eax*8 + 0x4231a4]
shr edx, 0x13
lea ecx, [ecx + edx + 0x3a]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax*8 + 0x4231a0]
imul edx, ecx
mov eax, ecx
mov dword [esp + 0x6c], ecx
mov edi, edx
mul dword [esp + 0x60]
mov dword [esp + 0x48], edi
add edx, edi
mov edi, 0x40
mov eax, edx
xor edx, edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
imul edx, esi
mov ecx, edx
mul esi
add edx, ecx
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
sub edi, dword [esp + 0x18]
mov eax, edx
xor edx, edx
mov ecx, edi
xor edi, edi
shld edx, eax, cl
shl eax, cl
test cl, 0x20
mov ecx, dword [esp + 0x48]
cmovne edx, eax
cmovne eax, edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], edx
imul esi, eax
mul dword [esp + 0x6c]
add ecx, esi
mov edi, edx
add edi, ecx
movzx ecx, byte [esp + 0x18]
mov edx, edi
shrd eax, edi, cl
shr edx, cl
test cl, 0x20
mov edi, dword [esp + 0x70]
cmovne eax, edx
add eax, dword [esp + 0x50]
mov ecx, eax
mul ebx
mov ebx, ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ebx, eax
mov byte [esp + 0x18], bl
jmp 0x40d02f
test byte [esp + 0x38], 1
je 0x40ce20
mov eax, dword [esp + 0x68]
test eax, eax
je 0x40d268
jmp 0x40ce20
mov ebx, dword [esp + 0x40]
mov edx, 0xcccccccd
sub ebx, 1
mov eax, ebx
mul edx
mov ebx, edx
shr ebx, 3
cmp ebx, edi
jbe 0x40d512
mov byte [esp + 0x2c], 1
mov byte [esp + 0x38], 0
jmp 0x40cce0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov ebx, 0xcccccccd
mul esi
mov esi, edx
shr esi, 2
lea eax, [esi + esi*4]
sub ecx, eax
jne 0x40d525
lea esi, [esi]
nop
mov eax, esi
add ecx, 1
mul ebx
shr edx, 2
lea eax, [edx + edx*4]
sub esi, eax
mov esi, edx
je 0x40d3e0
cmp ecx, dword [esp + 0x58]
adc dword [esp + 0x40], 0xffffffff
jmp 0x40d03a
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
jmp 0x40c905
mov eax, 1
sub eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x6c]
imul edx, eax, 0x12934f
add esi, 0x3c
mov dword [esp + 0x48], esi
shr edx, 0x13
lea ecx, [edx + 1]
sub esi, ecx
mov dword [esp + 0x30], esi
cmp eax, 0x2f
je 0x40c799
mov edx, dword [eax*8 + 0x4232a0]
mov esi, dword [eax*8 + 0x4232a4]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], edx
imul eax, edx
mov dword [esp + 0x18], eax
mov eax, edx
mul dword [esp + 0x78]
add edx, dword [esp + 0x18]
mov eax, edx
xor edx, edx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x78]
imul edx, esi
mov dword [esp + 0x6c], edx
mul esi
add edx, dword [esp + 0x6c]
add eax, dword [esp + 0x58]
adc edx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x48]
mov eax, edx
xor edx, edx
add ecx, 0x40
shld edx, eax, cl
shl eax, cl
test cl, 0x20
je 0x40d4ae
mov edx, eax
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
imul esi, eax
mul dword [esp + 0x38]
add ecx, esi
add edx, ecx
movzx ecx, byte [esp + 0x30]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
add eax, dword [esp + 0x48]
mov ecx, eax
mul ebx
mov ebx, ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ebx, eax
mov byte [esp + 0x18], bl
jmp 0x40d19b
mov ebx, ebp
mov edi, dword [esp + 0x20]
jmp 0x40d0ab
mov edi, dword [esp + 0x20]
mov dword [esp + 0x30], 0
jmp 0x40cd63
mov edi, dword [esp + 0x20]
mov ecx, 1
mov byte [esp + 0x38], 0
jmp 0x40cde0
xor ecx, ecx
jmp 0x40d3f3
xor ebx, ebx
jmp 0x40d133