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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x7a8
mov dword [esp + 4], edx
mov dword [esp + 0x38], ecx
movsd qword [esp + 0x68], xmm0
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov ebx, edx
mov edi, edx
mov esi, edx
lea eax, [ecx + ecx]
mov dword [esp + 0x14], edx
shr ebx, 0x14
shld edi, ecx, 1
and esi, 0xfffff
and ebx, 0x7ff
and edi, 0x1fffff
test ebx, ebx
mov dword [esp + 0x18], ebx
lea ebx, [esi + 0x100000]
cmove ebx, edi
cmovne eax, ecx
ucomisd xmm0, xmm0
jp 0x40d632
mov edi, edx
and edi, 0x7ff00000
or ecx, esi
je 0x40c46c
test edi, edi
jne 0x40c47c
mov edx, dword [esp + 0x18]
mov dword [esp + 8], ebx
add edx, 0xfffffbcd
test al, 1
sete cl
jmp 0x40c4bf
cmp edi, 0x7ff00000
je 0x40c4bd
test edi, edi
jne 0x40c47c
mov cl, 4
jmp 0x40c4bf
test al, 1
mov edi, ebx
mov edx, eax
sete cl
xor edi, 0x100000
shld ebx, eax, 1
xor esi, esi
xor eax, eax
or edi, edx
mov edi, 0x400000
cmove ebx, edi
sete al
mov dword [esp + 8], ebx
lea ebx, [edx + edx]
mov edx, dword [esp + 0x18]
cmovne esi, ebx
movzx edx, dx
sub edx, eax
mov eax, esi
add edx, 0xfffffbcc
jmp 0x40c4bf
mov cl, 3
add cl, 0xfe
movzx esi, cl
cmp cl, 3
mov ecx, 3
cmovb ecx, esi
test cl, cl
je 0x40c560
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov esi, 0x45cd4a
mov edi, 0x4945c8
mov dword [esp + 0x18], edx
mov edx, 1
mov ebx, eax
shr ebx, 0x1f
cmp byte [esp + 4], 0
cmovne edi, esi
mov esi, ebx
mov ebx, 0x47176c
cmovne esi, edx
test eax, eax
cmovns ebx, edi
cmp cl, 1
mov edi, ebx
je 0x40c58c
mov edx, dword [ebp + 8]
movzx eax, cl
cmp eax, 2
jne 0x40c5a8
mov ecx, dword [esp + 0x38]
test edx, edx
mov word [esp + 0x70], 2
je 0x40c7ea
mov dword [esp + 0x74], str.0.NaNinfassertion_failed:_buf.len_____maxlen
mov dword [esp + 0x78], 2
mov word [esp + 0x7c], 0
mov dword [esp + 0x80], edx
mov edx, 2
jmp 0x40c7ff
mov word [esp + 0x70], 2
mov dword [esp + 0x74], 0x45cd4b
mov dword [esp + 0x78], 3
mov edx, 1
lea eax, [esp + 0x70]
xor esi, esi
mov edi, 0x4945c8
jmp 0x40d5b8
mov word [esp + 0x70], 2
mov dword [esp + 0x74], 0x45cd4e
mov dword [esp + 0x78], 3
jmp 0x40ce90
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffff4
mov ebx, 5
test cx, cx
cmovs ebx, eax
movsx eax, cx
imul ebx, eax
mov dword [esp + 0x5c], eax
cmp ebx, 0x3ec0
mov dword [esp + 0x24], ebx
jae 0x40d640
mov eax, edx
mov ebx, dword [esp + 8]
mov ecx, 0x8000
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], esi
neg eax
cmp edx, 0x8000
mov edx, dword [esp + 0x2c]
cmovb ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, edx
or eax, ebx
je 0x40d654
mov eax, dword [esp + 0x18]
shr dword [esp + 0x24], 4
test ebx, ebx
mov esi, edx
cmove esi, ebx
cmove ebx, edx
mov edx, esi
lea ecx, [eax - 0x20]
cmovne ecx, eax
mov eax, ebx
shl edx, 0x10
shld eax, esi, 0x10
test ebx, 0xffff0000
lea edi, [ecx - 0x10]
cmovne edx, esi
cmovne eax, ebx
cmovne edi, ecx
mov ecx, eax
mov esi, edx
lea ebx, [edi - 8]
shld ecx, edx, 8
shl esi, 8
test eax, 0xff000000
cmovne esi, edx
cmovne ecx, eax
cmovne ebx, edi
mov eax, ecx
mov edx, esi
shld eax, esi, 4
shl edx, 4
test ecx, 0xf0000000
cmovne eax, ecx
cmovne edx, esi
lea esi, [ebx - 4]
mov edi, eax
cmovne esi, ebx
lea ecx, [edx*4]
shld edi, edx, 2
test eax, 0xc0000000
lea ebx, [esi - 2]
cmovne ecx, edx
cmovne edi, eax
cmovne ebx, esi
mov eax, 0xffffffa0
mov edx, 0x7b4dc993
mov dword [esp + 4], ecx
xor ecx, ecx
test edi, edi
setns cl
sub ebx, ecx
sub eax, ebx
mov dword [esp + 0x28], ebx
cwde
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x153b0
mul edx
mov eax, dword [esp + 4]
mov esi, edx
shr esi, 6
and esi, 0xfffffff0
mov edx, eax
shl edx, cl
shld edi, eax, cl
mov ecx, dword [esi + 0x45c6cc]
mov dword [esp + 0xc], edx
mov eax, ecx
mul edi
mov dword [esp + 0x34], eax
mov eax, ecx
mov ebx, edx
mov ecx, dword [esi + 0x45c6c8]
mul dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov eax, ecx
mov dword [esp + 0x10], edx
mul edi
mov edi, eax
mov eax, ecx
mov dword [esp + 4], edx
mul dword [esp + 0xc]
mov ecx, dword [esp + 4]
xor eax, eax
add edx, edi
mov edi, 1
setb al
add edx, dword [esp + 0x30]
adc eax, 0
add ecx, dword [esp + 0x34]
mov dword [esp + 0x34], esi
adc ebx, 0
add ecx, dword [esp + 0x10]
adc ebx, 0
add edx, 0x80000000
adc ecx, eax
mov eax, 0xffffffc0
mov edx, ecx
mov dword [esp + 4], ecx
movzx ecx, word [esi + 0x45c6d0]
adc ebx, 0
mov esi, ebx
mov dword [esp + 0x3c], ebx
add cx, word [esp + 0x28]
sub eax, ecx
mov ecx, eax
mov dword [esp + 0x4c], eax
mov eax, edx
xor edx, edx
and ecx, 0x3f
shld edx, edi, cl
shrd eax, ebx, cl
shr esi, cl
shl edi, cl
test cl, 0x20
mov dword [esp + 0x30], ecx
mov ecx, 0
cmovne edx, edi
cmovne edi, ecx
cmove esi, eax
mov ecx, edi
mov dword [esp + 0x48], edx
add ecx, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
and ebx, edx
mov edx, dword [esp + 4]
and edx, ecx
mov ecx, edx
or ecx, ebx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x15]
mov dword [esp + 0x10], ecx
je 0x40c808
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], edx
cmp esi, 0x2710
mov dword [esp + 0x44], edi
mov dword [esp + 0xc], ebx
movzx edx, word [ecx + 0x45c6d2]
jae 0x40c81d
cmp esi, 0x64
jae 0x40c840
xor ecx, ecx
cmp esi, 0xa
setae cl
lea ebx, [ecx + ecx*8 + 1]
jmp 0x40c897
mov dword [esp + 0x74], 0x46dc7a
mov dword [esp + 0x78], 1
mov edx, 1
lea eax, [esp + 0x70]
jmp 0x40d5bc
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], 0
jmp 0x40cb78
cmp esi, 0xf4240
jae 0x40c85b
cmp esi, 0x186a0
mov edi, 0x2710
mov ebx, 0x186a0
setb cl
cmovb ebx, edi
xor cl, 5
jmp 0x40c897
cmp esi, 0x3e8
mov edi, 0x64
mov ebx, 0x3e8
setb cl
cmovb ebx, edi
xor cl, 3
jmp 0x40c897
cmp esi, 0x5f5e100
jae 0x40c87e
cmp esi, 0x989680
mov edi, 0xf4240
mov ebx, 0x989680
setb cl
cmovb ebx, edi
xor cl, 7
jmp 0x40c897
cmp esi, 0x3b9aca00
mov edi, 0x5f5e100
mov ebx, 0x3b9aca00
setb cl
cmovb ebx, edi
xor cl, 9
movzx ecx, cl
mov edi, dword [esp + 0x1c]
mov eax, ecx
sub eax, edx
inc eax
cmp ax, di
mov dword [esp + 0x40], eax
jle 0x40c92f
movzx edx, word [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov edx, eax
movsx eax, dx
sub edx, edi
movsx edi, di
sub eax, edi
mov edi, dword [esp + 0x10]
cmp eax, edi
movsx eax, dx
cmovae eax, edi
neg ecx
mov edi, 1
mov dword [esp + 4], eax
nop dword [eax]
mov eax, esi
xor edx, edx
div ebx
add al, 0x30
cmp dword [esp + 4], edi
mov esi, edx
mov byte [esp + edi + 0x3a3], al
je 0x40c9b6
lea eax, [ecx + edi]
cmp eax, 1
je 0x40ca13
mov eax, ebx
mov edx, 0xcccccccd
inc edi
mul edx
shr edx, 3
cmp ebx, 0xa
mov ebx, edx
jae 0x40c8e0
mov ecx, str.attempt_to_divide_by_zero
mov edx, 0x19
push 0x45cc94
call fcn.004587c0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 4]
mov edx, 0xcccccccd
shrd edi, esi, 1
shr esi, 1
mov ecx, edi
add ecx, esi
adc ecx, 0
mov eax, ecx
mul edx
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
sub edi, ecx
mov ecx, 0xcccccccd
mov eax, edi
sbb esi, 0
mul ecx
imul ecx, edi, 0xcccccccc
imul esi, esi, 0xcccccccd
xor edi, edi
add ecx, edx
xor edx, edx
mov dword [esp + 4], eax
add esi, ecx
mov ecx, dword [esp + 0x30]
shld edi, ebx, cl
shl ebx, cl
test cl, 0x20
lea ecx, [esp + 0x50]
cmovne edi, ebx
cmovne ebx, edx
lea edx, [esp + 0x3a4]
push dword [esp + 0x48]
push dword [esp + 0x48]
push edi
push ebx
push esi
push dword [esp + 0x18]
push dword [esp + 0x34]
push dword [esp + 0x5c]
push 0
jmp 0x40cb06
mov ecx, dword [esp + 0x30]
mov edx, ebx
xor eax, eax
shl edx, cl
test cl, 0x20
mov edi, edx
cmovne edi, eax
mov dword [esp + 0x24], 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
lea ecx, [esp + 0x50]
cmovne eax, edx
add ebx, dword [esp + 0x28]
lea edx, [esp + 0x3a4]
adc eax, dword [esp + 0xc]
push dword [esp + 0x48]
push dword [esp + 0x48]
push edi
push dword [esp + 0x30]
push eax
push ebx
jmp 0x40cafa
mov eax, dword [esp + 0x3c]
xor edx, edx
dec eax
and eax, 0x3f
mov dword [esp + 0x3c], eax
mov eax, 0xffffffec
sub eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, 1
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 8]
mov dword [esp + 0x34], eax
mov esi, edx
mov dword [esp + 0x24], edx
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
or edx, eax
jne 0x40c80c
mov eax, dword [esp + 0x4c]
add eax, edi
cmp eax, 1
je 0x40d5ec
mov eax, dword [esp + 0x28]
mov ecx, 0xa
mul ecx
mov esi, eax
mov eax, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*2]
mov eax, dword [esp + 0x34]
mul ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
lea edx, [edx + ecx*2]
mov ecx, esi
and ecx, dword [esp + 0x64]
mov dword [esp + 0x28], ecx
mov ecx, ebx
and ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
shrd esi, ebx, cl
shr ebx, cl
test cl, 0x20
cmove ebx, esi
add bl, 0x30
mov byte [esp + edi + 0x3a4], bl
inc edi
cmp dword [esp + 4], edi
jne 0x40ca40
mov esi, edx
lea ecx, [esp + 0x50]
lea edx, [esp + 0x3a4]
push esi
push eax
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x1c]
push dword [esp + 0x3c]
push dword [esp + 0x34]
push dword [esp + 0x5c]
push dword [esp + 0x24]
push dword [esp + 0x34]
call fcn.00409090
add esp, 0x28
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
test ecx, ecx
je 0x40cb78
mov ebx, dword [esp + 0x54]
movzx eax, word [esp + 0x58]
cmp ax, word [esp + 0x1c]
jg 0x40d5a3
mov eax, dword [ebp + 8]
mov word [esp + 0x70], 2
test eax, eax
je 0x40ce7b
mov edx, 2
mov dword [esp + 0x74], str.0.NaNinfassertion_failed:_buf.len_____maxlen
mov dword [esp + 0x78], 2
mov word [esp + 0x7c], 0
mov dword [esp + 0x80], eax
jmp 0x40ce90
mov ecx, eax
mov esi, eax
mov eax, ebx
mov edx, 0x3f
add ecx, 0xffffffff
adc eax, 0xffffffff
bsr ecx, ecx
cmovne edx, ecx
bsr ecx, eax
xor edx, 0x1f
xor ecx, 0x1f
add edx, 0x20
test eax, eax
mov eax, dword [esp + 0x5c]
cmove ecx, edx
mov edx, 0x4d104d42
sub eax, ecx
imul edx
add eax, 0x44135080
mov eax, 2
adc edx, 0x13
cmp ebx, 1
sbb eax, 0
mov dword [esp + 8], edx
mov dword [esp + 0x1b4], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], ebx
push 0x98
push 0
push eax
call fcn.0044b1d0
add esp, 0xc
lea eax, [esp + 0x1bc]
push 0x9c
push 0
push eax
call fcn.0044b1d0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x258], 1
mov dword [esp + 0x1b8], 1
test ax, ax
js 0x40cc32
movzx edx, ax
lea ecx, [esp + 0x114]
jmp 0x40cc3e
neg eax
lea ecx, [esp + 0x1b8]
movsx edx, ax
call fcn.00408f50
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x10]
test ax, ax
js 0x40cc5c
movzx edx, ax
lea ecx, [esp + 0x1b8]
jmp 0x40cc68
neg eax
lea ecx, [esp + 0x114]
movzx edx, ax
call fcn.00408af0
mov esi, dword [esp + 0x258]
lea eax, [esp + 0x1b8]
lea ecx, [esp + 0x70]
push 0xa0
push eax
push ecx
call fcn.0044ac50
add esp, 0xc
mov dword [esp + 0x110], esi
mov dword [esp + 0x18], esi
cmp esi, 0x29
jae 0x40cce7
nop
test esi, esi
je 0x40ccd3
shl esi, 2
xor ecx, ecx
nop dword [eax]
mov ebx, dword [esp + esi + 0x6c]
push 0
push 0x3b9aca00
push ecx
push ebx
call fcn.0044a040
imul ecx, eax, 0xc4653600
mov dword [esp + esi + 0x6c], eax
add ecx, ebx
add esi, 0xfffffffc
jne 0x40ccb0
add edi, 0xfffffff7
cmp edi, 9
jbe 0x40ccf8
mov esi, dword [esp + 0x110]
cmp esi, 0x29
jb 0x40cca0
mov ecx, esi
mov edx, 0x28
push 0x45db84
call fcn.00458760
mov edi, dword [edi*4 + 0x45c4fc]
test edi, edi
je 0x40d668
mov esi, dword [esp + 0x110]
cmp esi, 0x29
jae 0x40cce7
test esi, esi
je 0x40cd49
shl esi, 2
xor eax, eax
nop dword [eax]
mov ebx, dword [esp + esi + 0x6c]
push 0
push edi
push eax
push ebx
call fcn.0044a040
mov ecx, edi
mov dword [esp + esi + 0x6c], eax
imul ecx, eax
sub ebx, ecx
add esi, 0xfffffffc
mov eax, ebx
jne 0x40cd20
mov eax, dword [esp + 0x110]
jmp 0x40cd4b
xor eax, eax
mov ecx, dword [esp + 0x1b4]
mov edi, dword [esp + 0x14]
cmp eax, ecx
cmovbe eax, ecx
cmp eax, 0x28
ja 0x40d639
test eax, eax
mov dword [esp + 4], ecx
je 0x40cda4
xor edx, edx
xor ebx, ebx
mov esi, dword [esp + ebx*4 + 0x114]
movzx edx, dl
bt edx, 0
adc dword [esp + ebx*4 + 0x70], esi
lea ebx, [ebx + 1]
setb dl
cmp eax, ebx
jne 0x40cd70
test dl, dl
je 0x40cda6
cmp eax, 0x27
ja 0x40d5fc
mov dword [esp + eax*4 + 0x70], 1
inc eax
jmp 0x40cda6
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], eax
cmp eax, ecx
cmovbe eax, ecx
cmp eax, 0x29
jae 0x40d639
shl eax, 2
mov edx, 0xff
nop word [eax + eax]
test eax, eax
je 0x40ce05
mov esi, dword [esp + eax + 0x1b4]
xor ebx, ebx
cmp esi, dword [esp + eax + 0x6c]
setne bl
cmova ebx, edx
add eax, 0xfffffffc
test bl, bl
je 0x40cdd0
cmp bl, 1
ja 0x40ce1f
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 4]
inc ecx
jmp 0x40ceb4
lea eax, [esp + eax + 0x1b8]
lea edx, [esp + 0x1b8]
cmp eax, edx
setne bl
neg bl
cmp bl, 1
jbe 0x40cdf3
mov eax, dword [esp + 4]
test eax, eax
je 0x40ce99
lea edi, [eax*4]
lea ebx, [esp + 0x114]
xor esi, esi
nop word [eax + eax]
mov eax, 0xa
mul dword [ebx]
add eax, esi
mov esi, edx
adc esi, 0
mov dword [ebx], eax
add ebx, 4
add edi, 0xfffffffc
jne 0x40ce40
mov edi, dword [esp + 0x14]
test esi, esi
je 0x40cea1
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp edx, 0x27
ja 0x40d613
mov dword [esp + edx*4 + 0x114], esi
inc edx
jmp 0x40cea9
mov dword [esp + 0x74], 0x46dc7a
mov dword [esp + 0x78], 1
mov edx, 1
lea eax, [esp + 0x70]
jmp 0x40d5b8
mov ecx, dword [esp + 8]
xor edx, edx
jmp 0x40cea9
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1b4], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
cmp cx, bx
jge 0x40ced0
xor ebx, ebx
jmp 0x40d3bc
mov dword [esp + 4], edx
movsx eax, cx
movsx edx, bx
sub ecx, ebx
sub eax, edx
mov edx, dword [esp + 0x10]
cmp eax, edx
movsx eax, cx
cmovae eax, edx
test eax, eax
je 0x40d3ae
lea esi, [esp + 0x300]
push 0xa0
lea ebx, [esp + 0x1bc]
mov dword [esp + 8], eax
push ebx
push esi
call fcn.0044ac50
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, esi
mov edx, 1
mov dword [esp + 0x3a0], eax
call fcn.00408f50
mov esi, dword [esp + 0x258]
lea ebx, [esp + 0x25c]
push 0xa0
lea eax, [esp + 0x1bc]
push eax
push ebx
call fcn.0044ac50
add esp, 0xc
mov ecx, ebx
mov edx, 2
mov dword [esp + 0x2fc], esi
call fcn.00408f50
mov esi, dword [esp + 0x258]
push 0xa0
lea eax, [esp + 0x1bc]
push eax
lea ebx, [esp + 0x78]
push ebx
call fcn.0044ac50
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp + 4]
mov edx, 3
mov dword [esp + 0x110], esi
call fcn.00408f50
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2fc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3a0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x258]
mov dword [esp + 0x18], eax
xor eax, eax
cmp edx, 0x29
jae 0x40d67c
mov dword [esp + 0x28], eax
inc eax
xor esi, esi
mov dword [esp + 0x2c], eax
lea eax, [edx*4]
nop dword [eax]
cmp eax, esi
je 0x40d378
cmp dword [esp + esi + 0x114], 0
lea esi, [esi + 4]
je 0x40cff0
mov eax, dword [esp + 0x24]
cmp edx, eax
cmova eax, edx
cmp eax, 0x29
jae 0x40d639
lea esi, [eax*4]
nop
test esi, esi
je 0x40d049
mov edi, dword [esp + esi + 0x6c]
xor ebx, ebx
mov ecx, 0xff
cmp edi, dword [esp + esi + 0x110]
mov edi, dword [esp + 0x14]
setne bl
cmova ebx, ecx
add esi, 0xfffffffc
test bl, bl
je 0x40d020
jmp 0x40d058
lea esi, [esp + esi + 0x70]
lea ecx, [esp + 0x70]
cmp esi, ecx
setne bl
neg bl
cmp bl, 2
jae 0x40d0a9
test eax, eax
je 0x40d09a
xor esi, esi
mov cl, 1
nop word cs:[eax + eax]
nop
mov edi, dword [esp + esi*4 + 0x70]
movzx ecx, cl
bt ecx, 0
not edi
adc dword [esp + esi*4 + 0x114], edi
lea esi, [esi + 1]
setb cl
cmp eax, esi
jne 0x40d070
mov edi, dword [esp + 0x14]
test cl, cl
je 0x40d68f
mov cl, 8
mov dword [esp + 0x1b4], eax
mov dword [esp + 0xc], ecx
jmp 0x40d0b3
mov dword [esp + 0xc], 0
mov eax, edx
mov ecx, dword [esp + 0x34]
cmp eax, ecx
cmova ecx, eax
cmp ecx, 0x29
jae 0x40cce9
lea esi, [ecx*4]
nop dword [eax]
test esi, esi
je 0x40d0fc
mov edi, dword [esp + esi + 0x258]
xor ebx, ebx
mov edx, 0xff
cmp edi, dword [esp + esi + 0x110]
mov edi, dword [esp + 0x14]
setne bl
cmova ebx, edx
add esi, 0xfffffffc
test bl, bl
je 0x40d0d0
jmp 0x40d111
lea esi, [esp + esi + 0x25c]
lea edx, [esp + 0x25c]
cmp esi, edx
setne bl
neg bl
cmp bl, 1
ja 0x40d160
test ecx, ecx
je 0x40d14d
xor esi, esi
mov al, 1
nop
mov edi, dword [esp + esi*4 + 0x25c]
movzx eax, al
bt eax, 0
not edi
adc dword [esp + esi*4 + 0x114], edi
lea esi, [esi + 1]
setb al
cmp ecx, esi
jne 0x40d120
mov edi, dword [esp + 0x14]
test al, al
je 0x40d68f
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1b4], ecx
or al, 4
mov dword [esp + 0xc], eax
jmp 0x40d162
mov ecx, eax
mov eax, dword [esp + 0x30]
cmp ecx, eax
cmova eax, ecx
cmp eax, 0x29
jae 0x40d639
lea esi, [eax*4]
nop dword [eax + eax]
test esi, esi
je 0x40d1ac
mov edi, dword [esp + esi + 0x2fc]
xor ebx, ebx
mov edx, 0xff
cmp edi, dword [esp + esi + 0x110]
mov edi, dword [esp + 0x14]
setne bl
cmova ebx, edx
add esi, 0xfffffffc
test bl, bl
je 0x40d180
jmp 0x40d1c1
lea esi, [esp + esi + 0x300]
lea edx, [esp + 0x300]
cmp esi, edx
setne bl
neg bl
cmp bl, 1
ja 0x40d211
test eax, eax
je 0x40d1fd
xor esi, esi
mov cl, 1
nop
mov edi, dword [esp + esi*4 + 0x300]
movzx ecx, cl
bt ecx, 0
not edi
adc dword [esp + esi*4 + 0x114], edi
lea esi, [esi + 1]
setb cl
cmp eax, esi
jne 0x40d1d0
mov edi, dword [esp + 0x14]
test cl, cl
je 0x40d68f
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1b4], eax
add cl, 2
mov dword [esp + 0xc], ecx
jmp 0x40d213
mov eax, ecx
mov edx, dword [esp + 0x18]
cmp eax, edx
cmova edx, eax
cmp edx, 0x29
jae 0x40d67c
lea esi, [edx*4]
nop dword [eax]
test esi, esi
je 0x40d25c
mov edi, dword [esp + esi + 0x1b4]
xor ebx, ebx
mov ecx, 0xff
cmp edi, dword [esp + esi + 0x110]
mov edi, dword [esp + 0x14]
setne bl
cmova ebx, ecx
add esi, 0xfffffffc
test bl, bl
je 0x40d230
jmp 0x40d271
lea esi, [esp + esi + 0x1b8]
lea ecx, [esp + 0x1b8]
cmp esi, ecx
setne bl
neg bl
cmp bl, 1
ja 0x40d2d0
mov ecx, dword [esp + 4]
test edx, edx
je 0x40d2bd
xor esi, esi
mov al, 1
nop word cs:[eax + eax]
nop dword [eax]
mov edi, dword [esp + esi*4 + 0x1b8]
movzx eax, al
bt eax, 0
not edi
adc dword [esp + esi*4 + 0x114], edi
lea esi, [esi + 1]
setb al
cmp edx, esi
jne 0x40d290
mov edi, dword [esp + 0x14]
test al, al
je 0x40d68f
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1b4], edx
inc al
mov dword [esp + 0xc], eax
jmp 0x40d2d6
mov ecx, dword [esp + 4]
mov edx, eax
mov esi, ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x10]
je 0x40d603
mov ebx, dword [esp + 0xc]
add bl, 0x30
test edx, edx
mov byte [esp + ecx + 0x3a4], bl
je 0x40d34d
mov ecx, edx
lea esi, [edx*4]
xor edi, edi
lea ebx, [esp + 0x114]
nop
mov eax, 0xa
mul dword [ebx]
add eax, edi
mov edi, edx
adc edi, 0
mov dword [ebx], eax
add ebx, 4
add esi, 0xfffffffc
jne 0x40d310
mov ebx, dword [esp + 4]
test edi, edi
je 0x40d353
mov eax, dword [esp + 0x2c]
cmp ecx, 0x27
ja 0x40d5fc
mov dword [esp + ecx*4 + 0x114], edi
mov edi, dword [esp + 0x14]
mov edx, ecx
inc edx
jmp 0x40d35d
xor edx, edx
mov ebx, esi
jmp 0x40d35d
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, ecx
cmp eax, ebx
mov dword [esp + 0x1b4], edx
jne 0x40cfce
mov esi, dword [esp + 0x20]
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x40d3bc
mov edx, dword [esp + 0x10]
cmp ebx, edx
ja 0x40d6a3
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov eax, ebx
sub eax, ecx
je 0x40d3a5
lea ecx, [esp + ecx + 0x3a4]
push eax
push 0x30
push ecx
call fcn.0044b1d0
add esp, 0xc
mov eax, dword [esp + 8]
jmp 0x40d591
mov edx, dword [esp + 4]
xor ebx, ebx
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x18]
cmp ecx, 0x29
jae 0x40cce9
test ecx, ecx
je 0x40d42f
lea edi, [ecx*4]
xor esi, esi
lea ecx, [esp + 0x1b8]
mov dword [esp + 4], edx
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, 5
mul dword [ecx]
add eax, esi
mov esi, edx
adc esi, 0
mov dword [ecx], eax
add ecx, 4
add edi, 0xfffffffc
jne 0x40d3f0
mov edi, dword [esp + 0x14]
test esi, esi
je 0x40d437
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
cmp ecx, 0x27
ja 0x40d5fc
mov dword [esp + ecx*4 + 0x1b8], esi
mov esi, dword [esp + 0x20]
inc ecx
jmp 0x40d443
mov edi, dword [esp + 0x14]
xor ecx, ecx
jmp 0x40d443
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
cmp edx, ecx
mov dword [esp + 0x258], ecx
mov dword [esp + 4], ebx
cmova ecx, edx
cmp ecx, 0x29
jae 0x40cce9
shl ecx, 2
mov eax, 0xff
nop word cs:[eax + eax]
nop
test ecx, ecx
je 0x40d4a2
mov edx, dword [esp + ecx + 0x1b4]
xor ebx, ebx
cmp edx, dword [esp + ecx + 0x110]
setne bl
cmova ebx, eax
add ecx, 0xfffffffc
test bl, bl
je 0x40d470
movzx eax, bl
mov ebx, dword [esp + 4]
cmp eax, 1
je 0x40d4da
jmp 0x40d520
lea eax, [esp + ecx + 0x1b8]
lea edx, [esp + 0x1b8]
cmp eax, edx
sete al
test byte [esp + 0xc], al
je 0x40d551
mov ebx, dword [esp + 4]
lea ecx, [ebx - 1]
cmp ecx, dword [esp + 0x10]
jae 0x40d624
test byte [esp + ecx + 0x3a4], 1
je 0x40d520
cmp ebx, dword [esp + 0x10]
ja 0x40d6af
mov eax, 0xffffffff
mov edx, ebx
nop dword [eax + eax]
test edx, edx
je 0x40d526
mov ecx, edx
inc eax
dec edx
cmp byte [esp + ecx + 0x3a3], 0x39
je 0x40d4f0
inc byte [esp + edx + 0x3a4]
cmp ecx, ebx
jae 0x40d520
lea ecx, [esp + ecx + 0x3a4]
push eax
push 0x30
push ecx
call fcn.0044b1d0
add esp, 0xc
mov eax, dword [esp + 8]
jmp 0x40d585
test ebx, ebx
je 0x40d55b
mov ecx, ebx
mov bl, 0x30
mov byte [esp + 0x3a4], 0x31
cmp ecx, 1
je 0x40d55d
dec ecx
lea eax, [esp + 0x3a5]
push ecx
push 0x30
push eax
call fcn.0044b1d0
add esp, 0xc
jmp 0x40d55d
mov eax, dword [esp + 8]
mov ebx, dword [esp + 4]
jmp 0x40d585
mov bl, 0x31
mov eax, dword [esp + 8]
mov ecx, eax
inc eax
cmp cx, word [esp + 0x1c]
jl 0x40d581
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x10]
jae 0x40d57d
mov byte [esp + ecx + 0x3a4], bl
inc ecx
mov ebx, ecx
jmp 0x40d585
mov ebx, dword [esp + 4]
mov edx, dword [esp + 0x10]
cmp ebx, edx
ja 0x40d683
lea ecx, [esp + 0x3a4]
cmp ax, word [esp + 0x1c]
jle 0x40cb3e
mov edx, ebx
mov ebx, eax
lea eax, [esp + 0x70]
push eax
push dword [ebp + 8]
push ebx
call fcn.00409250
add esp, 0xc
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x25c], edi
mov dword [esp + 0x260], esi
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], edx
lea edx, [esp + 0x25c]
call fcn.0040c030
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 0x10]
mov ecx, edi
push 0x45cca4
call fcn.00458700
mov ecx, 0x28
jmp 0x40d615
mov ecx, dword [esp + 0x10]
mov edx, ecx
push 0x45c6a8
call fcn.00458700
mov ecx, edx
mov edx, 0x28
push 0x45db84
call fcn.00458700
mov edx, dword [esp + 0x10]
push 0x45c678
call fcn.00458700
mov cl, 2
jmp 0x40c4bf
mov ecx, eax
jmp 0x40cce9
mov ecx, 0x45cd51
mov edx, 0x25
push 0x45cd78
call fcn.004587c0
mov ecx, 0x45c62b
mov edx, 0x1c
push 0x45cc5c
call fcn.004587c0
mov ecx, 0x45dbcb
mov edx, 0x1b
push 0x45db84
call fcn.004587c0
mov ecx, edx
jmp 0x40cce9
mov ecx, ebx
push 0x45c698
call fcn.00458760
mov ecx, str.assertion_failed:_noborrowassertion_failed:_digits___40assertion_failed:_other___0
mov edx, 0x1a
push 0x45db84
call fcn.004587c0
mov ecx, ebx
push 0x45c6b8
call fcn.00458760
mov edx, dword [esp + 0x10]
mov ecx, ebx
push 0x45c688
call fcn.00458760
int3