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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
call sub.msvcrt.dll_localeconv
mov eax, dword [eax]
mov dword [esp + 0x14], eax
push eax
call sub.msvcrt.dll_strlen
add esp, 4
mov edi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0
mov eax, dword [ebx]
mov dword [esp + 0x4c], eax
lea ebx, [esi + 1]
jmp 0x411ac1
inc ebx
movzx edx, byte [ebx - 1]
movsx eax, dl
lea ecx, [eax - 9]
cmp ecx, 5
jb 0x411ac0
cmp eax, 0x2a
jg 0x411ae0
cmp eax, 0x20
je 0x411ac0
test eax, eax
je 0x411afe
jmp 0x411b17
cmp eax, 0x2b
je 0x411af1
cmp eax, 0x2d
jne 0x411b17
mov ecx, 1
jmp 0x411af3
xor ecx, ecx
mov dword [esp + 0x1c], ebx
movzx edx, byte [ebx]
test dl, dl
jne 0x411b1e
mov dword [esp + 0x10], 6
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov edi, dword [ebp + 0xc]
jmp 0x4133a9
dec ebx
mov dword [esp + 0x1c], ebx
xor ecx, ecx
cmp dl, 0x30
mov byte [esp + 0x74], dl
jne 0x411b72
movsx eax, byte [ebx + 1]
or eax, 0x20
cmp eax, 0x78
jne 0x411c8c
lea eax, [esp + 0x58]
mov esi, ecx
lea ecx, [esp + 0x1c]
push esi
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.0042be20
mov ecx, esi
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 6
mov edi, dword [ebp + 0xc]
jne 0x4133a9
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
xor ecx, ecx
jmp 0x4133a9
mov dword [esp + 0x90], edi
mov dword [esp + 0x44], ecx
mov eax, edx
add al, 0xd0
mov dword [esp + 0x80], 0
cmp al, 9
ja 0x411bdf
mov dword [esp + 0x20], ebx
xor ecx, ecx
xor edi, edi
xor esi, esi
jmp 0x411bc7
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
lea ebx, [esi + 1]
mov edx, dword [esp + 0x20]
lea eax, [edx + esi]
inc eax
mov dword [esp + 0x1c], eax
movzx edx, byte [edx + esi + 1]
mov eax, edx
add al, 0xd0
cmp al, 0xa
mov esi, ebx
jae 0x411bef
movzx eax, dl
cmp esi, 8
jbe 0x411ba0
cmp esi, 0xf
ja 0x411ba9
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2]
add ecx, 0xffffffd0
jmp 0x411ba9
mov dword [esp + 0x38], 0
xor edi, edi
xor ecx, ecx
mov esi, ebx
jmp 0x411bf9
mov dword [esp + 0x38], esi
mov ebx, dword [esp + 0x20]
add esi, ebx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x88], eax
movsx eax, dl
mov dword [esp + 0x20], eax
mov al, 1
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
cmp dl, byte [eax]
jne 0x411c77
movzx eax, byte [eax + 1]
mov edx, 1
test al, al
je 0x411c43
nop dword [eax + eax]
cmp byte [esi + edx], al
jne 0x411c77
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + edx + 1]
inc edx
test al, al
jne 0x411c30
lea eax, [esi + edx]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
movsx eax, byte [esi + edx]
mov dword [esp + 0x20], eax
xor edx, edx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x411cbe
mov esi, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x20]
jmp 0x411d2f
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], 0
jmp 0x411e61
mov dword [esp + 0x90], edi
inc ebx
nop word cs:[eax + eax]
mov dword [esp + 0x1c], ebx
movzx edx, byte [ebx]
inc ebx
cmp edx, 0x30
je 0x411ca0
test edx, edx
mov edi, dword [ebp + 0xc]
je 0x4133a9
dec ebx
jmp 0x411b79
xor esi, esi
cmp byte [esp + 0x20], 0x30
jne 0x411cf1
xor eax, eax
mov esi, dword [esp + 0xc]
nop dword [eax]
lea edx, [esi + eax]
inc edx
mov dword [esp + 0x1c], edx
movsx edx, byte [esi + eax + 1]
inc eax
cmp edx, 0x30
je 0x411cd0
mov dword [esp + 0x20], edx
add dword [esp + 0xc], eax
mov edx, eax
xor esi, esi
jmp 0x411cf3
xor edx, edx
mov eax, dword [esp + 0x20]
add eax, 0xffffffcf
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x18], edx
cmp dword [esp + 0x14], 9
mov eax, 0
jae 0x411e61
jmp 0x411d43
lea eax, [ebx - 0x30]
cmp eax, 9
mov dword [esp + 0x20], ebx
ja 0x411e4e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], esi
lea esi, [eax + 1]
mov ebx, dword [esp + 0x20]
add ebx, 0xffffffd0
je 0x411df3
add edx, esi
test eax, eax
mov dword [esp + 0x5c], edx
jle 0x411e01
mov dword [esp + 0x20], ebx
cmp eax, 1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
je 0x411dc0
mov ebx, eax
and ebx, 0xfffffffe
mov esi, edx
nop dword [eax]
lea edx, [edi + edi]
lea eax, [ecx + ecx]
cmp esi, 0x10
lea eax, [eax + eax*4]
cmovge eax, ecx
cmp esi, 9
lea edx, [edx + edx*4]
cmovge edx, edi
cmovl eax, ecx
lea edi, [edx + edx]
lea ecx, [eax + eax]
cmp esi, 0xf
lea ecx, [ecx + ecx*4]
cmovge ecx, eax
cmp esi, 8
lea edi, [edi + edi*4]
cmovge edi, edx
lea edx, [esi + 2]
cmovl ecx, eax
mov esi, edx
add ebx, 0xfffffffe
jne 0x411d80
mov eax, dword [esp + 0x18]
test al, 1
mov ebx, dword [esp + 0x20]
je 0x411deb
lea eax, [edi + edi]
lea esi, [ecx + ecx]
cmp edx, 0x10
lea esi, [esi + esi*4]
cmovge esi, ecx
cmp edx, 9
lea eax, [eax + eax*4]
cmovl edi, eax
mov eax, dword [esp + 0x18]
cmovge ecx, esi
mov esi, dword [esp + 0x14]
add esi, eax
jmp 0x411e05
mov dword [esp + 0x5c], edx
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x14]
jmp 0x411e30
mov esi, dword [esp + 0x14]
lea edx, [esi + 1]
cmp esi, 8
jg 0x411e1d
lea eax, [edi + edi*4]
lea edi, [ebx + eax*2]
mov dword [esp + 0x18], 0
jmp 0x411e30
mov dword [esp + 0x18], 0
cmp esi, 0xf
ja 0x411e30
lea eax, [ecx + ecx*4]
lea ecx, [ebx + eax*2]
mov esi, dword [esp + 0xc]
lea eax, [esi + 1]
mov dword [esp + 0x1c], eax
movsx ebx, byte [esi + 1]
mov dword [esp + 0xc], eax
mov esi, edx
mov edx, dword [esp + 0x5c]
jmp 0x411d2f
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], 0
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
and eax, 0xffffffdf
xor edx, edx
cmp eax, 0x45
jne 0x411ea6
movzx eax, byte [esp + 0x74]
cmp al, 0x30
je 0x411f88
test esi, esi
jne 0x411f88
cmp dword [esp + 0x18], 0
jne 0x411f88
mov dword [esp + 0x10], 6
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov edi, dword [ebp + 0xc]
jmp 0x4133a5
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x411ef4
mov dword [esp + 0x10], 1
mov eax, dword [eax + 0xc]
and eax, 3
mov dword [esp + 0x48], edx
je 0x4120a9
cmp eax, 3
je 0x4120b3
mov dword [esp + 0x54], 0
cmp eax, 2
jne 0x4120bc
mov eax, 2
sub eax, dword [esp + 0x44]
jmp 0x4120b8
cmp byte [esp + 0x74], 0x30
je 0x412406
cmp dword [esp + 0x18], 0
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x44]
jne 0x4133a9
cmp byte [esp + 0x7c], 0
mov eax, dword [esp + 0x20]
je case.0x411f2c.74
add eax, 0xffffffb7
cmp eax, 0x25
ja case.0x411f2c.74
jmp dword [eax*4 + 0x43c628]
lea esi, [esp + 0x1c]
push 0x43c6c0
push esi
call fcn.0042c830
mov ecx, dword [esp + 0x4c]
add esp, 8
test eax, eax
je case.0x411f2c.74
dec dword [esp + 0x1c]
push str.inity
push esi
call fcn.0042c830
add esp, 8
test eax, eax
jne 0x411f6b
inc dword [esp + 0x1c]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov edx, 3
mov esi, dword [ebp + 0x14]
jmp 0x41333e
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
mov dword [esp + 0x1c], edx
movsx eax, byte [eax + 1]
mov dword [esp + 0x54], 0
cmp eax, 0x2b
je 0x411fb1
cmp eax, 0x2d
jne 0x411fc0
mov dword [esp + 0x54], 1
mov eax, dword [esp + 0xc]
lea edx, [eax + 2]
mov dword [esp + 0x1c], edx
movsx eax, byte [eax + 2]
mov dword [esp + 0x20], eax
add eax, 0xffffffd0
cmp eax, 9
ja 0x41209a
cmp dword [esp + 0x20], 0x30
jne 0x411ff2
inc edx
nop dword [eax + eax]
mov dword [esp + 0x1c], edx
movsx eax, byte [edx]
inc edx
cmp eax, 0x30
je 0x411fe0
mov dword [esp + 0x20], eax
dec edx
mov eax, dword [esp + 0x20]
add eax, 0xffffffcf
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 8
ja 0x412257
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x20]
add eax, 0xffffffd0
mov dword [esp + 0x5c], eax
lea eax, [edx + 1]
mov dword [esp + 0x1c], eax
mov ah, byte [edx + 1]
mov al, ah
add al, 0xd0
cmp al, 9
ja 0x4122ef
mov dword [esp + 0x6c], edx
lea esi, [edx + 2]
nop word cs:[eax + eax]
movzx eax, ah
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
lea eax, [eax + eax*4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
lea eax, [eax + edx*2 - 0x30]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], esi
mov ah, byte [esi]
mov al, ah
add al, 0xd0
inc esi
cmp al, 0xa
jb 0x412040
mov byte [esp + 0x70], ah
mov eax, dword [esp + 0x20]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x48]
lea eax, [eax + esi*2]
mov esi, dword [esp + 0x84]
add esi, 0xfffffffe
mov edx, dword [esp + 0x6c]
jmp 0x4122f9
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
xor edx, edx
jmp 0x411ead
mov dword [esp + 0x54], 1
jmp 0x4120bc
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
test eax, eax
cmove eax, esi
mov dword [esp + 0x38], eax
cmp esi, 0x11
mov edx, 0x11
mov dword [esp + 0x14], esi
cmovl edx, esi
movd xmm1, edi
por xmm1, xmmword [0x43c5c0]
subsd xmm1, qword [0x43c5d0]
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0xc0], xmm1
cmp edx, 0xa
jl 0x412142
movd xmm0, ecx
por xmm0, xmmword [0x43c5c0]
subsd xmm0, qword [0x43c5d0]
mov eax, dword [0x43c72c]
mulsd xmm1, qword [eax + edx*8 - 0x48]
addsd xmm1, xmm0
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0xb8], xmm1
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
jmp 0x412150
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
mov ecx, edx
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x80]
cmp dword [esp + 0x4c], 0x35
mov dword [esp + 0x48], edx
jg 0x4122ce
cmp dword [esp + 0x14], 0xf
jg 0x4122ce
test edx, edx
je 0x412218
jle 0x412261
mov dword [esp + 0xc], ecx
cmp edx, 0x16
ja 0x4122d5
or esi, 0x100000
xor ecx, ecx
test eax, eax
setne cl
cmovne esi, eax
shl ecx, 5
add ecx, dword [edx*4 + 0x43c6cc]
tzcnt eax, esi
sub ecx, eax
add ecx, 0x15
xor eax, eax
cmp ecx, 0x36
setl al
mov ecx, dword [0x43c72c]
mulsd xmm1, qword [ecx + edx*8]
movapd xmmword [esp + 0x20], xmm1
movsd qword [esp + 0x60], xmm1
lea ecx, [esp + 0x60]
mov edx, dword [ebp + 0x10]
lea esi, [esp + 0x10]
push esi
push dword [esp + 0x58]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00413470
movapd xmm1, xmmword [esp + 0x34]
add esp, 0x14
movsd qword [esp + 0xf0], xmm1
test eax, eax
jne 0x412406
xor eax, eax
mov esi, dword [esp + 0xf4]
jmp 0x41241f
mov dword [esp + 0xc], ecx
movapd xmmword [esp + 0x20], xmm1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x60]
mov edx, dword [ebp + 0x10]
push eax
push dword [esp + 0x58]
push 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00413470
add esp, 0x14
test eax, eax
jne 0x412406
xor eax, eax
movapd xmm1, xmmword [esp + 0x20]
jmp 0x41241f
mov eax, dword [ebp + 0x10]
xor edx, edx
jmp 0x411eb0
cmp edx, 0xffffffea
jb 0x4122ce
mov dword [esp + 0xc], ecx
lea eax, [edx*8]
mov ecx, dword [0x43c72c]
sub ecx, eax
divsd xmm1, qword [ecx]
movapd xmmword [esp + 0x20], xmm1
movsd qword [esp + 0x60], xmm1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x60]
mov edx, dword [ebp + 0x10]
push eax
push dword [esp + 0x58]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00413470
movapd xmm1, xmmword [esp + 0x34]
add esp, 0x14
movsd qword [esp + 0x100], xmm1
test eax, eax
jne 0x412406
xor eax, eax
mov esi, dword [esp + 0x104]
jmp 0x41241f
mov eax, edx
jmp 0x412423
mov eax, 0x25
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp edx, eax
jle 0x4123ac
mov eax, edx
jmp 0x41241f
mov byte [esp + 0x70], ah
mov esi, edx
mov eax, dword [esp + 0x20]
sub esi, edx
inc esi
cmp eax, 0x4e50
mov edx, 0x4e1f
mov eax, dword [esp + 0x5c]
cmovge eax, edx
cmp esi, 9
cmovge eax, edx
mov edx, eax
neg edx
cmp dword [esp + 0x54], 0
cmove edx, eax
movsx eax, byte [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x411eb0
lea esi, [esp + 0x1c]
push 0x43c6c9
push esi
call fcn.0042c830
mov ecx, dword [esp + 0x4c]
add esp, 8
test eax, eax
mov ebx, dword [ebp + 0x10]
je case.0x411f2c.74
mov dword [esp + 0x10], 4
mov eax, dword [ebx + 8]
inc eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov edx, 4
cmp byte [eax], 0x28
jne 0x41240e
push dword [ebp + 0x18]
push ebx
push esi
call fcn.0042c9d0
add esp, 0xc
mov edx, eax
mov dword [esp + 0x10], eax
mov esi, dword [ebp + 0x14]
jmp 0x413341
mov dword [esp + 0x10], 6
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
jmp 0x4133a9
mov eax, 0xf
sub eax, ecx
mov ecx, edx
mov edx, dword [0x43c72c]
mulsd xmm1, qword [edx + eax*8]
sub ecx, eax
mulsd xmm1, qword [edx + ecx*8]
movapd xmmword [esp + 0x20], xmm1
movsd qword [esp + 0x60], xmm1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x60]
mov edx, dword [ebp + 0x10]
push eax
push dword [esp + 0x58]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00413470
movapd xmm1, xmmword [esp + 0x34]
add esp, 0x14
movsd qword [esp + 0xf8], xmm1
test eax, eax
je 0x412416
mov edi, dword [ebp + 0xc]
jmp 0x4133a5
mov esi, dword [ebp + 0x14]
jmp 0x413341
xor eax, eax
mov esi, dword [esp + 0xfc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
sub edx, ecx
add edx, eax
jle 0x41251b
mov eax, edx
and eax, 0xf
je 0x412459
mov ecx, dword [0x43c72c]
mulsd xmm1, qword [ecx + eax*8]
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0xd8], xmm1
mov esi, dword [esp + 0xdc]
xor ecx, ecx
cmp edx, 0x10
jb 0x412619
mov ecx, edx
shr ecx, 4
xor eax, eax
cmp edx, 0x100
jb 0x4124ca
mov eax, dword [0x43c728]
movsd xmm0, qword [eax + 0x20]
xor eax, eax
nop
mov edx, esi
shr edx, 0x14
and edx, 0x7ff
add eax, edx
add eax, 0xfffffc01
and esi, 0x800fffff
or esi, 0x3ff00000
mov dword [esp + 0x64], esi
movsd xmm1, qword [esp + 0x60]
mulsd xmm1, xmm0
movsd qword [esp + 0x60], xmm1
add ecx, 0xfffffff0
movsd qword [esp + 0xd0], xmm1
mov esi, dword [esp + 0xd4]
cmp ecx, 0xf
ja 0x412480
mov edx, esi
shr edx, 0x14
and edx, 0x7ff
mov dword [esp + 0x20], edx
and esi, 0x800fffff
or esi, 0x3ff00000
mov dword [esp + 0x64], esi
movsd xmm1, qword [esp + 0x60]
test ecx, ecx
je 0x412607
mov esi, dword [0x43c728]
jmp 0x412510
mov edx, ecx
shr ecx, 1
add esi, 8
cmp edx, 2
jb 0x412607
test cl, 1
je 0x412500
mulsd xmm1, qword [esi]
jmp 0x412500
xor ecx, ecx
test edx, edx
jns 0x412619
neg edx
mov eax, edx
and eax, 0xf
je 0x412551
mov ecx, dword [0x43c72c]
divsd xmm1, qword [ecx + eax*8]
xor ecx, ecx
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0xe8], xmm1
mov esi, dword [esp + 0xec]
cmp edx, 0x10
jb 0x412619
mov ecx, edx
shr ecx, 4
xor eax, eax
cmp edx, 0x100
jb 0x4125bf
mov eax, dword [0x43c730]
movsd xmm0, qword [eax + 0x20]
xor eax, eax
mov edx, esi
shr edx, 0x14
and edx, 0x7ff
add eax, edx
add eax, 0xfffffc01
and esi, 0x800fffff
or esi, 0x3ff00000
mov dword [esp + 0x64], esi
movsd xmm1, qword [esp + 0x60]
mulsd xmm1, xmm0
movsd qword [esp + 0x60], xmm1
add ecx, 0xfffffff0
movsd qword [esp + 0xe0], xmm1
mov esi, dword [esp + 0xe4]
cmp ecx, 0xf
ja 0x412575
mov edx, esi
shr edx, 0x14
and edx, 0x7ff
mov dword [esp + 0x20], edx
and esi, 0x800fffff
or esi, 0x3ff00000
mov dword [esp + 0x64], esi
movsd xmm1, qword [esp + 0x60]
test ecx, ecx
je 0x412607
mov esi, dword [0x43c730]
jmp 0x4125fc
mov edx, ecx
shr ecx, 1
add esi, 8
cmp edx, 2
jb 0x412607
test cl, 1
je 0x4125f0
mulsd xmm1, qword [esi]
jmp 0x4125f0
mov ecx, dword [esp + 0x20]
add ecx, eax
add ecx, 0xfffffc01
movsd qword [esp + 0x60], xmm1
sub esp, 0x10
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
movsd qword [esp], xmm1
mov esi, ecx
call fcn.0042bc80
mov edx, esi
add esp, 0x10
mov dword [esp + 0x58], eax
add edx, dword [esp + 0x40]
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x3c]
mov esi, ecx
sub esi, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
jle 0x412675
push esi
push eax
call fcn.0042cee0
add esp, 8
add esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
mov edx, esi
mov dword [esp + 0x18], edx
sub edx, dword [esp + 0x4c]
mov eax, ecx
add edx, ecx
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + 8]
inc ecx
mov dword [esp + 0xc], 0
cmp edx, ecx
jle 0x4126a1
mov edi, dword [ebp + 0xc]
mov ebx, esi
mov esi, dword [ebp + 0x14]
jmp 0x41326f
mov ecx, dword [esi + 4]
mov dword [esp + 0x68], edx
cmp edx, ecx
mov esi, dword [ebp + 0x14]
mov edx, ecx
mov dword [esp + 0x6c], ecx
jge 0x4126e6
mov edx, dword [esp + 0x18]
sub edx, ecx
mov ecx, edx
jle 0x412e6c
push ecx
push dword [esp + 0x24]
mov esi, ecx
call fcn.0042b780
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], eax
add dword [esp + 0x3c], esi
mov esi, dword [ebp + 0x14]
jmp 0x413093
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x90]
push eax
push edi
push dword [esp + 0x1c]
push dword [esp + 0x44]
push ebx
call fcn.0042c6a0
add esp, 0x14
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x8c], eax
add eax, 0xc
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x48]
mov edx, eax
neg edx
test eax, eax
mov ecx, 0
cmovs eax, ecx
mov dword [esp + 0x48], eax
cmovns edx, ecx
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x54]
and eax, 1
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x38], 0
jmp 0x4127af
ucomisd xmm2, xmm3
ja 0x412f93
mov dword [esp + 0x38], 0
cmp dword [esp + 0xc], 0
je 0x412a94
push eax
call fcn.0042b1d0
add esp, 4
push dword [esp + 0x5c]
call fcn.0042b1d0
add esp, 4
push dword [esp + 0x18]
call fcn.0042b1d0
add esp, 4
push dword [esp + 0x74]
call fcn.0042b1d0
add esp, 4
mov esi, dword [esp + 0x8c]
push dword [esi + 4]
call fcn.0042b070
add esp, 4
mov dword [esp + 0x5c], eax
add eax, 0xc
mov ecx, dword [esi + 0x10]
lea ecx, [ecx*4 + 8]
push ecx
push dword [esp + 0xb4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x20]
push dword [esi + 4]
call fcn.0042b070
add esp, 4
mov dword [esp + 0x14], eax
add eax, 0xc
lea ecx, [esi + 0xc]
mov edx, dword [esi + 0x10]
lea edx, [edx*4 + 8]
push edx
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x3c]
mov edi, esi
mov eax, dword [esp + 0x38]
sub edi, eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
lea ebx, [ecx + eax]
push 1
call fcn.0042b390
add esp, 4
test ebx, ebx
mov edx, ebx
mov ecx, 0
cmovns edx, ecx
cmovs ebx, ecx
mov ecx, dword [esp + 0x48]
sub ecx, edx
mov edx, dword [esp + 0x80]
add ebx, edx
sub esi, dword [esp + 0x4c]
add esi, dword [esp + 0x18]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x70], edi
sub edx, edi
sub esi, dword [esp + 0x6c]
mov edi, 0
cmovge esi, edi
add esi, edx
lea edx, [ebx + esi]
add esi, ecx
cmp edx, esi
mov edi, esi
mov dword [esp + 0x7c], edx
cmovl edi, edx
cmp edi, ebx
mov dword [esp + 0x74], ebx
cmovge edi, ebx
test edi, edi
mov ecx, 0
cmovle edi, ecx
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x4128d6
push ecx
push eax
call fcn.0042b5a0
add esp, 8
mov ebx, dword [esp + 0x14]
push ebx
mov dword [esp + 0x1c], eax
push eax
call fcn.0042b430
add esp, 8
mov dword [esp + 0x90], eax
push ebx
call fcn.0042b1d0
add esp, 4
mov eax, dword [esp + 0x90]
jmp 0x4128de
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
add ecx, edi
mov edx, dword [esp + 0x7c]
sub edx, ecx
test edx, edx
jle 0x4128fe
push edx
push eax
call fcn.0042b780
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x412910
mov dword [esp + 0x14], eax
jns 0x412910
neg edx
push edx
push eax
call fcn.0042cee0
add esp, 8
sub esi, edi
mov eax, dword [esp + 0x48]
test eax, eax
je 0x412929
push eax
push dword [esp + 0x60]
call fcn.0042b5a0
add esp, 8
jmp 0x41292d
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x74]
sub ecx, edi
test esi, esi
jle 0x412945
push esi
push eax
mov esi, ecx
call fcn.0042b780
mov ecx, esi
add esp, 8
mov edi, dword [ebp + 0xc]
test ecx, ecx
jle 0x412961
push ecx
push dword [esp + 0x1c]
mov esi, eax
call fcn.0042b780
add esp, 8
mov dword [esp + 0x18], eax
mov eax, esi
mov dword [esp + 0x5c], eax
push eax
push dword [esp + 0x18]
call fcn.0042b9b0
add esp, 8
cmp dword [eax + 0x10], 1
mov dword [esp + 0x74], eax
jg 0x412986
cmp dword [eax + 0x14], 0
je 0x412e95
mov esi, dword [eax + 0xc]
mov dword [eax + 0xc], 0
push dword [esp + 0x18]
push eax
call fcn.0042b950
add esp, 8
cmp dword [esp + 0x54], 0
je 0x4129dc
test eax, eax
jg 0x4129dc
mov eax, esi
xor eax, dword [esp + 0xa8]
je 0x412ea5
mov dword [esp + 0x38], eax
test esi, esi
je 0x412abe
mov dl, 1
xor ecx, ecx
mov dword [esp + 0x78], 0x20
mov dword [esp + 0x50], 0x21
jmp 0x412b83
test eax, eax
js 0x412ebe
mov eax, dword [esp + 0x18]
je 0x412f3c
push eax
push dword [esp + 0x78]
call fcn.0042c770
add esp, 8
fstp qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xc8]
movsd xmm0, qword [0x43c5d8]
ucomisd xmm0, xmm1
jae 0x412aad
mulsd xmm1, qword [0x43c5e0]
xor eax, eax
test esi, esi
setne dl
sete al
shl eax, 4
add eax, 0x10
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], 0
movsd xmm0, qword [0x43c5e8]
ucomisd xmm0, xmm1
jbe 0x412b33
cvttsd2si ecx, xmm1
cvttpd2dq xmm0, xmm1
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mov eax, dword [esp + 0x54]
cmp eax, 2
je 0x412b3b
cmp eax, 1
je 0x412b41
test eax, eax
jne 0x412b8f
ucomisd xmm1, qword [0x43c5e0]
jae 0x412b4f
jmp 0x412b8f
push dword [esp + 0x20]
call fcn.0042d030
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
jmp 0x412782
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x50]
jmp 0x412b6b
mov dword [esp + 0x50], 0x11
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
je 0x412d12
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov edx, ecx
cmp ecx, 0x20
jl 0x412b06
xor eax, eax
mov ecx, dword [esp + 0x4c]
nop word [eax + eax]
mov edx, dword [esp + 0x20]
cmp dword [edx + eax*4 + 0x14], 0
jne 0x412b66
inc eax
lea edx, [ecx - 0x20]
cmp ecx, 0x3f
mov ecx, edx
jg 0x412af0
cmp edx, 2
jl 0x413039
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + eax*4 + 0x14]
tzcnt ecx, edi
shr edi, cl
mov dword [ebx + eax*4 + 0x14], edi
mov edi, dword [ebp + 0xc]
dec edx
mov eax, 0x11
cmp ecx, edx
jb 0x412b6b
jmp 0x413039
xor ecx, ecx
movapd xmm0, xmm1
jmp 0x412b8f
test esi, esi
jne 0x412b45
jmp 0x412b8f
test esi, esi
jne 0x412b8f
ucomisd xmm1, qword [0x43c620]
jbe 0x412b8f
inc ecx
mov eax, 0x30
sub eax, dword [esp + 0x78]
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
mov dword [esp + 0x78], eax
jmp 0x412b8f
mov eax, 0x11
test esi, esi
mov dword [esp + 0x50], eax
je 0x412d12
mov dl, 1
xor ecx, ecx
mov dword [esp + 0x78], 0x20
movsd xmm0, qword [0x43c5f0]
movapd xmm1, xmm0
mov dword [esp + 0x7c], edx
movapd xmmword [esp + 0x110], xmm1
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add edx, eax
mov dword [esp + 0x70], edx
cmp dword [esp + 0xc], 0
movapd xmmword [esp + 0x90], xmm0
mov dword [esp + 0x84], ecx
jne 0x412bed
mov ebx, dword [esp + 0x4c]
mov esi, ebx
sub esi, eax
jle 0x412bed
push esi
push dword [esp + 0x24]
call fcn.0042b780
movapd xmm0, xmmword [esp + 0x98]
add esp, 8
mov edi, eax
sub dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
jmp 0x412bf1
mov edi, dword [esp + 0x20]
sub esp, 0x10
lea eax, [esp + 0x11c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc4]
mov dword [esp + 8], eax
movsd qword [esp], xmm0
call fcn.0042bc80
add esp, 0x10
mov esi, eax
mov eax, dword [esp + 0xb4]
test eax, eax
js 0x412c95
je 0x412c32
push eax
push esi
call fcn.0042b780
add esp, 8
mov esi, eax
cmp byte [esp + 0x7c], 0
je 0x412ca8
push esi
push edi
call fcn.0042d070
add esp, 8
mov dword [esp + 0x58], eax
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x10]
cmp eax, dword [edi + 0x10]
jg 0x412c6f
mov ecx, dword [esp + 0x20]
bsr ecx, dword [ecx + eax*4 + 0x10]
xor ecx, 0x1f
bsr eax, dword [edi + eax*4 + 0x10]
xor eax, 0x1f
cmp ecx, eax
jae 0x412dae
cmp dword [esp + 0xc], 0
je 0x412d44
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
xor ecx, ecx
cmp eax, dword [esp + 0x4c]
setne cl
mov dword [esp + 0xc], ecx
jmp 0x412dae
neg eax
push eax
push esi
call fcn.0042cee0
add esp, 8
cmp byte [esp + 0x7c], 0
jne 0x412c39
push esi
push edi
call fcn.0042b9b0
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], eax
cmp dword [esp + 0xc], 0
mov dword [esp + 0xc], 1
jne 0x412dae
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x10], eax
jl 0x412cf5
mov ecx, dword [esp + 0x20]
bsr ecx, dword [ecx + eax*4 + 0x10]
xor ecx, 0x1f
bsr eax, dword [edi + eax*4 + 0x10]
xor eax, 0x1f
cmp ecx, eax
jbe 0x412e5f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
cmp ebx, eax
jne 0x412d77
dec dword [esp + 0x3c]
mov dword [esp + 0x68], eax
jmp 0x412dae
xor ecx, ecx
mov dword [esp + 0x78], 0x10
cmp dword [esp + 0xc], 0
je 0x412d64
movsd xmm0, qword [0x43c5f0]
movapd xmm1, xmm0
mov edx, 0
cmp dword [esp + 0x70], 1
jg 0x412b8f
jmp 0x412fa4
push 1
push dword [esp + 0x24]
call fcn.0042cee0
add esp, 8
inc dword [esp + 0x40]
inc dword [esp + 0x68]
mov dword [esp + 0xc], 0
jmp 0x412da3
movsd xmm0, qword [0x43c5f0]
movapd xmm1, xmm0
xor edx, edx
jmp 0x412b8f
push 1
push ecx
call fcn.0042b780
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], eax
dec dword [esp + 0x40]
dec ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x84], 0
push esi
call fcn.0042b1d0
add esp, 4
push edi
call fcn.0042b1d0
add esp, 4
cmp dword [esp + 0x38], 0
jne 0x412e92
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x40]
cmp dword [esp + 0x70], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
jne 0x41276f
cmp dword [esp + 0x84], 0
je 0x41276f
movapd xmm3, xmmword [esp + 0x90]
mulsd xmm3, qword [0x43c5f8]
movapd xmm2, xmmword [esp + 0x110]
movapd xmm0, xmm2
addsd xmm0, qword [0x43c600]
movapd xmm1, xmm3
xorpd xmm1, xmmword [0x43c610]
ucomisd xmm1, xmm0
ja 0x412765
ucomisd xmm0, xmm3
jbe 0x41276f
movapd xmm1, xmm3
movsd xmm0, qword [0x43c5f0]
subsd xmm0, xmm3
ucomisd xmm0, qword [esp + 0x110]
jbe 0x41276f
jmp 0x412f93
mov dword [esp + 0xc], 0
jmp 0x412dae
jns 0x413093
add eax, ecx
mov dword [esp + 0x3c], eax
jle 0x413074
neg ecx
push ecx
push dword [esp + 0x24]
call fcn.0042cee0
add esp, 8
jmp 0x413093
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
jmp 0x4131b8
xor eax, eax
test esi, esi
sete al
shl eax, 4
add eax, 0x11
mov dword [esp + 0x10], eax
mov esi, dword [ebp + 0x14]
jmp 0x4131b8
xor eax, eax
test esi, esi
sete al
shl eax, 4
add eax, 0x11
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], eax
test esi, esi
mov eax, dword [esp + 0x6c]
jne 0x413164
cmp dword [esp + 0x70], 1
mov esi, dword [ebp + 0x14]
jg 0x413167
cmp dword [esp + 0xc], 0
jne 0x413167
mov esi, dword [esp + 0x68]
cmp esi, eax
je 0x413030
push 1
push dword [esp + 0x78]
call fcn.0042b780
add esp, 8
push dword [esp + 0x18]
mov dword [esp + 0x78], eax
push eax
call fcn.0042b950
add esp, 8
test eax, eax
jle 0x413030
mov eax, dword [esp + 0x20]
add eax, 0x10
mov ecx, 0x11
jmp 0x412fea
mov eax, dword [esp + 0x20]
add eax, 0x10
test esi, esi
je 0x412fce
mov dword [esp + 0x48], 0x11
cmp dword [esp + 0xc], 0
je 0x413112
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov edx, eax
lea eax, [ebx + 0x14]
mov edi, ecx
sar edi, 5
lea ebx, [ebx + edi*4]
add ebx, 0x14
mov dword [esp + 0x38], eax
mov edi, eax
mov eax, edx
cmp edi, ebx
jae 0x4130f7
cmp dword [edi], 0xffffffff
lea edi, [edi + 4]
je 0x412f7e
jmp 0x413112
mov eax, dword [esp + 0x50]
or eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
jmp 0x4131b8
mov eax, dword [esp + 0x20]
add eax, 0x10
mov esi, dword [ebp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], 0x50
mov eax, 0x50
jmp 0x4131b8
mov dword [esp + 0x48], 0x21
cmp dword [esp + 0x70], 1
jne 0x413112
mov esi, dword [esp + 0x68]
mov ecx, 1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], ecx
cmp esi, dword [esp + 0x6c]
jne 0x413143
mov dword [esp + 0x10], 0x21
cmp dword [eax], 1
mov esi, dword [ebp + 0x14]
jne 0x4131b3
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
cmp eax, 1
mov ecx, dword [esp + 0x88]
cmove ecx, eax
mov dword [esp + 0x88], ecx
jmp 0x4131b3
mov edx, dword [esp + 0x50]
jmp 0x4131c1
mov dword [esp + 0x10], 0x11
mov eax, dword [esp + 0x68]
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
push eax
push dword [esp + 0x24]
call fcn.004119e0
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], eax
mov eax, 0x11
mov esi, dword [ebp + 0x14]
jmp 0x4131b8
cmp eax, 0xfffffffe
jle 0x4130c5
mov dword [esp + 0x3c], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], 1
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc], 1
cmp dword [esp + 0x88], 0
mov eax, dword [esp + 0x90]
je 0x4130ee
mov edx, dword [esp + 0x68]
inc edx
cmp edx, ecx
mov dword [esp + 0x68], ecx
jge 0x4126f5
mov eax, dword [esp + 0x20]
mov dword [eax + 0x10], 0
mov dword [esp + 0x20], eax
mov dword [eax + 0x14], 0
mov eax, dword [esp + 0x6c]
mov dword [esi], eax
mov edx, 0x50
mov edi, dword [ebp + 0xc]
jmp 0x413356
mov dword [esp + 0x68], ecx
jmp 0x4126f5
and ecx, 0x1f
je 0x4133ec
mov ebx, 0xffffffff
shl ebx, cl
or ebx, dword [edi]
cmp ebx, 0xffffffff
je 0x4133ec
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x70]
cmp ecx, dword [esp + 0x4c]
jge 0x41312f
cmp dword [esp + 0xc], 0
je 0x413421
mov ecx, dword [esp + 0x20]
test byte [ecx + 0x14], 1
mov edi, dword [ebp + 0xc]
jne 0x41316d
mov eax, edx
mov esi, dword [ebp + 0x14]
jmp 0x4131b8
mov eax, dword [esp + 0x4c]
sub dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
push eax
push dword [esp + 0x24]
call fcn.004119e0
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], eax
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x50]
jmp 0x4131b8
test esi, esi
je 0x413429
push dword [esp + 0x20]
call fcn.00411920
add esp, 4
mov dword [esp + 0x58], eax
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
neg ecx
and ecx, 0x1f
mov edx, dword [eax + 0x10]
mov dword [esp + 0x20], eax
bsr edx, dword [eax + edx*4 + 0x10]
xor edx, 0x1f
cmp edx, ecx
mov esi, dword [ebp + 0x14]
je 0x4131ab
inc ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x10], 0x21
mov eax, 0x21
mov edx, eax
cmp dword [esp + 0xc], 0
jne 0x413213
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x4c]
sub esi, dword [esp + 0x3c]
jne 0x4131d8
mov esi, dword [ebp + 0x14]
jmp 0x413213
mov dword [esp + 0x48], edx
test esi, esi
jle 0x4131f7
push esi
push dword [esp + 0x24]
call fcn.0042b780
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], eax
jmp 0x413208
mov eax, esi
neg eax
push eax
push dword [esp + 0x24]
call fcn.0042cee0
add esp, 8
sub dword [esp + 0x40], esi
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov dword [esi], eax
push dword [esp + 0x14]
mov esi, edx
call fcn.0042b1d0
add esp, 4
push dword [esp + 0x5c]
call fcn.0042b1d0
add esp, 4
push dword [esp + 0x18]
call fcn.0042b1d0
add esp, 4
push dword [esp + 0x8c]
call fcn.0042b1d0
add esp, 4
push dword [esp + 0x74]
call fcn.0042b1d0
mov edx, esi
mov esi, dword [ebp + 0x14]
add esp, 4
mov eax, dword [esp + 0x40]
mov ebx, dword [ebp + 0x10]
cmp eax, dword [ebx + 8]
jle 0x41334f
push dword [esp + 0x20]
call fcn.0042b1d0
add esp, 4
mov dword [esp + 0x58], 0
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov eax, dword [ebx + 0xc]
and eax, 3
cmp eax, 1
je 0x41330e
cmp eax, 3
mov ecx, dword [esp + 0x44]
je 0x41330a
cmp eax, 2
jne 0x4132ae
cmp dword [esp + 0x44], 0
je 0x41330e
mov dword [esp + 0x10], 0x11
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi], eax
mov ebx, dword [ecx]
lea esi, [ebx + 0x1f]
sar esi, 5
test ebx, ebx
jle 0x4132f3
mov edx, dword [ebp + 0x18]
lea eax, [edx + esi*4]
lea ecx, [edx + 4]
cmp eax, ecx
cmova ecx, eax
mov eax, edx
not eax
add eax, ecx
and eax, 0xfffffffc
add eax, 4
push eax
push 0xff
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
mov edx, 0x11
and ebx, 0x1f
je 0x413347
mov cl, 0x20
sub cl, bl
mov eax, dword [ebp + 0x18]
shr dword [eax + esi*4 - 4], cl
jmp 0x413347
test ecx, ecx
je 0x4132ae
mov dword [esp + 0x10], 0xa3
mov ecx, dword [esp + 0x4c]
mov eax, ecx
sar eax, 5
and ecx, 0x1f
cmp ecx, 1
sbb eax, 0xffffffff
shl eax, 2
push eax
push 0
push dword [ebp + 0x18]
call sub.msvcrt.dll_memset
add esp, 0xc
mov edx, 0xa3
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 8]
inc eax
mov dword [esi], eax
mov dword [esp + 0x20], 0
cmp dword [esp + 0xc], 0
je 0x4133a5
cmp dword [esp + 0x88], 0
je 0x413375
mov eax, dword [esp + 0x20]
mov dword [eax + 0x10], 0
mov dword [esp + 0x10], 0x50
jmp 0x41339a
mov eax, edx
and eax, 0xfffffff8
xor ecx, ecx
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x10], 0
setg cl
lea eax, [eax + ecx*2]
mov dword [esp + 0x10], eax
test dl, 0x30
je 0x4133a5
or eax, 0x40
mov dword [esp + 0x10], eax
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov ecx, dword [esp + 0x44]
test edi, edi
je 0x4133b3
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
test ecx, ecx
je 0x4133bc
or byte [esp + 0x10], 8
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4133e0
push eax
push dword [esp + 0x50]
push dword [ebp + 0x18]
call fcn.0042c870
add esp, 0xc
push dword [esp + 0x58]
call fcn.0042b1d0
add esp, 4
mov eax, dword [esp + 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [eax], 1
mov eax, dword [esp + 0x38]
mov dword [eax], 1
mov dword [esp + 0x3c], 1
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x6c]
lea eax, [eax + ecx - 1]
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], 0x21
mov edx, 0x21
mov edi, dword [ebp + 0xc]
jmp 0x4131c1
cmp dword [esp + 0x70], 1
mov esi, dword [ebp + 0x14]
je 0x412fae
mov ecx, dword [esp + 0x20]
add ecx, 0x14
mov eax, dword [eax]
lea eax, [ecx + eax*4]
mov edx, dword [ecx]
test edx, edx
jne 0x413458
mov dword [ecx], 0xffffffff
add ecx, 4
cmp ecx, eax
jb 0x413443
jmp 0x41345b
dec edx
mov dword [ecx], edx
mov dword [esp + 0x10], 0x11
mov eax, 0x11
jmp 0x4131b8