Function at 0x4157f0
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 + 0x18], edx
mov dword [esp + 0x34], ecx
movsd qword [esp + 0x68], xmm0
mov edx, 0x100000
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
lea edi, [edx - 1]
mov eax, esi
mov ebx, esi
and edi, esi
lea edx, [ecx + ecx]
shr eax, 0x14
shld ebx, ecx, 1
and eax, 0x7ff
and ebx, 0x1fffff
test eax, eax
mov dword [esp + 0x14], eax
lea eax, [edi + 0x100000]
cmovne edx, ecx
cmove eax, ebx
ucomisd xmm0, xmm0
mov dword [esp + 8], edx
jp 0x416a54
mov ebx, esi
mov edx, esi
and ebx, 0x7ff00000
or ecx, edi
je 0x415880
test ebx, ebx
jne 0x415894
add dword [esp + 0x14], 0xfffffbcd
test byte [esp + 8], 1
mov dword [esp + 0x28], eax
sete cl
jmp 0x4158e2
cmp ebx, 0x7ff00000
je 0x415c01
test ebx, ebx
jne 0x415894
mov cl, 4
jmp 0x4158de
mov dword [esp + 4], edx
mov edx, dword [esp + 8]
mov esi, 0x100000
test dl, 1
sete cl
xor esi, eax
shld eax, edx, 1
xor edi, edi
xor ebx, ebx
or esi, edx
mov esi, 0x400000
cmove eax, esi
lea esi, [edx + edx]
mov edx, dword [esp + 4]
sete bl
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
cmovne edi, esi
mov dword [esp + 8], edi
movzx eax, ax
sub eax, ebx
add eax, 0xfffffbcc
mov dword [esp + 0x14], eax
add cl, 0xfe
movzx esi, cl
cmp cl, 3
mov ecx, 3
cmovb ecx, esi
test cl, cl
je 0x415973
mov ebx, edx
mov esi, 0x507e31
mov edi, str.combase.dll
mov eax, 0x507e3c
shr ebx, 0x1f
cmp byte [esp + 0x18], 0
cmovne edi, esi
mov esi, ebx
mov ebx, 1
cmovne esi, ebx
test edx, edx
cmovns eax, edi
cmp cl, 1
mov edi, eax
je 0x41599f
mov edx, dword [ebp + 8]
movzx eax, cl
cmp eax, 2
jne 0x4159bb
mov ecx, dword [esp + 0x34]
test edx, edx
mov word [esp + 0x70], 2
je 0x415c08
mov dword [esp + 0x74], 0x4ae1b8
mov dword [esp + 0x78], 2
mov word [esp + 0x7c], 0
mov dword [esp + 0x80], edx
mov ebx, 2
jmp 0x415c18
mov word [esp + 0x70], 2
mov dword [esp + 0x74], 0x4ae1df
mov dword [esp + 0x78], 3
mov ebx, 1
lea eax, [esp + 0x70]
xor esi, esi
mov edi, str.combase.dll
jmp 0x4169da
mov word [esp + 0x70], 2
mov dword [esp + 0x74], 0x4ae1e2
mov dword [esp + 0x78], 3
jmp 0x4162b0
mov ecx, dword [esp + 0x14]
mov eax, 0xfffffff4
mov ebx, 5
test cx, cx
cmovs ebx, eax
movsx eax, cx
imul ebx, eax
mov dword [esp + 0x60], eax
cmp ebx, 0x3ec0
mov dword [esp + 0x24], ebx
jae 0x416a68
mov eax, edx
mov ebx, dword [esp + 0x28]
mov ecx, 0x8000
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
neg eax
cmp edx, 0x8000
mov edx, dword [esp + 8]
cmovb ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, edx
or eax, ebx
je 0x416a7c
mov eax, dword [esp + 0x14]
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 + 0x2c], 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
mov dword [esp + 0x38], esi
shl edx, cl
shld edi, eax, cl
mov ecx, dword [esi + 0x4adaac]
mov dword [esp + 0xc], edx
mov eax, ecx
mul edi
mov dword [esp + 0x10], eax
mov eax, ecx
mov ebx, edx
mov ecx, dword [esi + 0x4adaa8]
mul dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, ecx
mov dword [esp + 0x30], 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 + 0x3c]
adc eax, 0
add ecx, dword [esp + 0x10]
adc ebx, 0
add ecx, dword [esp + 0x30]
adc ebx, 0
add edx, 0x80000000
adc ecx, eax
mov eax, 0xffffffc0
mov edx, ecx
mov dword [esp + 4], ecx
movzx ecx, word [esi + 0x4adab0]
adc ebx, 0
mov esi, ebx
add cx, word [esp + 0x2c]
sub eax, ecx
mov ecx, eax
mov dword [esp + 0x5c], eax
mov eax, ebx
and ecx, 0x3f
mov dword [esp + 0x4c], eax
shrd edx, ebx, cl
xor ebx, ebx
shr esi, cl
mov dword [esp + 0x30], ecx
shld ebx, edi, cl
shl edi, cl
test cl, 0x20
mov ecx, 0
cmovne ebx, edi
cmovne edi, ecx
cmove esi, edx
mov ecx, edi
mov dword [esp + 0x48], ebx
add ecx, 0xffffffff
adc ebx, 0xffffffff
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], ebx
and eax, ebx
mov ebx, dword [esp + 4]
and ebx, ecx
mov ecx, ebx
or ecx, eax
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x15]
mov dword [esp + 0x10], ecx
je 0x415f79
mov ecx, dword [esp + 0x38]
cmp esi, 0x2710
mov dword [esp + 0x44], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], ebx
movzx edx, word [ecx + 0x4adab2]
jae 0x415c21
cmp esi, 0x64
jae 0x415c44
xor ecx, ecx
cmp esi, 0xa
setae cl
lea ebx, [ecx + ecx*8 + 1]
jmp 0x415c9b
mov cl, 3
jmp 0x4158de
mov dword [esp + 0x74], 0x501fa1
mov dword [esp + 0x78], 1
lea eax, [esp + 0x70]
jmp 0x4169de
cmp esi, 0xf4240
jae 0x415c5f
cmp esi, 0x186a0
mov edi, 0x2710
mov ebx, 0x186a0
setb cl
cmovb ebx, edi
xor cl, 5
jmp 0x415c9b
cmp esi, 0x3e8
mov edi, 0x64
mov ebx, 0x3e8
setb cl
cmovb ebx, edi
xor cl, 3
jmp 0x415c9b
cmp esi, 0x5f5e100
jae 0x415c82
cmp esi, 0x989680
mov edi, 0xf4240
mov ebx, 0x989680
setb cl
cmovb ebx, edi
xor cl, 7
jmp 0x415c9b
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 0x415d2f
movzx edx, word [esp + 0x5c]
mov dword [esp + 0x38], 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
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 0x415db6
lea eax, [ecx + edi]
cmp eax, 1
je 0x415e13
mov eax, ebx
mov edx, 0xcccccccd
inc edi
mul edx
shr edx, 3
cmp ebx, 0xa
mov ebx, edx
jae 0x415ce0
mov ecx, str.attempt_to_divide_by_zero
mov edx, 0x19
push 0x4ae104
call fcn.0040db80
mov esi, dword [esp + 0x4c]
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 0x415f07
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 + 0x2c]
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 0x415efb
mov eax, dword [esp + 0x38]
mov ecx, 0xffffffec
mov ebx, 1
xor edx, edx
sub ecx, dword [esp + 0x24]
dec eax
and eax, 0x3f
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], eax
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, dword [esp + 0x38]
mov eax, ebx
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 0x415f79
mov eax, dword [esp + 0x4c]
add eax, edi
cmp eax, 1
je 0x416a0e
mov eax, dword [esp + 0x2c]
mov ecx, 0xa
mul ecx
mov ecx, ebx
mov esi, eax
mov eax, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*2]
mov eax, ecx
mov ecx, 0xa
mul ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
lea edx, [edx + ecx*2]
mov ecx, esi
and ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov ecx, ebx
and ecx, dword [esp + 0x64]
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
mov ebx, eax
cmp dword [esp + 4], edi
jne 0x415e40
mov eax, edx
lea ecx, [esp + 0x50]
lea edx, [esp + 0x3a4]
push eax
push ebx
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x1c]
push dword [esp + 0x40]
push dword [esp + 0x34]
push dword [esp + 0x5c]
push dword [esp + 0x24]
push dword [esp + 0x34]
call fcn.0040ff80
add esp, 0x28
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x415f89
mov ebx, dword [esp + 0x54]
movzx eax, word [esp + 0x58]
cmp ax, word [esp + 0x1c]
jg 0x4169c3
mov eax, dword [ebp + 8]
mov word [esp + 0x70], 2
test eax, eax
je 0x41629b
mov ebx, 2
mov dword [esp + 0x74], 0x4ae1b8
mov dword [esp + 0x78], 2
mov word [esp + 0x7c], 0
mov dword [esp + 0x80], eax
jmp 0x4162b0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 8]
mov dword [esp + 0x50], 0
mov ecx, edx
mov edi, edx
mov esi, eax
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 + 0x60]
cmove ecx, edx
mov edx, 0x4d104d42
sub eax, ecx
imul edx
add eax, 0x44135080
mov eax, 2
adc edx, 0x13
cmp esi, 1
sbb eax, 0
mov dword [esp + 8], edx
mov dword [esp + 0x1b4], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], esi
push 0x98
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x1bc]
push 0x9c
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x258], 1
mov dword [esp + 0x1b8], 1
test ax, ax
js 0x416043
movzx edx, ax
lea ecx, [esp + 0x114]
jmp 0x41604f
neg eax
lea ecx, [esp + 0x1b8]
movsx edx, ax
call fcn.0040f2a0
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x10]
test ax, ax
js 0x41606d
movzx edx, ax
lea ecx, [esp + 0x1b8]
jmp 0x416079
neg eax
lea ecx, [esp + 0x114]
movzx edx, ax
call fcn.0040e190
mov esi, dword [esp + 0x258]
lea eax, [esp + 0x1b8]
lea ecx, [esp + 0x70]
push 0xa0
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x110], esi
mov dword [esp + 0x14], esi
cmp esi, 0x29
jae 0x4160fa
nop
test esi, esi
je 0x4160e6
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.0049f820
add esp, 0x10
imul ecx, eax, 0xc4653600
mov dword [esp + esi + 0x6c], eax
add ecx, ebx
add esi, 0xfffffffc
jne 0x4160c0
add edi, 0xfffffff7
cmp edi, 9
jbe 0x41610b
mov esi, dword [esp + 0x110]
cmp esi, 0x29
jb 0x4160b0
mov ecx, esi
mov edx, 0x28
push 0x4af090
call fcn.0040d890
mov edi, dword [edi*4 + 0x4ad7e0]
test edi, edi
je 0x416a90
mov esi, dword [esp + 0x110]
cmp esi, 0x29
jae 0x4160fa
test esi, esi
je 0x41615c
shl esi, 2
xor eax, eax
nop
mov ebx, dword [esp + esi + 0x6c]
push 0
push edi
push eax
push ebx
call fcn.0049f820
add esp, 0x10
mov ecx, edi
mov dword [esp + esi + 0x6c], eax
imul ecx, eax
sub ebx, ecx
add esi, 0xfffffffc
mov eax, ebx
jne 0x416130
mov eax, dword [esp + 0x110]
jmp 0x41615e
xor eax, eax
mov ecx, dword [esp + 0x1b4]
mov edi, dword [esp + 0x18]
cmp eax, ecx
cmovbe eax, ecx
cmp eax, 0x28
ja 0x416a61
test eax, eax
mov dword [esp + 4], ecx
je 0x4161c4
xor edx, edx
xor ebx, ebx
nop word cs:[eax + eax]
nop dword [eax]
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 0x416190
test dl, dl
je 0x4161c6
cmp eax, 0x27
ja 0x416a1e
mov dword [esp + eax*4 + 0x70], 1
inc eax
jmp 0x4161c6
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x110], eax
cmp eax, ecx
cmovbe eax, ecx
cmp eax, 0x29
jae 0x416a61
shl eax, 2
mov edx, 0xff
nop word [eax + eax]
test eax, eax
je 0x416225
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 0x4161f0
cmp bl, 1
ja 0x41623f
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 4]
inc ecx
jmp 0x4162d4
lea eax, [esp + eax + 0x1b8]
lea edx, [esp + 0x1b8]
cmp eax, edx
setne bl
neg bl
cmp bl, 1
jbe 0x416213
mov eax, dword [esp + 4]
test eax, eax
je 0x4162b9
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 0x416260
mov edi, dword [esp + 0x18]
test esi, esi
je 0x4162c1
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp edx, 0x27
ja 0x416a35
mov dword [esp + edx*4 + 0x114], esi
inc edx
jmp 0x4162c9
mov dword [esp + 0x74], 0x501fa1
mov dword [esp + 0x78], 1
mov ebx, 1
lea eax, [esp + 0x70]
jmp 0x4169da
mov ecx, dword [esp + 8]
xor edx, edx
jmp 0x4162c9
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 0x4162f0
xor ebx, ebx
jmp 0x4167dc
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 0x4167ce
lea esi, [esp + 0x300]
push 0xa0
lea ebx, [esp + 0x1bc]
mov dword [esp + 8], eax
push ebx
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, esi
mov edx, 1
mov dword [esp + 0x3a0], eax
call fcn.0040f2a0
mov esi, dword [esp + 0x258]
lea ebx, [esp + 0x25c]
push 0xa0
lea eax, [esp + 0x1bc]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, ebx
mov edx, 2
mov dword [esp + 0x2fc], esi
call fcn.0040f2a0
mov esi, dword [esp + 0x258]
push 0xa0
lea eax, [esp + 0x1bc]
push eax
lea ebx, [esp + 0x78]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp + 4]
mov edx, 3
mov dword [esp + 0x110], esi
call fcn.0040f2a0
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2fc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3a0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x258]
mov dword [esp + 0x14], eax
xor eax, eax
cmp edx, 0x29
jae 0x416aa4
mov dword [esp + 0x2c], eax
inc eax
xor esi, esi
mov dword [esp + 0x28], eax
lea eax, [edx*4]
nop dword [eax]
cmp eax, esi
je 0x416798
cmp dword [esp + esi + 0x114], 0
lea esi, [esi + 4]
je 0x416410
mov eax, dword [esp + 0x24]
cmp edx, eax
cmova eax, edx
cmp eax, 0x29
jae 0x416a61
lea esi, [eax*4]
nop
test esi, esi
je 0x416469
mov edi, dword [esp + esi + 0x6c]
xor ebx, ebx
mov ecx, 0xff
cmp edi, dword [esp + esi + 0x110]
mov edi, dword [esp + 0x18]
setne bl
cmova ebx, ecx
add esi, 0xfffffffc
test bl, bl
je 0x416440
jmp 0x416478
lea esi, [esp + esi + 0x70]
lea ecx, [esp + 0x70]
cmp esi, ecx
setne bl
neg bl
cmp bl, 2
jae 0x4164c9
test eax, eax
je 0x4164ba
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 0x416490
mov edi, dword [esp + 0x18]
test cl, cl
je 0x416ab7
mov cl, 8
mov dword [esp + 0x1b4], eax
mov dword [esp + 0xc], ecx
jmp 0x4164d3
mov dword [esp + 0xc], 0
mov eax, edx
mov ecx, dword [esp + 0x30]
cmp eax, ecx
cmova ecx, eax
cmp ecx, 0x29
jae 0x4160fc
lea esi, [ecx*4]
nop dword [eax]
test esi, esi
je 0x41651c
mov edi, dword [esp + esi + 0x258]
xor ebx, ebx
mov edx, 0xff
cmp edi, dword [esp + esi + 0x110]
mov edi, dword [esp + 0x18]
setne bl
cmova ebx, edx
add esi, 0xfffffffc
test bl, bl
je 0x4164f0
jmp 0x416531
lea esi, [esp + esi + 0x25c]
lea edx, [esp + 0x25c]
cmp esi, edx
setne bl
neg bl
cmp bl, 1
ja 0x416580
test ecx, ecx
je 0x41656d
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 0x416540
mov edi, dword [esp + 0x18]
test al, al
je 0x416ab7
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1b4], ecx
or al, 4
mov dword [esp + 0xc], eax
jmp 0x416582
mov ecx, eax
mov eax, dword [esp + 0x3c]
cmp ecx, eax
cmova eax, ecx
cmp eax, 0x29
jae 0x416a61
lea esi, [eax*4]
nop dword [eax + eax]
test esi, esi
je 0x4165cc
mov edi, dword [esp + esi + 0x2fc]
xor ebx, ebx
mov edx, 0xff
cmp edi, dword [esp + esi + 0x110]
mov edi, dword [esp + 0x18]
setne bl
cmova ebx, edx
add esi, 0xfffffffc
test bl, bl
je 0x4165a0
jmp 0x4165e1
lea esi, [esp + esi + 0x300]
lea edx, [esp + 0x300]
cmp esi, edx
setne bl
neg bl
cmp bl, 1
ja 0x416631
test eax, eax
je 0x41661d
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 0x4165f0
mov edi, dword [esp + 0x18]
test cl, cl
je 0x416ab7
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1b4], eax
add cl, 2
mov dword [esp + 0xc], ecx
jmp 0x416633
mov eax, ecx
mov edx, dword [esp + 0x14]
cmp eax, edx
cmova edx, eax
cmp edx, 0x29
jae 0x416aa4
lea esi, [edx*4]
nop dword [eax]
test esi, esi
je 0x41667c
mov edi, dword [esp + esi + 0x1b4]
xor ebx, ebx
mov ecx, 0xff
cmp edi, dword [esp + esi + 0x110]
mov edi, dword [esp + 0x18]
setne bl
cmova ebx, ecx
add esi, 0xfffffffc
test bl, bl
je 0x416650
jmp 0x416691
lea esi, [esp + esi + 0x1b8]
lea ecx, [esp + 0x1b8]
cmp esi, ecx
setne bl
neg bl
cmp bl, 1
ja 0x4166f0
mov ecx, dword [esp + 4]
test edx, edx
je 0x4166dd
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 0x4166b0
mov edi, dword [esp + 0x18]
test al, al
je 0x416ab7
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1b4], edx
inc al
mov dword [esp + 0xc], eax
jmp 0x4166f6
mov ecx, dword [esp + 4]
mov edx, eax
mov esi, ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp ecx, dword [esp + 0x10]
je 0x416a25
mov ebx, dword [esp + 0xc]
add bl, 0x30
test edx, edx
mov byte [esp + ecx + 0x3a4], bl
je 0x41676d
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 0x416730
mov ebx, dword [esp + 4]
test edi, edi
je 0x416773
mov eax, dword [esp + 0x28]
cmp ecx, 0x27
ja 0x416a1e
mov dword [esp + ecx*4 + 0x114], edi
mov edi, dword [esp + 0x18]
mov edx, ecx
inc edx
jmp 0x41677d
xor edx, edx
mov ebx, esi
jmp 0x41677d
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, ecx
cmp eax, ebx
mov dword [esp + 0x1b4], edx
jne 0x4163ee
mov esi, dword [esp + 0x20]
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x4167dc
mov edx, dword [esp + 0x10]
cmp ebx, edx
ja 0x416acb
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov eax, ebx
sub eax, ecx
je 0x4167c5
lea ecx, [esp + ecx + 0x3a4]
push eax
push 0x30
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 8]
jmp 0x4169b1
mov edx, dword [esp + 4]
xor ebx, ebx
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x14]
cmp ecx, 0x29
jae 0x4160fc
test ecx, ecx
je 0x41684f
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 0x416810
mov edi, dword [esp + 0x18]
test esi, esi
je 0x416857
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
cmp ecx, 0x27
ja 0x416a1e
mov dword [esp + ecx*4 + 0x1b8], esi
mov esi, dword [esp + 0x20]
inc ecx
jmp 0x416863
mov edi, dword [esp + 0x18]
xor ecx, ecx
jmp 0x416863
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
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 0x4160fc
shl ecx, 2
mov eax, 0xff
nop word cs:[eax + eax]
nop
test ecx, ecx
je 0x4168c2
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 0x416890
movzx eax, bl
mov ebx, dword [esp + 4]
cmp eax, 1
je 0x4168fa
jmp 0x416940
lea eax, [esp + ecx + 0x1b8]
lea edx, [esp + 0x1b8]
cmp eax, edx
sete al
test byte [esp + 0xc], al
je 0x416971
mov ebx, dword [esp + 4]
lea ecx, [ebx - 1]
cmp ecx, dword [esp + 0x10]
jae 0x416a46
test byte [esp + ecx + 0x3a4], 1
je 0x416940
cmp ebx, dword [esp + 0x10]
ja 0x416ad7
mov eax, 0xffffffff
mov edx, ebx
nop dword [eax + eax]
test edx, edx
je 0x416946
mov ecx, edx
inc eax
dec edx
cmp byte [esp + ecx + 0x3a3], 0x39
je 0x416910
inc byte [esp + edx + 0x3a4]
cmp ecx, ebx
jae 0x416940
lea ecx, [esp + ecx + 0x3a4]
push eax
push 0x30
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 8]
jmp 0x4169a5
test ebx, ebx
je 0x41697b
mov ecx, ebx
mov bl, 0x30
mov byte [esp + 0x3a4], 0x31
cmp ecx, 1
je 0x41697d
dec ecx
lea eax, [esp + 0x3a5]
push ecx
push 0x30
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x41697d
mov eax, dword [esp + 8]
mov ebx, dword [esp + 4]
jmp 0x4169a5
mov bl, 0x31
mov eax, dword [esp + 8]
mov ecx, eax
inc eax
cmp cx, word [esp + 0x1c]
jl 0x4169a1
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x10]
jae 0x41699d
mov byte [esp + ecx + 0x3a4], bl
inc ecx
mov ebx, ecx
jmp 0x4169a5
mov ebx, dword [esp + 4]
mov edx, dword [esp + 0x10]
cmp ebx, edx
ja 0x416aab
lea ecx, [esp + 0x3a4]
cmp ax, word [esp + 0x1c]
jle 0x415f3f
mov edx, ebx
mov ebx, eax
lea eax, [esp + 0x70]
push eax
push dword [ebp + 8]
push ebx
call fcn.00410130
add esp, 0xc
mov ebx, edx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x25c]
mov dword [esp + 0x25c], edi
mov dword [esp + 0x260], esi
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], ebx
call fcn.004153b0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 0x10]
mov ecx, edi
push 0x4ae114
call fcn.0040cf20
mov ecx, 0x28
jmp 0x416a37
mov ecx, dword [esp + 0x10]
mov edx, ecx
push 0x4ada88
call fcn.0040cf20
mov ecx, edx
mov edx, 0x28
push 0x4af090
call fcn.0040cf20
mov edx, dword [esp + 0x10]
push 0x4ada58
call fcn.0040cf20
mov cl, 2
mov dword [esp + 0x14], eax
mov edx, esi
jmp 0x4158e2
mov ecx, eax
jmp 0x4160fc
mov ecx, 0x4ae1e8
mov edx, 0x25
push 0x4ae210
call fcn.0040db80
mov ecx, 0x4ad90f
mov edx, 0x1c
push 0x4ae0cc
call fcn.0040db80
mov ecx, 0x4af0d7
mov edx, 0x1b
push 0x4af090
call fcn.0040db80
mov ecx, edx
jmp 0x4160fc
mov ecx, ebx
push 0x4ada78
call fcn.0040d890
mov ecx, str.assertion_failed:_noborrowassertion_failed:_digits___40assertion_failed:_other___0
mov edx, 0x1a
push 0x4af090
call fcn.0040db80
mov ecx, ebx
push 0x4ada98
call fcn.0040d890
mov edx, dword [esp + 0x10]
mov ecx, ebx
push 0x4ada68
call fcn.0040d890
nop word [eax + eax]