Function at 0x10058fb0
Capabilities:
Encrypt data using speck
Parse credit card information
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x10115034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], 0
push edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x75], 0
mov ebx, dword [esi]
mov edi, dword [esi + 0x58]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x28], edi
mov al, byte [ebx + 0x42]
mov byte [ebp - 0x68], al
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x20], eax
call fcn.100527e0
cmp dword [esi + 0x28], 7
je 0x1005aa95
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x68], 0
cmp dword [ebx + 0xf8], 0
mov dword [ebx + 0x184], 0
jne 0x1005e0cd
cmp dword [ebx + 0x130], 0
je 0x10059067
mov ecx, dword [ebx + 0x138]
xor edx, edx
mov eax, dword [esi + 0xac]
div ecx
sub ecx, edx
mov dword [ebp - 0xa8], ecx
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x130], 0x3e00
mov dword [ebp - 0x12c], 0x17
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
xor eax, eax
inc eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], eax
mov ecx, 4
mov al, byte [edi]
movzx edx, al
mov byte [ebp - 0x35], al
mov dword [ebp - 0x2c], edx
cmp edx, 0xa0
ja case.0x100590a9.95
jmp dword [edx*4 + 0x1005e240]
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x20]
lea esi, [eax + eax*4]
mov eax, 0x66666667
mov word [ebx + esi*8 + 8], cx
mov ecx, edi
sub ecx, dword [ebp - 0x64]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8], eax
mov dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x74]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea edi, [ecx + eax*4]
mov eax, dword [ebp - 0x18]
add edi, 0x14
jmp 0x10059086
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x64]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*4]
mov ebx, dword [ebp - 0x74]
mov eax, 0x80
add edi, 0x14
mov word [edx + ecx*8 + 8], ax
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0xc]
dec eax
cdq
mov dword [ebx + ecx*8], eax
mov eax, 4
mov dword [ebx + ecx*8 + 4], edx
mov word [ebx + ecx*8 + 8], ax
cmp dword [edi + 8], 0
jne 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x64]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea edi, [edx + eax*4]
mov eax, 0x80
mov word [ebx + ecx*8 + 8], ax
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x64]
mov eax, dword [ebx + 4]
sub ebx, edi
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0x20]
mov word [eax + esi*8 + 8], cx
mov ecx, dword [eax + esi*8]
mov eax, 0x66666667
imul ebx
mov ebx, dword [ebp - 0x20]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8], eax
lea eax, [ecx + ecx*4]
lea edi, [edi + eax*4]
mov dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je case.0x100590a9.95
mov ecx, edi
mov eax, 0x66666667
sub ecx, dword [ebp - 0x64]
imul ecx
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [ebp - 0x28]
cmp dword [edx + 4], 0
jne 0x1005dbbb
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x1005dbbb
mov eax, dword [ecx + 4]
dec dword [esi + 0xc0]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x2c]
add dword [ebx + 0x5c], eax
mov dword [ebx + 0x58], eax
call fcn.10053290
mov esi, dword [ebp - 0x28]
cmp dword [esi + 8], 4
mov esi, dword [ebp - 0x14]
jne 0x10059255
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + ecx*4 + 8]
dec eax
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
mov ecx, dword [esi + 0x5c]
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x64], edx
lea edi, [edx + eax*4]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x18]
add edi, 0x14
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov ebx, dword [ebp - 0x74]
mov ecx, eax
mov eax, dword [edi + 4]
add edi, 0x14
cdq
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], edx
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov ecx, dword [edi + 0x10]
mov edx, eax
mov ebx, dword [ebp - 0x74]
add edi, 0x14
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov ebx, dword [ebp - 0x74]
mov ecx, eax
mov eax, 8
mov word [ecx + 8], ax
mov eax, dword [edi + 0x10]
add edi, 0x14
movsd xmm0, qword [eax]
mov eax, dword [ebp - 0x18]
movsd qword [ecx], xmm0
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov esi, eax
mov eax, dword [ebp - 0x28]
mov byte [eax], 0x4f
mov eax, dword [eax + 0x10]
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.100355b0
cmp byte [ebp - 0x68], 1
mov edi, dword [ebp - 0x28]
mov dword [edi + 4], eax
je 0x10059370
mov edx, dword [ebp - 0x24]
mov ecx, esi
push 0
push 1
push 0xffffffffffffffff
call fcn.10050a70
movzx edx, byte [ebp - 0x68]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.1004fe30
test eax, eax
jne 0x1005aa95
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
mov eax, edi
cmp byte [eax + 1], 0xff
jne 0x1005935d
mov edx, dword [eax + 0x10]
mov ecx, ebx
call fcn.10032860
mov eax, edi
mov edi, dword [ebp - 0x28]
mov byte [eax + 1], 0xff
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 0x60]
jg 0x10059bc0
mov esi, dword [ebp - 0x14]
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov ecx, eax
mov eax, 0xa02
mov word [ecx + 8], ax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 4]
mov dword [ecx + 0xc], eax
mov al, byte [ebp - 0x68]
mov byte [ecx + 0xa], al
mov eax, dword [edi + 0xc]
test eax, eax
jle case.0x100590a9.95
mov ebx, dword [ebp - 0x20]
lea esi, [eax + eax*4]
movzx eax, word [edi + 2]
cdq
cmp dword [ebx + esi*8], eax
jne 0x1005943d
cmp dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 0x14]
jne case.0x100590a9.95
mov ebx, dword [ebp - 0x74]
mov eax, 0xa10
mov word [ecx + 8], ax
add edi, 0x14
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov ebx, dword [edi + 0xc]
mov ecx, 1
sub ebx, dword [edi + 8]
mov edx, 0x101
cmp dword [edi + 4], 0
lea esi, [eax + 0xc]
cmovne ecx, edx
mov dword [esi], 0
movzx ecx, cx
mov dword [ebp - 0x24], ecx
mov word [eax + 8], cx
test ebx, ebx
jle 0x1005943d
mov edi, ecx
lea esp, [esp]
lea esi, [esi + 0x28]
lea ecx, [esi - 0xc]
call fcn.10050780
dec ebx
mov word [esi - 4], di
mov dword [esi], 0
test ebx, ebx
jg 0x10059420
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
add edi, 0x14
jmp 0x10059086
mov eax, dword [edi + 4]
mov ebx, 0xff7f
mov edx, dword [ebp - 0x20]
lea ecx, [eax + eax*4]
mov ax, word [edx + ecx*8 + 8]
and ax, bx
mov ebx, dword [ebp - 0x74]
or ax, 1
add edi, 0x14
mov word [edx + ecx*8 + 8], ax
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov esi, eax
mov eax, dword [ebp - 0x28]
push 0
push 0
mov ecx, esi
push dword [eax + 4]
mov edx, dword [eax + 0x10]
call fcn.10050a70
mov al, byte [ebp - 0x68]
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x74]
add edi, 0x14
mov byte [esi + 0xa], al
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov eax, dword [edi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x74]
lea esi, [eax + ecx*8]
lea ecx, [esi - 0x28]
call fcn.100508f0
test eax, eax
jne 0x10059bc0
mov eax, dword [edi + 8]
lea edx, [esi - 0x28]
mov ecx, dword [ebp - 0x20]
push 0x800
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.10050950
mov esi, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
lea ecx, [edx + eax*8]
mov eax, dword [edi + 8]
mov dword [ebp - 0x5c], ecx
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
mov edi, edi
mov edx, ecx
mov ecx, esi
call fcn.10050a20
mov eax, 0x1000
test word [esi + 8], ax
je 0x10059543
mov ecx, esi
call fcn.1004ff90
test eax, eax
jne 0x1005aa95
mov ecx, dword [ebp - 0x5c]
add esi, 0x28
add ecx, 0x28
dec dword [ebp - 0x54]
mov dword [ebp - 0x5c], ecx
jne 0x10059520
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
lea ecx, [edx + eax*8]
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
mov dword [ebp - 0x54], ecx
mov edx, ecx
push 0x1000
mov ecx, esi
call fcn.10050950
mov eax, 0x1000
add esp, 4
test word [esi + 8], ax
je 0x100595ae
mov ecx, esi
call fcn.1004ff90
test eax, eax
jne 0x1005aa95
mov ecx, dword [ebp - 0x5c]
mov eax, ecx
dec ecx
mov dword [ebp - 0x5c], ecx
test eax, eax
je 0x1005943d
mov ecx, dword [ebp - 0x54]
add esi, 0x28
add ecx, 0x28
jmp 0x10059580
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x20]
push 0x1000
lea eax, [eax + eax*4]
lea edx, [ebx + eax*8]
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
call fcn.10050950
mov eax, dword [ebp - 0x18]
add esp, 4
mov ebx, dword [ebp - 0x74]
add edi, 0x14
jmp 0x10059086
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
push dword [ebx + eax*8 + 4]
push dword [ebx + eax*8]
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
call fcn.100507e0
mov eax, dword [ebp - 0x18]
add esp, 8
mov ebx, dword [ebp - 0x74]
add edi, 0x14
jmp 0x10059086
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea edx, [esi + eax*8]
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], edx
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x34], ecx
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
movzx eax, word [edx + 8]
mov dword [ebp - 0x24], eax
mov al, byte [ecx + 8]
or al, byte [ebp - 0x24]
test al, 1
je 0x10059676
mov ecx, esi
call fcn.10050780
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
movzx eax, word [edx + 8]
test eax, 0x4000
je 0x10059693
mov ecx, edx
call fcn.10050010
test eax, eax
jne 0x1005aa95
mov ecx, dword [ebp - 0x34]
mov eax, 0x4000
test word [ecx + 8], ax
je 0x100596ab
call fcn.10050010
test eax, eax
jne 0x1005aa95
mov eax, dword [ebp - 0x2c]
test byte [eax + 8], 0x12
jne 0x100596cb
mov dl, byte [ebp - 0x68]
mov ecx, eax
push 0
call fcn.100500c0
add esp, 4
test eax, eax
jne 0x1005aa95
mov eax, dword [ebp - 0x34]
test byte [eax + 8], 0x12
jne 0x100596ee
mov dl, byte [ebp - 0x68]
mov ecx, eax
push 0
call fcn.100500c0
add esp, 4
test eax, eax
jne 0x1005aa95
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
add eax, dword [ecx + 0xc]
cdq
mov dword [ebp - 0x50], eax
mov ecx, edx
mov eax, dword [ebx + 0x60]
cdq
cmp ecx, edx
jg 0x10059bc0
mov edx, dword [ebp - 0x50]
jl 0x10059716
cmp edx, eax
ja 0x10059bc0
xor eax, eax
mov ecx, esi
cmp esi, dword [ebp - 0x34]
sete al
add edx, 2
push eax
call fcn.1004fe50
add esp, 4
test eax, eax
jne 0x1005aa95
mov ax, word [esi + 8]
mov ecx, 0x3e00
mov ebx, dword [ebp - 0x34]
and ax, cx
or ax, 2
mov word [esi + 8], ax
cmp esi, ebx
je 0x10059760
push dword [ebx + 0xc]
push dword [ebx + 0x10]
push dword [esi + 0x10]
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push dword [eax + 0xc]
push dword [eax + 0x10]
mov eax, dword [esi + 0x10]
add eax, dword [ebx + 0xc]
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [esi + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x74]
mov byte [ecx + eax], 0
mov eax, dword [esi + 0x10]
mov byte [eax + ecx + 1], 0
mov eax, 0x200
or word [esi + 8], ax
add edi, 0x14
mov al, byte [ebp - 0x68]
mov byte [esi + 0xa], al
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xc], ecx
mov esi, dword [ebp - 0x14]
jmp 0x10059086
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.10058f20
movzx ebx, ax
mov eax, dword [edi + 8]
mov dword [ebp - 0x6c], ebx
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.10058f20
mov ecx, dword [ebp - 0x30]
movzx edx, ax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x24], edx
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov al, byte [esi + 8]
or al, byte [ecx + 8]
test al, 1
jne 0x10059a32
mov al, dl
and al, bl
test al, 4
je 0x10059952
mov eax, ecx
mov byte [ebp - 0x35], 1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, esi
mov esi, dword [eax]
mov ebx, dword [eax + 4]
movzx eax, byte [edi]
add eax, 0xffffffd1
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], ebx
cmp eax, 3
ja case.default.0x1005983b
jmp dword [eax*4 + 0x1005e4c4]
push edx
push ecx
lea ecx, [ebp - 0x98]
call fcn.10036890
add esp, 8
test eax, eax
je 0x10059919
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x30]
call fcn.10050430
mov ecx, esi
movsd qword [ebp - 0x48], xmm0
call fcn.10050430
movzx eax, byte [edi]
movapd xmm1, xmm0
add eax, 0xffffffd1
movsd qword [ebp - 0x60], xmm1
cmp eax, 3
ja case.default.0x10059889
jmp dword [eax*4 + 0x1005e4d4]
push edx
push ecx
lea ecx, [ebp - 0x98]
call fcn.10036930
add esp, 8
test eax, eax
jne 0x1005985a
jmp 0x10059919
push edx
push ecx
lea ecx, [ebp - 0x98]
call fcn.10036980
add esp, 8
test eax, eax
jne 0x1005985a
jmp 0x10059919
mov eax, ecx
or eax, edx
je 0x10059a32
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x100598df
test esi, esi
jne 0x100598df
cmp ebx, 0x80000000
je 0x1005985a
push edx
push ecx
push ebx
push esi
call fcn.100dd900
jmp 0x1005990d
mov eax, ecx
or eax, edx
je 0x10059a32
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x10059904
mov ecx, 1
xor edx, edx
push edx
push ecx
push ebx
push esi
call fcn.100dda90
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x2c]
mov edx, 0x3e00
mov eax, dword [ebp - 0x98]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x74]
mov dword [ecx], eax
mov eax, dword [ebp - 0x94]
mov dword [ecx + 4], eax
mov ax, word [ecx + 8]
and ax, dx
or ax, 4
add edi, 0x14
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov byte [ebp - 0x35], 0
jmp 0x10059860
addsd xmm1, qword [ebp - 0x48]
jmp 0x100599dc
subsd xmm1, qword [ebp - 0x48]
jmp 0x100599dc
mulsd xmm1, qword [ebp - 0x48]
jmp 0x100599dc
movsd xmm0, qword [ebp - 0x48]
xorps xmm2, xmm2
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10059a32
divsd xmm1, xmm0
jmp 0x100599dc
movsd xmm0, qword [ebp - 0x48]
call fcn.100ddf1f
movsd xmm0, qword [ebp - 0x60]
mov esi, eax
mov ebx, edx
call fcn.100ddf1f
mov ecx, eax
mov dword [ebp - 0x94], edx
mov eax, esi
mov dword [ebp - 0x98], ecx
or eax, ebx
je 0x10059a32
mov eax, esi
and eax, ebx
cmp eax, 0xffffffff
jne 0x100599c8
mov esi, 1
xor ebx, ebx
push ebx
push esi
push edx
push ecx
call fcn.100dda90
mov ecx, eax
call fcn.100de0bf
movapd xmm1, xmm0
movapd xmm0, xmm1
call fcn.10035570
test eax, eax
jne 0x10059a32
mov ecx, dword [ebp - 0x2c]
mov edx, 0x3e00
mov ax, word [ecx + 8]
and ax, dx
movsd qword [ecx], xmm1
or ax, 8
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x24]
or al, byte [ebp - 0x6c]
test al, 8
jne 0x1005943d
cmp byte [ebp - 0x35], 0
jne 0x1005943d
call fcn.10050490
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [ebp - 0x2c]
call fcn.10050780
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
test eax, eax
je case.0x100590a9.95
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
push 0
push 0
lea ecx, [ecx + eax*8]
call fcn.100507e0
mov eax, dword [ebp - 0x18]
add esp, 8
mov ebx, dword [ebp - 0x74]
add edi, 0x14
jmp 0x10059086
movzx eax, word [edi + 2]
mov ecx, ebx
mov dword [ebp - 0x24], eax
push 0
lea eax, [eax*4 + 0x1c]
push eax
call fcn.10032bb0
mov esi, eax
add esp, 8
test esi, esi
je 0x1005aa95
mov dword [esi], 0
mov ecx, edi
mov eax, dword [edi + 0x10]
sub ecx, dword [ebp - 0x64]
mov dword [esi + 4], eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x24]
mov byte [esi + 0x1a], al
mov word [edi], 0xf05b
mov dword [edi + 0x10], esi
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
mov esi, dword [edi + 0x10]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov dword [ebp - 0x2c], edx
cmp dword [esi], edx
je 0x10059b1a
movzx ecx, byte [esi + 0x1a]
dec ecx
mov dword [esi], edx
js 0x10059b1a
mov ebx, dword [ebp - 0x20]
lea edx, [ecx + 7]
lea edx, [esi + edx*4]
nop
mov eax, dword [edi + 8]
lea edx, [edx - 4]
add eax, ecx
dec ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx + 4], eax
jns 0x10059b00
mov ebx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x2c]
mov ax, word [edx + 8]
mov ecx, 0x3e00
and ax, cx
or ax, 1
mov word [edx + 8], ax
lea eax, [esi + 0x1c]
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x1a]
push eax
mov byte [esi + 0x19], 0
mov eax, dword [ecx + 0xc]
push esi
call eax
add esp, 0xc
cmp byte [esi + 0x19], 0
je 0x10059b99
cmp dword [esi + 0x14], 0
je 0x10059b75
push dword [ebp - 0x2c]
call fcn.10056520
add esp, 4
push eax
push 0x101044c4
push dword [ebp - 0x14]
call fcn.10051320
mov eax, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 0x1c], eax
push dword [edi + 4]
mov ecx, ebx
push dword [esi + 0x10]
mov esi, dword [ebp - 0x14]
lea edx, [esi + 0xcc]
call fcn.100543e0
mov eax, dword [ebp - 0x1c]
add esp, 8
test eax, eax
jne 0x1005dc8b
mov esi, dword [ebp - 0x2c]
test byte [esi + 8], 0x12
je 0x1005943d
movzx edx, byte [ebp - 0x68]
mov ecx, esi
call fcn.1004fe30
mov ecx, esi
call fcn.100508f0
test eax, eax
je 0x1005943d
mov esi, dword [ebp - 0x14]
push str.string_or_blob_too_big
push esi
call fcn.10051320
add esp, 8
mov eax, 0x12
jmp 0x1005dc8b
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*8]
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea ecx, [edx + eax*8]
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov al, byte [ecx + 8]
or al, byte [ebx + 8]
mov dword [ebp - 0x24], edx
test al, 1
je 0x10059c1b
mov ecx, edx
call fcn.10050780
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
call fcn.10050380
mov esi, edx
mov dword [ebp - 0x34], eax
mov ecx, ebx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], esi
call fcn.10050380
mov cl, byte [edi]
mov ebx, eax
cmp cl, 0x2b
jne 0x10059c4d
mov ecx, dword [ebp - 0x34]
and ecx, ebx
and esi, edx
jmp 0x10059d12
cmp cl, 0x2c
jne 0x10059c5e
mov ecx, dword [ebp - 0x34]
or ecx, ebx
or esi, edx
jmp 0x10059d12
mov eax, ebx
or eax, edx
je 0x10059d0f
test edx, edx
jg 0x10059c96
jl 0x10059c72
test ebx, ebx
jae 0x10059c8b
mov al, 0x5b
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x10059c96
jg 0x10059c84
cmp ebx, 0xffffffc0
jbe 0x10059c96
neg ebx
adc edx, 0
neg edx
test edx, edx
jl 0x10059cba
jg 0x10059c96
cmp ebx, 0x40
jb 0x10059cba
test esi, esi
jg 0x10059cb1
jl 0x10059ca2
cmp dword [ebp - 0x34], 0
jae 0x10059cb1
cmp cl, 0x2d
je 0x10059cb1
or eax, 0xffffffff
cdq
mov ecx, eax
mov esi, edx
jmp 0x10059d12
xor eax, eax
cdq
mov ecx, eax
mov esi, edx
jmp 0x10059d12
movq xmm1, qword [ebp - 0x118]
movd xmm0, ebx
cmp cl, 0x2d
jne 0x10059cdc
psllq xmm1, xmm0
movq qword [ebp - 0x48], xmm1
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
jmp 0x10059d12
psrlq xmm1, xmm0
movq qword [ebp - 0x48], xmm1
test esi, esi
jg 0x10059cd4
jl 0x10059cf1
cmp dword [ebp - 0x34], 0
jae 0x10059cd4
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, ebx
or edx, 0xffffffff
call fcn.100ddb50
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
or ecx, eax
or esi, edx
jmp 0x10059d12
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x74]
mov ax, word [edx + 8]
mov dword [edx], ecx
mov ecx, 0x3e00
and ax, cx
mov dword [edx + 4], esi
mov esi, dword [ebp - 0x14]
or ax, 4
mov word [edx + 8], ax
add edi, 0x14
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.10050530
mov eax, dword [edi + 8]
mov ebx, dword [ebp - 0x74]
cdq
add dword [esi], eax
mov eax, dword [ebp - 0x18]
adc dword [esi + 4], edx
add edi, 0x14
mov esi, dword [ebp - 0x14]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x10059dbc
test al, 8
jne 0x10059d96
test al, 2
je 0x10059d9d
mov edx, 1
mov ecx, esi
call fcn.10058d30
jmp 0x10059d9d
mov ecx, esi
call fcn.10050490
movzx eax, word [esi + 8]
test al, 4
jne 0x10059dbc
cmp dword [edi + 8], 0
mov esi, dword [ebp - 0x14]
jne 0x100590df
mov eax, 0x14
jmp 0x1005dc8b
mov ebx, dword [ebp - 0x74]
and eax, 0x3e00
or eax, 4
add edi, 0x14
mov word [esi + 8], ax
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 4
lea ecx, [ecx + eax*8]
je case.0x100590a9.95
call fcn.10050560
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x10059e26
mov ecx, esi
call fcn.10050010
mov dword [ebp - 0x1c], eax
jmp 0x10059e2d
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x68]
mov dl, byte [edi + 8]
mov ecx, esi
call fcn.100506b0
mov eax, dword [ebp - 0x1c]
add esp, 4
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x2c], ebx
lea eax, [eax + eax*4]
movzx edx, word [ecx + eax*8 + 8]
lea esi, [ecx + eax*8]
movzx eax, word [ebx + 8]
mov ecx, edx
or ecx, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], edx
test cl, 1
je 0x10059f07
movzx eax, word [edi + 2]
test al, al
jns 0x10059eb3
mov al, dl
and al, byte [ebp - 0x4c]
test al, 1
je 0x10059ea9
test edx, 0x100
jne 0x10059ea9
xor edx, edx
jmp 0x10059ffc
mov edx, 1
jmp 0x10059ffc
mov esi, dword [ebp - 0x14]
test al, 0x20
je 0x10059ef1
mov eax, dword [edi + 8]
mov ebx, 0x3e00
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x90], 1
lea ecx, [eax + eax*4]
mov ax, word [edx + ecx*8 + 8]
and ax, bx
mov ebx, dword [ebp - 0x74]
or ax, 1
add edi, 0x14
mov word [edx + ecx*8 + 8], ax
mov eax, dword [ebp - 0x18]
jmp 0x10059086
test al, 0x10
jne 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov al, byte [edi + 2]
and al, 0x47
cmp al, 0x43
jl 0x10059f8b
test cl, 2
je 0x10059f40
mov al, byte [ebp - 0x4c]
and al, 0xe
cmp al, 2
jne 0x10059f2e
xor edx, edx
mov ecx, ebx
call fcn.10058d30
movzx eax, word [esi + 8]
mov dword [ebp - 0x3c], eax
mov al, byte [ebp - 0x3c]
and al, 0xe
cmp al, 2
jne 0x10059f40
xor edx, edx
mov ecx, esi
call fcn.10058d30
mov al, byte [ebx + 8]
and al, byte [esi + 8]
test al, 4
je 0x10059feb
mov edx, dword [ebp - 0x2c]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edx]
mov edx, dword [edx + 4]
cmp ebx, edx
jl 0x10059f7c
jg 0x10059f65
cmp ecx, eax
jbe 0x10059f72
mov ebx, dword [ebp - 0x2c]
mov edx, 1
jmp 0x10059ffc
cmp ebx, edx
jg 0x10059f84
jl 0x10059f7c
cmp ecx, eax
jae 0x10059f84
mov ebx, dword [ebp - 0x2c]
or edx, 0xffffffff
jmp 0x10059ffc
mov ebx, dword [ebp - 0x2c]
xor edx, edx
jmp 0x10059ffc
cmp al, 0x42
jne 0x10059feb
mov al, byte [ebp - 0x4c]
test al, 2
jne 0x10059fbd
test al, 0xc
je 0x10059fbd
mov dl, byte [ebp - 0x68]
mov ecx, ebx
push 1
call fcn.100500c0
mov ax, word [ebx + 8]
mov ecx, 0x7e00
xor ax, word [ebp - 0x4c]
add esp, 4
and ax, cx
xor word [ebp - 0x4c], ax
mov al, byte [ebp - 0x3c]
test al, 2
jne 0x10059feb
test al, 0xc
je 0x10059feb
mov dl, byte [ebp - 0x68]
mov ecx, esi
push 1
call fcn.100500c0
mov ax, word [esi + 8]
mov ecx, 0x7e00
xor ax, word [ebp - 0x3c]
add esp, 4
and ax, cx
xor word [ebp - 0x3c], ax
push dword [edi + 0x10]
mov edx, ebx
mov ecx, esi
call fcn.10055200
add esp, 4
mov edx, eax
movzx eax, byte [edi]
add eax, 0xffffffdc
cmp eax, 4
ja case.default.0x1005a007
jmp dword [eax*4 + 0x1005e4e4]
xor ecx, ecx
test edx, edx
sete cl
jmp 0x1005a03d
mov ecx, edx
jmp 0x1005a03d
xor ecx, ecx
test edx, edx
sets cl
jmp 0x1005a03d
xor ecx, ecx
test edx, edx
setle cl
jmp 0x1005a03d
xor ecx, ecx
test edx, edx
setg cl
jmp 0x1005a03d
xor ecx, ecx
test edx, edx
setns cl
movzx eax, word [ebp - 0x4c]
mov word [ebx + 8], ax
movzx eax, word [ebp - 0x3c]
mov word [esi + 8], ax
movzx ebx, word [edi + 2]
test bl, 0x20
je 0x1005b870
mov eax, dword [edi + 8]
mov dword [ebp - 0x90], edx
xor edx, edx
test ecx, ecx
setne dl
lea esi, [eax + eax*4]
test bl, 8
je 0x1005a082
xor eax, eax
cmp byte [edi], 0x25
sete al
cmp eax, edx
je 0x1005943d
mov ebx, dword [ebp - 0x20]
mov eax, 0x3e00
mov cx, word [ebx + esi*8 + 8]
and cx, ax
mov eax, edx
cdq
or cx, 4
mov dword [ebx + esi*8], eax
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov word [ebx + esi*8 + 8], cx
mov dword [ebx + esi*8 + 4], edx
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
cmp dword [ebp - 0x90], 0
jne 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
test byte [edi + 2], 1
jne 0x1005a0db
xor eax, eax
jmp 0x1005a0e1
mov eax, dword [edi - 4]
add eax, 4
mov ebx, dword [edi + 4]
xor esi, esi
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x6c], ebx
mov ebx, dword [edi + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], ebx
test ecx, ecx
jle 0x1005943d
lea ebx, [edx + 0x14]
lea esp, [esp]
test eax, eax
je 0x1005a119
mov ecx, dword [eax + esi*4]
jmp 0x1005a11b
mov ecx, esi
mov eax, dword [edx + 0x10]
mov edx, dword [ebp - 0x20]
push dword [ebx]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x24]
add eax, ecx
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov eax, dword [ebp - 0x6c]
add eax, ecx
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.10055200
mov ecx, eax
add esp, 4
mov dword [ebp - 0x90], ecx
test ecx, ecx
jne 0x1005a177
mov eax, dword [ebp - 0x5c]
inc esi
mov edx, dword [ebp - 0x2c]
add ebx, 4
cmp esi, dword [ebp - 0x54]
jl 0x1005a110
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
cmp dword [ebp - 0x50], 0
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
je 0x10059443
mov ebx, dword [ebp - 0x74]
neg ecx
mov dword [ebp - 0x90], ecx
add edi, 0x14
jmp 0x10059086
mov ecx, dword [ebp - 0x90]
test ecx, ecx
mov ecx, dword [ebp - 0x64]
jns 0x1005a1c1
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x74]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea edi, [ecx + eax*4]
mov eax, dword [ebp - 0x18]
add edi, 0x14
jmp 0x10059086
jne 0x1005a1dd
mov eax, dword [edi + 8]
mov ebx, dword [ebp - 0x74]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea edi, [ecx + eax*4]
mov eax, dword [ebp - 0x18]
add edi, 0x14
jmp 0x10059086
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp - 0x74]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea edi, [ecx + eax*4]
mov eax, dword [ebp - 0x18]
add edi, 0x14
jmp 0x10059086
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
lea ecx, [ebx + eax*8]
je 0x1005a211
mov esi, 2
jmp 0x1005a223
call fcn.10050380
or eax, edx
je 0x1005a221
mov esi, 1
jmp 0x1005a223
xor esi, esi
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
lea ecx, [ebx + eax*8]
je 0x1005a23a
mov eax, 2
jmp 0x1005a24c
call fcn.10050380
or eax, edx
je 0x1005a24a
mov eax, 1
jmp 0x1005a24c
xor eax, eax
cmp byte [edi], 0x1c
lea eax, [eax + esi*2]
jne 0x1005a25e
movzx edx, byte [esi + eax + 0x100f2ba4]
jmp 0x1005a266
movzx edx, byte [esi + eax + 0x100f1c18]
mov eax, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
lea ecx, [eax + eax*4]
cmp edx, 2
jne 0x1005a298
mov ax, word [ebx + ecx*8 + 8]
mov edx, 0x3e00
and ax, dx
or ax, 1
add edi, 0x14
mov word [ebx + ecx*8 + 8], ax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, edx
cdq
mov dword [ebx + ecx*8], eax
mov ax, word [ebx + ecx*8 + 8]
mov dword [ebx + ecx*8 + 4], edx
mov edx, 0x3e00
and ax, dx
or ax, 4
add edi, 0x14
mov word [ebx + ecx*8 + 8], ax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.10050780
test byte [ebx + 8], 1
jne 0x1005943d
mov eax, 4
mov ecx, ebx
mov word [esi + 8], ax
call fcn.10050380
or eax, edx
jne 0x1005a31c
mov ebx, dword [ebp - 0x74]
mov eax, 1
cdq
add edi, 0x14
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x14]
jmp 0x10059086
mov ebx, dword [ebp - 0x74]
xor eax, eax
cdq
add edi, 0x14
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x14]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.10050780
test byte [ebx + 8], 1
jne 0x1005943d
mov eax, 4
mov ecx, ebx
mov word [esi + 8], ax
call fcn.10050380
mov ebx, dword [ebp - 0x74]
not eax
not edx
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x14]
jmp 0x10059086
mov esi, dword [esi + 0xb8]
test esi, esi
je 0x1005a3e8
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov esi, dword [esi + 0x18]
sub ecx, dword [eax + 0x58]
mov eax, 0x66666667
imul ecx
mov eax, 1
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
and ecx, 7
shr edx, 3
shl eax, cl
mov bl, byte [edx + esi]
test bl, al
jne 0x100590dc
mov al, 1
shl al, cl
or al, bl
mov ebx, dword [ebp - 0x74]
mov byte [edx + esi], al
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
add edi, 0x14
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 4]
je 0x100590df
mov eax, dword [esi + 0x58]
mov ebx, dword [ebp - 0x74]
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
add edi, 0x14
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
lea ecx, [ecx + eax*8]
je 0x1005a429
mov ecx, dword [edi + 0xc]
jmp 0x1005a452
call fcn.10050430
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005a442
mov ecx, 1
jmp 0x1005a444
xor ecx, ecx
cmp byte [edi], 0x16
jne 0x1005a452
xor eax, eax
test ecx, ecx
sete al
mov ecx, eax
test ecx, ecx
jne 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
jne 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 1
je 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x8c]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x8c], eax
call fcn.10054850
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x14]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x48]
cmp eax, dword [ebx + 0x20]
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x4c], edx
je 0x1005a5f0
cmp byte [esi + 2], 0
je 0x1005a535
cmp byte [esi], 3
jne 0x10059660
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
mov ecx, dword [ecx + eax*8 + 0xc]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ecx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + eax*8 + 0x10]
mov dword [esi + 0x4c], eax
jmp 0x1005a585
mov esi, dword [esi + 0x28]
mov ecx, esi
call fcn.10048aa0
mov ecx, dword [ebp - 0x80]
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x50], eax
movsx eax, byte [esi + 0x44]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + eax*4 + 0x78]
mov edx, dword [eax + 0x3c]
movzx eax, word [esi + 0x20]
sub edx, ecx
mov esi, dword [ebp - 0x80]
cmp eax, edx
cmovb edx, eax
mov dword [ebp - 0x5c], edx
mov dword [esi + 0x4c], ecx
mov eax, dword [esi + 0x50]
cmp eax, edx
ja 0x1005a576
mov dword [esi + 0x54], eax
jmp 0x1005a582
cmp eax, dword [ebx + 0x60]
ja 0x10059bc0
mov dword [esi + 0x54], edx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x4c]
mov al, byte [ecx]
cmp al, 0x80
jae 0x1005a5a7
movzx ecx, al
mov eax, 1
mov dword [ebp - 0xd0], ecx
jmp 0x1005a5be
lea edx, [ebp - 0xd0]
call fcn.100366d0
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x4c]
movzx eax, al
movzx eax, al
mov dword [esi + 0x30], eax
xor eax, eax
mov word [esi + 0x3a], ax
mov dword [edx], ecx
cmp dword [ebp - 0x5c], ecx
jae 0x1005a6bb
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], eax
cmp ecx, 0x18003
ja 0x1005dc7e
cmp ecx, dword [esi + 0x50]
ja 0x1005dc7e
movzx eax, word [esi + 0x3a]
mov ecx, dword [ebp - 0x8c]
cmp eax, ecx
jg 0x1005a7ed
mov eax, dword [esi + 0x30]
cmp eax, dword [edx]
jae 0x1005a78d
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1005a65f
xorps xmm0, xmm0
lea eax, [ebp - 0x1e0]
movdqu xmmword [ebp - 0x1e0], xmm0
push eax
movdqu xmmword [ebp - 0x1d0], xmm0
movq qword [ebp - 0x1c0], xmm0
push dword [edx]
mov ecx, dword [esi + 0x28]
xor edx, edx
call fcn.10050d20
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
mov eax, dword [ebp - 0x1d0]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
movzx ecx, word [esi + 0x3a]
mov esi, dword [esi + 0x30]
add esi, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], ecx
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x50], eax
mov eax, dword [edx]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x34], 0
lea eax, [eax + ecx*4]
add eax, 0x58
mov dword [ebp - 0x54], eax
lea ecx, [ecx]
movzx ecx, byte [esi]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xac], ecx
cmp ecx, 0x80
jae 0x1005a6c8
movzx eax, cl
inc esi
movzx eax, byte [eax + 0x100f3000]
cdq
add dword [ebp - 0x50], eax
adc dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x50]
jmp 0x1005a6f4
test ecx, ecx
je 0x1005a5f0
mov eax, dword [esi + 0x4c]
jmp 0x1005a65c
lea edx, [ebp - 0xac]
mov ecx, esi
call fcn.100366d0
mov ecx, dword [ebp - 0xac]
movzx eax, al
add esi, eax
mov dword [ebp - 0x30], ecx
call fcn.10054a00
mov edx, dword [ebp - 0x50]
add edx, eax
mov dword [ebp - 0x50], edx
adc dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x4c]
add dword [ebp - 0x54], 4
mov dword [eax], ecx
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov dword [ebx + eax*4], edx
mov ebx, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x8c]
jg 0x1005a720
cmp esi, dword [ebp - 0x5c]
jb 0x1005a690
jmp 0x1005a725
cmp esi, dword [ebp - 0x5c]
jb 0x1005a747
cmp esi, dword [ebp - 0x5c]
ja 0x1005dce5
mov ebx, dword [ebp - 0x80]
cmp edx, dword [ebx + 0x50]
mov ebx, dword [ebp - 0x74]
jne 0x1005dce5
cmp dword [ebp - 0x34], 0
jne 0x1005dce5
cmp dword [ebp - 0x34], 0
mov ebx, dword [ebp - 0x80]
mov ebx, dword [ebx + 0x50]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x74]
ja 0x1005dce5
jb 0x1005a768
cmp edx, dword [ebp - 0x24]
ja 0x1005dce5
mov edx, dword [ebp - 0x80]
sub esi, dword [ebp - 0x2c]
mov word [edx + 0x3a], ax
mov dword [edx + 0x30], esi
mov esi, edx
cmp dword [esi + 0x4c], 0
jne 0x1005a798
lea ecx, [ebp - 0x1e0]
call fcn.10050360
mov ecx, dword [ebp - 0x30]
jmp 0x1005a798
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xac], ecx
movzx eax, word [esi + 0x3a]
cmp eax, dword [ebp - 0x8c]
jg 0x1005a7fa
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
cmp byte [eax + 1], 0xf9
jne 0x1005a7d4
mov edx, dword [eax + 0x10]
push 0x800
call fcn.10050950
mov edi, dword [ebp - 0x28]
add esp, 4
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
call fcn.10050780
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [esi + ecx*4 + 0x58]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x3c]
mov eax, 0x2460
test word [edx + 8], ax
je 0x1005a812
mov ecx, edx
call fcn.10050780
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x8c]
mov eax, dword [esi + 0x54]
cmp eax, dword [ebx + edx*4 + 4]
mov ebx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x3c]
jb 0x1005a8e6
mov eax, dword [esi + 0x4c]
mov edx, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x4c]
add eax, dword [esi + edx*4]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
cmp ecx, 0xc
jae 0x1005a863
push edx
mov edx, ecx
mov ecx, eax
call fcn.10054b40
mov esi, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x18]
add edi, 0x14
jmp 0x10059086
mov al, byte [ebp - 0x68]
lea esi, [ecx - 0xc]
mov ecx, dword [ebp - 0x3c]
shr esi, 1
mov dword [edx + 0xc], esi
mov byte [edx + 0xa], al
lea edx, [esi + 2]
cmp dword [ecx + 0x18], edx
jge 0x1005a89c
mov eax, 1
push 0
mov word [ecx + 8], ax
call fcn.1004fe50
add esp, 4
test eax, eax
jne 0x1005aa95
mov ecx, dword [ebp - 0x3c]
jmp 0x1005a8a2
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
push esi
push dword [ebp - 0x24]
push dword [ecx + 0x10]
call sub.MSVCR120.dll_memcpy
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x74]
and edx, 1
mov eax, dword [ecx + 0x10]
add edi, 0x14
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [esi + eax + 1], 0
mov ax, word [edx*2 + 0x100f1c24]
mov esi, dword [ebp - 0x14]
mov word [ecx + 8], ax
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov al, byte [ebp - 0x68]
mov byte [edx + 0xa], al
movzx eax, word [edi + 2]
test al, 0xc0
je 0x1005a902
cmp ecx, 0xc
jb 0x1005a8fe
test cl, 1
je 0x1005a90b
test al, al
js 0x1005a90b
call fcn.10054a00
test eax, eax
jne 0x1005a92c
push edx
mov edx, ecx
mov ecx, 0x101196d8
call fcn.10054b40
mov esi, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [ebp - 0x8c]
push edx
push eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esi + 0x28]
call fcn.10050d20
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
mov ebx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx + 0x10]
call fcn.10054b40
mov esi, dword [ebp - 0x14]
mov eax, 0xefff
add esp, 4
and word [ebx + 8], ax
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
mov esi, dword [edi + 0x10]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov al, byte [esi]
test al, al
je 0x1005943d
push dword [ebp - 0x68]
mov dl, al
lea esi, [esi + 1]
mov ecx, ebx
call fcn.10058dc0
mov al, byte [esi]
add esp, 4
add ebx, 0x28
test al, al
jne 0x1005a995
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x20]
mov esi, dword [edi + 0x10]
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x70], xmm0
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [edi + 8]
mov dword [ebp - 0x50], ecx
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0x8f]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x5c], edx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x24], eax
test esi, esi
je 0x1005aa42
mov al, byte [esi]
mov ebx, ecx
jmp 0x1005aa20
push dword [ebp - 0x68]
mov dl, al
mov ecx, ebx
call fcn.10058dc0
mov al, byte [esi + 1]
lea esi, [esi + 1]
add esp, 4
add ebx, 0x28
test al, al
jne 0x1005aa20
mov ebx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
lea ecx, [ecx]
lea eax, [ebp - 0xb4]
mov ecx, esi
push eax
call fcn.100548a0
mov ecx, 0x4000
mov dword [ebp - 0x6c], eax
add esp, 4
mov dword [esi + 0x1c], eax
test word [esi + 8], cx
je 0x1005aaed
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x2c]
je 0x1005aad9
mov ecx, esi
call fcn.10050010
test eax, eax
je 0x1005aaea
cmp byte [ebx + 0x45], 0
jne 0x1005aabe
cmp byte [ebx + 0x46], 0
jne 0x1005aabe
cmp dword [ebx + 0xa8], 0
mov byte [ebx + 0x45], 1
jle 0x1005aab8
mov dword [ebx + 0xf8], 1
inc dword [ebx + 0x100]
mov esi, dword [ebp - 0x14]
push str.out_of_memory
push esi
call fcn.10051320
add esp, 8
mov eax, 7
jmp 0x1005dc8b
mov ecx, dword [esi]
mov eax, ecx
cdq
add dword [ebp - 0x34], eax
adc dword [ebp - 0x4c], edx
sub dword [ebp - 0xb4], ecx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x30], ecx
adc dword [ebp - 0x2c], 0
cmp eax, 0x7f
ja 0x1005ab09
mov eax, 1
jmp 0x1005ab14
push 0
push eax
call fcn.10036750
add esp, 8
mov ecx, dword [ebp - 0x3c]
add ecx, eax
mov dword [ebp - 0x3c], ecx
cmp esi, dword [ebp - 0x50]
je 0x1005ab2c
mov edx, dword [ebp - 0x5c]
sub esi, 0x28
jmp 0x1005aa60
cmp ecx, 0x7e
jle 0x1005ab57
mov eax, ecx
cdq
push edx
push eax
call fcn.10036750
mov esi, eax
mov eax, dword [ebp - 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cdq
push edx
push eax
call fcn.10036750
mov ecx, dword [ebp - 0x3c]
add esp, 0x10
cmp esi, eax
jge 0x1005ab5b
inc ecx
mov dword [ebp - 0x3c], ecx
mov eax, ecx
cdq
mov esi, eax
mov eax, edx
mov edx, dword [ebp - 0x30]
add edx, esi
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x2c]
adc esi, eax
mov dword [ebp - 0x30], edx
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x60]
adc esi, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], edx
cdq
cmp esi, edx
jg 0x10059bc0
jl 0x1005ab95
cmp dword [ebp - 0x6c], eax
ja 0x10059bc0
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
cmp dword [esi + 0x18], eax
jge 0x1005abbb
push 0
mov edx, eax
mov ecx, esi
call fcn.1004fe50
add esp, 4
test eax, eax
jne 0x1005aa95
mov ecx, dword [ebp - 0x3c]
jmp 0x1005abc6
mov eax, dword [esi + 0x14]
and word [esi + 8], 0xd
mov dword [esi + 0x10], eax
mov edi, dword [esi + 0x10]
cmp ecx, 0x80
jae 0x1005abda
mov byte [edi], cl
mov eax, 1
jmp 0x1005abea
push dword [ebp - 0x5c]
mov ecx, edi
push dword [ebp - 0x44]
call fcn.100364f0
add esp, 8
mov ebx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x3c]
movzx esi, al
mov ebx, dword [ebx + 0x1c]
cmp ebx, 0x80
jae 0x1005ac08
mov byte [esi + edi], bl
mov eax, 1
jmp 0x1005ac19
push 0
push ebx
lea ecx, [esi + edi]
call fcn.100364f0
mov ecx, dword [ebp - 0x3c]
add esp, 8
push ebx
mov ebx, dword [ebp - 0x50]
add ecx, edi
movzx eax, al
mov edx, ebx
add esi, eax
call fcn.10054a20
mov ecx, dword [ebp - 0x3c]
add ebx, 0x28
add ecx, eax
mov dword [ebp - 0x50], ebx
add esp, 4
mov dword [ebp - 0x3c], ecx
cmp ebx, dword [ebp - 0x54]
jbe 0x1005abf3
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
mov dword [edx + 0xc], eax
mov eax, 0x10
mov word [edx + 8], ax
mov eax, ecx
or eax, dword [ebp - 0x4c]
je 0x1005ac6b
mov eax, 0x4010
mov dword [edx], ecx
mov word [edx + 8], ax
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
mov byte [edx + 0xa], 1
jmp 0x10059086
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x128]
mov eax, dword [esi + 0x70]
xorps xmm0, xmm0
movlpd qword [ebp - 0x128], xmm0
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x28]
call fcn.1004dcd0
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov ecx, dword [ebp - 0x128]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x124]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x5c], eax
test ecx, ecx
jne 0x1005adaf
cmp dword [ebx + 0xa4], ecx
jg 0x1005dd00
mov ecx, eax
call fcn.100355b0
mov ecx, dword [ebx + 0x1b4]
mov esi, eax
add ecx, dword [ebx + 0x1b0]
xor edx, edx
push ecx
mov ecx, ebx
mov dword [ebp - 0x44], esi
call fcn.100978b0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
lea eax, [esi + 0x21]
mov ecx, ebx
push 0
push eax
call fcn.10032bb0
mov esi, eax
add esp, 8
test esi, esi
je 0x1005943d
mov ecx, dword [ebp - 0x44]
lea edx, [esi + 0x20]
inc ecx
mov dword [esi], edx
push ecx
push dword [ebp - 0x5c]
push edx
call sub.MSVCR120.dll_memcpy
add esp, 0xc
cmp byte [ebx + 0x43], 0
je 0x1005ad65
mov byte [ebx + 0x43], 0
mov byte [ebx + 0x4b], 1
jmp 0x1005ad6b
inc dword [ebx + 0x1b0]
mov eax, dword [ebx + 0x1a8]
add edi, 0x14
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1b8]
mov dword [ebx + 0x1a8], esi
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x1bc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x1c0]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x1c4]
mov ebx, dword [ebp - 0x74]
mov dword [esi + 0x14], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov esi, dword [ebx + 0x1a8]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
test esi, esi
je 0x1005dd53
mov ecx, dword [esi]
mov edx, eax
call fcn.100358c0
test eax, eax
je 0x1005adda
inc dword [ebp - 0x30]
mov esi, dword [esi + 0x18]
mov eax, dword [ebp - 0x5c]
jmp 0x1005adba
cmp dword [ebx + 0xa4], 0
mov edx, dword [ebp - 0x34]
jle 0x1005adef
cmp edx, 1
je 0x1005dd18
cmp dword [esi + 0x18], 0
jne 0x1005ae41
cmp byte [ebx + 0x4b], 0
je 0x1005ae41
mov dword [ebp - 0x5c], 1
cmp edx, 1
jne 0x1005ae48
mov ecx, dword [ebp - 0x14]
call fcn.10053ec0
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005e210
mov ecx, dword [ebp - 0x14]
mov byte [ebx + 0x43], 1
call fcn.10053f20
cmp eax, 5
je 0x1005dd22
mov eax, dword [ebp - 0x14]
mov byte [ebx + 0x4b], 0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1c], eax
jmp 0x1005af2c
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebx + 0x1b0]
sub ecx, dword [ebp - 0x30]
dec ecx
mov dword [ebp - 0x30], ecx
cmp edx, 2
jne 0x1005aec1
mov eax, dword [ebx + 0x18]
shr eax, 1
and eax, 1
mov dword [ebp - 0x24], 0
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x54], eax
jle 0x1005aec8
xor ecx, ecx
test eax, eax
sete cl
xor eax, eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x6c], eax
push ecx
mov ecx, dword [ebx + 0x10]
mov edx, 0x204
mov ecx, dword [eax + ecx + 4]
call fcn.100484b0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x6c]
inc ecx
add eax, 0x10
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
jl 0x1005ae81
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
jmp 0x1005aec8
mov dword [ebp - 0x54], 0
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x24], 0
jle 0x1005af16
xor eax, eax
mov dword [ebp - 0x6c], eax
lea ebx, [ebx]
push ecx
mov ecx, dword [ebx + 0x10]
mov ecx, dword [eax + ecx + 4]
call fcn.10048760
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x6c]
inc ecx
mov edx, dword [ebp - 0x34]
add eax, 0x10
cmp ecx, dword [ebx + 0x14]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x6c], eax
jl 0x1005aee0
cmp dword [ebp - 0x54], 0
je 0x1005af2c
mov ecx, ebx
call fcn.10055f20
call fcn.10070520
or dword [ebx + 0x18], 2
cmp dword [ebx + 0x1a8], esi
je 0x1005afa0
jmp 0x1005af40
cmp dword [ebx + 0x1c8], 0
mov ecx, dword [ebx + 0x1a8]
mov eax, dword [ecx + 0x18]
mov dword [ebx + 0x1a8], eax
je 0x1005af63
mov edx, ecx
mov ecx, ebx
call fcn.10032820
jmp 0x1005af92
cmp ecx, dword [ebx + 0x120]
jb 0x1005af89
cmp ecx, dword [ebx + 0x124]
jae 0x1005af89
mov eax, dword [ebx + 0x11c]
mov dword [ecx], eax
dec dword [ebx + 0x108]
mov dword [ebx + 0x11c], ecx
jmp 0x1005af92
push ecx
call fcn.100327b0
add esp, 4
dec dword [ebx + 0x1b0]
cmp dword [ebx + 0x1a8], esi
jne 0x1005af40
mov ecx, dword [ebp - 0x34]
cmp ecx, 1
jne 0x1005aff3
mov eax, dword [esi + 0x18]
mov edx, esi
mov ecx, ebx
mov dword [ebx + 0x1a8], eax
call fcn.10032860
cmp dword [ebp - 0x5c], 0
jne 0x1005b022
dec dword [ebx + 0x1b0]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
push ecx
mov ecx, ebx
call fcn.100978b0
mov esi, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
cmp dword [ebp - 0x5c], 0
mov eax, dword [esi + 8]
mov dword [ebx + 0x1b8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x1bc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x1c0], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x1c4], eax
je 0x1005afc6
cmp ecx, 2
je 0x1005afc6
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov edx, dword [edi + 8]
test edx, edx
je 0x1005b052
test dword [ebx + 0x18], 0x4000000
jne 0x1005dd6f
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x1005b134
mov ecx, esi
call fcn.100476f0
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dd79
cmp dword [edi + 8], eax
je 0x1005b107
mov ecx, dword [ebp - 0x14]
test byte [ecx + 0x90], 0x40
je 0x1005b107
cmp byte [ebx + 0x43], al
je 0x1005b09b
cmp dword [ebx + 0xa0], 1
jle 0x1005b107
cmp dword [ecx + 0x30], 0
jne 0x1005b0b6
mov eax, dword [ebx + 0x1b0]
inc dword [ebx + 0x1b4]
add eax, dword [ebx + 0x1b4]
mov dword [ecx + 0x30], eax
mov eax, dword [ecx + 0x30]
xor edx, edx
dec eax
mov ecx, ebx
push eax
call fcn.100978b0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x1005b0e0
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov edx, dword [eax + 0x30]
call fcn.10048710
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x1b8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebx + 0x1bc]
mov dword [ecx + 0x4c], eax
mov eax, dword [ebx + 0x1c0]
mov dword [ecx + 0x50], eax
mov eax, dword [ebx + 0x1c4]
mov dword [ecx + 0x54], eax
lea eax, [ebp - 0xf4]
mov edx, 1
push eax
mov ecx, esi
call fcn.1004dbf0
mov ecx, dword [edi + 4]
add esp, 4
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov esi, dword [ebp - 0xf4]
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax + 4]
jmp 0x1005b13e
xor esi, esi
xor eax, eax
mov dword [ebp - 0xf4], esi
cmp word [edi + 2], 0
je 0x1005b157
cmp esi, dword [edi + 0xc]
jne 0x1005dda9
cmp eax, dword [edi + 0x10]
jne 0x1005dda9
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [ebx + 0x10]
lea eax, [ebp - 0x11c]
mov edx, dword [edi + 0xc]
push eax
mov eax, dword [edi + 4]
add eax, eax
mov ecx, dword [ecx + eax*8 + 4]
call fcn.1004dbf0
add esp, 4
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov ebx, dword [ebp - 0x74]
mov ecx, eax
mov eax, dword [ebp - 0x11c]
add edi, 0x14
cdq
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], edx
jmp 0x10059086
mov esi, dword [edi + 4]
push dword [edi + 0xc]
mov edx, dword [edi + 8]
shl esi, 4
add esi, dword [ebx + 0x10]
mov ecx, dword [esi + 4]
call fcn.1004dc50
mov dword [ebp - 0x1c], eax
add esp, 4
mov eax, dword [edi + 8]
cmp eax, 1
jne 0x1005b1e9
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
mov dword [ecx], eax
or dword [ebx + 0x18], 2
jmp 0x1005b1f7
cmp eax, 2
jne 0x1005b1f7
mov ecx, dword [esi + 0xc]
mov al, byte [edi + 0xc]
mov byte [ecx + 0x4c], al
cmp dword [edi + 4], 1
jne 0x1005b210
mov ecx, ebx
call fcn.10055f20
mov esi, dword [ebp - 0x14]
and dword [esi + 0x90], 0xfffffffe
jmp 0x1005b213
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x1005b245
mov eax, dword [esi + 0x34]
cmp eax, dword [edi + 8]
je 0x1005b34d
mov esi, dword [ebp - 0x14]
mov al, byte [ebp - 0x35]
test byte [esi + 0x90], 1
jne 0x1005ddf5
mov esi, dword [edi + 0xc]
mov ecx, esi
mov edx, dword [edi + 8]
shl ecx, 4
add ecx, dword [ebx + 0x10]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x2c], edx
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x44], esi
cmp al, 0x6a
jne 0x1005b2b0
mov eax, dword [ecx + 0xc]
movzx edx, word [edi + 2]
mov ecx, dword [ebp - 0x14]
and edx, 8
or edx, 4
mov al, byte [eax + 0x4c]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x2c]
cmp al, byte [ecx + 0x8f]
jae 0x1005b2b7
mov byte [ecx + 0x8f], al
jmp 0x1005b2b7
mov dword [ebp - 0x24], 0
test byte [edi + 2], 0x10
je 0x1005b2d5
mov ecx, dword [ebp - 0x20]
lea eax, [edx + edx*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.10050530
mov eax, dword [esi]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov al, byte [edi + 1]
cmp al, 0xfb
jne 0x1005b2ee
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x5c], eax
movzx ecx, word [eax + 8]
movzx eax, word [eax + 6]
add ecx, eax
jmp 0x1005b2fa
cmp al, 0xf5
jne 0x1005b2f7
mov ecx, dword [edi + 0x10]
jmp 0x1005b2fa
mov ecx, dword [ebp - 0x6c]
mov edx, dword [edi + 4]
push 0
push esi
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.10058c00
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005aa95
push dword [esi + 0x28]
mov eax, dword [ebp - 0x2c]
mov edx, eax
push dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
push dword [ebp - 0x24]
or dword [esi + 8], 4
mov byte [esi + 2], 1
mov dword [esi + 0x34], eax
call fcn.100488e0
mov dword [ebp - 0x1c], eax
add esp, 0xc
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x2c], eax
cmp byte [edi + 1], 0xfb
setne al
mov byte [esi + 4], al
mov eax, dword [esi + 0x28]
mov cl, byte [edi + 2]
mov esi, dword [ebp - 0x14]
and cl, 3
mov byte [eax + 0x43], cl
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov edx, dword [edi + 4]
mov ecx, esi
push 0
push 0xffffffffffffffff
push dword [edi + 8]
call fcn.10058c00
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005aa95
or dword [esi + 8], 1
xor edx, edx
mov byte [esi + 2], 1
movzx eax, word [edi + 2]
lea edi, [esi + 0xc]
mov ecx, dword [ebx]
or eax, 5
push 0x41e
push eax
push edi
push ebx
call fcn.10046720
add esp, 0x10
test eax, eax
jne 0x1005dc88
mov ecx, dword [edi]
lea edx, [eax + 1]
call fcn.100476f0
test eax, eax
jne 0x1005dc88
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
test ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [esi + 0x2c], ecx
mov ecx, dword [edi]
je 0x1005b423
movzx eax, word [eax + 2]
lea edx, [ebp - 0x110]
or eax, 2
push eax
call fcn.1004d6f0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005b41d
push dword [esi + 0x28]
mov edx, dword [ebp - 0x110]
push dword [ebp - 0x44]
mov ecx, dword [edi]
push 4
call fcn.100488e0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov byte [esi + 4], 0
jmp 0x1005b43e
push dword [esi + 0x28]
mov edx, 1
push 0
push 4
call fcn.100488e0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov byte [esi + 4], 1
test eax, eax
jne 0x1005dc88
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x74]
cmp word [edi + 2], 8
setne al
shl eax, 2
xor eax, dword [esi + 8]
and eax, 4
xor dword [esi + 8], eax
add edi, 0x14
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov edx, dword [edi + 4]
mov ecx, esi
push 1
push 0xffffffffffffffff
push dword [edi + 8]
call fcn.10058c00
mov edx, eax
add esp, 0xc
test edx, edx
je 0x1005aa95
mov eax, dword [ebp - 0x28]
push edx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x2c], ecx
mov ecx, ebx
mov edx, dword [eax + 0xc]
call fcn.1005fa40
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov edx, dword [eax + ecx*4]
mov edi, dword [edx + 0x10]
mov ecx, edi
mov esi, dword [edx + 0x14]
add ecx, 1
mov eax, esi
mov dword [edx + 0x10], ecx
adc eax, 0
or edi, esi
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov dword [edx + 0x14], eax
je 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov edx, dword [edi + 4]
mov ecx, esi
push 3
push 0xffffffffffffffff
push dword [edi + 0xc]
call fcn.10058c00
add esp, 0xc
test eax, eax
je 0x1005aa95
mov ebx, dword [ebp - 0x74]
mov byte [eax + 2], 1
mov ecx, dword [edi + 8]
add edi, 0x14
mov dword [eax + 0x28], ecx
mov byte [eax + 4], 1
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, esi
mov edx, dword [esi + 0x70]
mov edx, dword [edx + eax*4]
call fcn.100531c0
mov ecx, dword [edi + 4]
add edi, 0x14
mov eax, dword [esi + 0x70]
mov ebx, dword [ebp - 0x74]
mov dword [eax + ecx*4], 0
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov esi, dword [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov byte [esi + 2], cl
cmp byte [esi + 4], cl
je 0x1005b620
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov al, byte [ecx + 8]
and al, 0xe
mov dword [ebp - 0x5c], ecx
cmp al, 2
jne 0x1005b599
xor edx, edx
call fcn.10058d30
mov ecx, dword [ebp - 0x5c]
call fcn.10050380
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
movzx ecx, word [ecx + 8]
test cl, 4
jne 0x1005b5e8
test cl, 8
je 0x100590dc
mov ecx, eax
call fcn.100de0bf
mov eax, dword [ebp - 0x5c]
movsd xmm1, qword [eax]
comisd xmm0, xmm1
jbe 0x1005b5d7
mov eax, dword [ebp - 0x2c]
test al, 1
jne 0x1005b5e8
dec eax
jmp 0x1005b5e5
comisd xmm1, xmm0
jbe 0x1005b5e8
mov eax, dword [ebp - 0x2c]
test al, 1
je 0x1005b5e8
inc eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi + 0x28]
lea eax, [ebp - 0x7c]
push eax
push 0
push dword [ebp - 0x50]
xor edx, edx
push dword [ebp - 0x54]
call fcn.100493c0
mov dword [ebp - 0x1c], eax
add esp, 0x10
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc88
jmp 0x1005b6a7
mov eax, dword [esi + 0x28]
test byte [eax + 0x43], 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x140], eax
mov ax, word [edi + 0x10]
mov word [ebp - 0x138], ax
lea eax, [edx - 1]
test al, 1
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x140]
sete al
mov byte [ebp - 0x132], 0
lea eax, [eax*2 - 1]
mov byte [ebp - 0x136], al
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x7c]
mov ecx, dword [esi + 0x28]
push eax
push 0
push 0
push 0
call fcn.100493c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
cmp dword [ebp - 0x34], eax
je 0x1005b6a7
cmp byte [ebp - 0x132], al
je 0x1005b723
mov eax, dword [ebp - 0x2c]
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
mov ecx, dword [ebp - 0x7c]
cmp eax, 0x19
jl 0x1005b6e6
test ecx, ecx
js 0x1005b6d1
jne 0x1005b6c8
cmp eax, 0x1a
je 0x1005b6d1
mov dword [ebp - 0x7c], 0
jmp 0x1005b72d
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
push dword [esi + 0x28]
call fcn.10049a60
jmp 0x1005b715
test ecx, ecx
jg 0x1005b702
jne 0x1005b6f1
cmp eax, 0x17
je 0x1005b702
mov eax, dword [esi + 0x28]
xor ecx, ecx
cmp byte [eax + 0x42], 1
setne cl
mov dword [ebp - 0x7c], ecx
jmp 0x1005b723
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
push dword [esi + 0x28]
call fcn.10049be0
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
cmp dword [ebp - 0x7c], 0
jne 0x100590dc
cmp dword [ebp - 0x34], 0
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
je 0x10059443
mov ebx, dword [ebp - 0x74]
add edi, 0x14
add edi, 0x14
jmp 0x10059086
mov eax, dword [esi + 0x70]
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 0x20]
mov edx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
jle 0x1005b795
mov eax, dword [edx + 0x2c]
lea edi, [ebp - 0x1b8]
mov dword [ebp - 0x1b8], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x1b0], ax
xor eax, eax
mov dword [ebp - 0x1b4], esi
mov esi, edx
mov dword [ebp - 0x6c], eax
jmp 0x1005b7d4
mov ecx, dword [edx + 0x2c]
call fcn.10054cf0
mov edi, eax
mov dword [ebp - 0x6c], edi
test edi, edi
je 0x1005aa95
mov eax, 0x4000
test word [esi + 8], ax
je 0x1005b7bc
mov ecx, esi
call fcn.10050010
mov edx, dword [esi + 0xc]
push edi
push dword [esi + 0x10]
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 0x2c]
call fcn.10054d60
mov ecx, dword [ebp - 0x28]
add esp, 8
mov byte [edi + 0xa], 0
cmp byte [ecx], 0x1d
mov dword [ebp - 0x24], 0
jne 0x1005b80a
movzx edx, word [edi + 8]
xor ecx, ecx
test edx, edx
jle 0x1005b80a
mov eax, dword [edi + 4]
add eax, 8
test byte [eax], 1
jne 0x1005b803
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x1005b7f4
jmp 0x1005b80a
mov dword [ebp - 0x24], 1
mov ecx, dword [esi + 0x28]
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0
mov edx, edi
call fcn.100493c0
mov dword [ebp - 0x1c], eax
add esp, 0x10
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x1005b837
mov edx, eax
mov ecx, ebx
call fcn.10032860
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc88
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
mov edi, dword [ebp - 0x28]
mov dword [esi + 0x20], eax
mov al, 1
cmp dword [ebp - 0xcc], ecx
mov byte [esi + 3], 0
sete cl
mov dword [esi + 0x1c], 0
sub al, cl
mov byte [esi + 2], al
cmp byte [edi], 0x1f
jne 0x1005b889
mov esi, dword [ebp - 0x14]
test ecx, ecx
jne 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
cmp dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x14]
jne 0x100590df
test ecx, ecx
je 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x1005b8ec
test al, 8
jne 0x1005b8d6
test al, 2
je 0x1005b8dd
mov edx, 1
mov ecx, esi
call fcn.10058d30
jmp 0x1005b8dd
mov ecx, esi
call fcn.10050490
test byte [esi + 8], 4
mov esi, dword [ebp - 0x14]
je 0x100590df
jmp case.0x100590a9.33
mov esi, dword [ebp - 0x14]
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov edx, dword [ebp - 0x20]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx + 0x28]
lea eax, [eax + eax*4]
mov dword [ebp - 0xbc], 0
mov esi, dword [edx + eax*8]
mov edi, dword [edx + eax*8 + 4]
lea eax, [ebp - 0xbc]
push eax
push 0
push edi
push esi
xor edx, edx
call fcn.100493c0
mov dword [ebx + 0x44], edi
add esp, 0x10
mov edi, dword [ebp - 0x28]
mov dword [ebx + 0x40], esi
mov word [ebx + 2], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebx + 0x20], eax
cmp dword [ebp - 0xbc], 0
je 0x1005b970
cmp dword [edi + 8], 0
jne 0x100590dc
mov ecx, 0x141c4
call fcn.100aa5b0
mov ebx, eax
mov dword [ebp - 0x1c], ebx
jmp 0x1005b973
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
test ebx, ebx
je case.0x100590a9.95
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x1c]
jmp 0x1005dc8b
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov edx, dword [edi + 4]
mov ecx, dword [esi + 0x70]
mov ebx, dword [ebp - 0x74]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + ecx*4]
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
add edi, 0x14
mov eax, dword [ebp - 0x18]
jmp 0x10059086
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
mov edx, edi
movlpd qword [ebp - 0x88], xmm0
mov ecx, esi
call fcn.10058f80
mov edx, dword [edi + 4]
mov ecx, dword [esi + 0x70]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ecx + edx*4]
mov dword [ebp - 0x34], ecx
test byte [ecx + 8], 2
jne 0x1005ba80
mov ecx, dword [ecx + 0x28]
lea edx, [ebp - 0xb0]
call fcn.10049360
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
cmp dword [ebp - 0xb0], eax
je 0x1005ba32
mov eax, 1
xor esi, esi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], esi
jmp 0x1005ba8c
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + 0x28]
mov ecx, esi
call fcn.10048aa0
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], esi
cmp esi, 0x7fffffff
jl 0x1005ba6c
jg 0x1005ba63
cmp eax, 0xffffffff
jb 0x1005ba6c
mov ecx, dword [ebp - 0x34]
or dword [ecx + 8], 2
jmp 0x1005ba8f
add eax, 1
mov dword [ebp - 0x88], eax
adc esi, 0
mov dword [ebp - 0x84], esi
jmp 0x1005ba8c
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x30], eax
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1005bb2e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xb8]
test edx, edx
je 0x1005bac4
mov eax, dword [edx + 4]
test eax, eax
je 0x1005bab9
mov edi, edi
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x1005bab0
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
jmp 0x1005bacd
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx + eax*8]
mov dword [ebp - 0x24], ecx
call fcn.10050530
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, 0xffffffff
jne 0x1005baed
cmp eax, 0x7fffffff
je 0x1005bbb1
mov ebx, dword [ebp - 0x34]
test byte [ebx + 8], 2
mov ebx, dword [ebp - 0x74]
jne 0x1005bbb1
add edx, 1
adc eax, 0
mov dword [ebp - 0x44], eax
cmp esi, eax
jg 0x1005bb26
jl 0x1005bb13
mov eax, dword [ebp - 0x30]
cmp eax, edx
jae 0x1005bb29
mov esi, dword [ebp - 0x44]
mov eax, edx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], esi
jmp 0x1005bb29
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov ecx, dword [ebp - 0x34]
test byte [ecx + 8], 2
je 0x1005bbc1
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x88]
push eax
push 8
call fcn.10034b10
mov esi, dword [ebp - 0x84]
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0x88]
and esi, 0x3fffffff
add eax, 1
push ecx
adc esi, 0
mov dword [ebp - 0x30], eax
push 0
push esi
mov dword [ebp - 0x88], eax
xor edx, edx
push eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x84], esi
mov ecx, dword [eax + 0x28]
call fcn.100493c0
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
cmp dword [ebp - 0xb0], eax
jne 0x1005bbbb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x64
jl 0x1005bb42
mov eax, 0xd
jmp 0x1005dc88
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x74]
add edi, 0x14
mov byte [ecx + 3], 0
mov dword [ecx + 0x1c], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], esi
mov esi, dword [ebp - 0x14]
jmp 0x10059086
cmp byte [ebp - 0x35], 0x74
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x24], 0
lea eax, [eax + eax*4]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x70]
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0xc]
jne 0x1005bc19
mov edx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
mov esi, dword [edx + eax*8]
mov edx, dword [edx + eax*8 + 4]
jmp 0x1005bc1c
cdq
mov esi, eax
cmp byte [ecx + 1], 0xf1
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x180], esi
jne 0x1005bc64
cmp dword [ebx + 0xdc], 0
je 0x1005bc64
movsx ecx, byte [edi + 1]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx + 0x10]
test byte [ecx + 2], 4
mov dword [ebp - 0x6c], eax
mov eax, 0x12
cmovne eax, dword [ebp - 0x12c]
mov dword [ebp - 0x24], eax
jmp 0x1005bc72
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
test byte [ecx + 2], 1
je 0x1005bc7e
mov eax, dword [ebp - 0x14]
inc dword [eax + 0x2c]
test byte [ecx + 2], 0x20
je 0x1005bc8a
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], edx
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + esi*8 + 8]
mov dword [ebp - 0x44], eax
test al, 1
je 0x1005bcb2
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x16c], 0
jmp 0x1005bcc9
mov eax, dword [edx + esi*8 + 0x10]
mov dword [ebp - 0x178], eax
mov eax, dword [edx + esi*8 + 0xc]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x44]
movzx ecx, word [ecx + 2]
test cl, 0x10
je 0x1005bcd7
mov edx, dword [edi + 0x20]
jmp 0x1005bcd9
xor edx, edx
test eax, 0x4000
je 0x1005bcee
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*8]
mov dword [ebp - 0x168], eax
jmp 0x1005bcf8
mov dword [ebp - 0x168], 0
push edx
and ecx, 0xa
mov dword [ebp - 0x188], 0
push ecx
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x188]
call fcn.1004cd80
add esp, 8
mov dword [ebp - 0x1c], eax
mov byte [edi + 3], 0
mov dword [edi + 0x1c], 0
test eax, eax
jne 0x1005dc88
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x1005943a
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1005943a
push dword [ebp - 0x17c]
mov edx, dword [ebp - 0x6c]
push dword [ebp - 0x180]
push dword [edx]
push dword [ebp - 0x5c]
push ecx
push dword [ebx + 0xd8]
call eax
mov edi, dword [ebp - 0x28]
add esp, 0x18
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
cmp byte [edi + 1], 0xf1
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x70]
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x24], esi
jne 0x1005bdda
cmp dword [ebx + 0xdc], 0
je 0x1005bdda
movsx ecx, byte [esi + 1]
mov eax, dword [ebx + 0x10]
add ecx, ecx
test byte [edi + 2], 2
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x6c], eax
je 0x1005bde6
cmp byte [esi + 4], 0
je 0x1005bde6
mov esi, dword [esi + 0x28]
mov ecx, esi
call fcn.10048aa0
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x14]
mov esi, ecx
mov dword [esi + 0x44], eax
jmp 0x1005bde6
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x6c], eax
mov dl, byte [edi + 2]
mov ecx, dword [esi + 0x28]
call fcn.1004d0c0
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
test eax, eax
jne 0x1005dc88
test byte [ebp - 0x44], 1
je 0x1005943d
mov eax, dword [ebp - 0x14]
inc dword [eax + 0x2c]
mov ecx, dword [ebx + 0xdc]
test ecx, ecx
je 0x1005dbab
mov eax, dword [ebp - 0x6c]
test byte [eax + 0x24], 0x20
jne 0x1005943d
push dword [esi + 0x44]
push dword [esi + 0x40]
push dword [eax]
push dword [ebp - 0x5c]
push 9
push dword [ebx + 0xd8]
call ecx
mov esi, dword [ebp - 0x14]
add esp, 0x18
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [esi + 0x2c]
add dword [ebx + 0x5c], eax
add edi, 0x14
mov dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
mov dword [esi + 0x2c], 0
jmp 0x10059086
mov eax, dword [esi + 0x70]
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xd8], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
lea eax, [ebp - 0xd8]
push eax
push dword [edi + 0x10]
call fcn.10061eb0
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
cmp dword [ebp - 0xd8], eax
jne 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + ecx*4]
call fcn.10061e10
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov ecx, dword [edi + 0xc]
add edi, 0x14
mov eax, dword [esi + 0x70]
mov ebx, dword [ebp - 0x74]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov edx, dword [edi + 4]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x70]
mov ecx, dword [ecx + edx*4]
mov eax, dword [ecx + 0x28]
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.10048aa0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [ebx + 0x60]
ja 0x10059bc0
push esi
push eax
xor edx, edx
call fcn.10050d20
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
cmp dword [edi + 0xc], eax
jne 0x1005943d
mov eax, 0x1000
test word [esi + 8], ax
je 0x1005943d
mov ecx, esi
call fcn.1004ff90
test eax, eax
jne 0x1005aa95
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov edx, dword [edi + 4]
mov ecx, dword [esi + 0x70]
mov dword [ebp - 0x24], eax
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
je 0x1005bfcc
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov ebx, dword [ebp - 0x74]
add edi, 0x14
mov word [eax + 8], cx
mov eax, dword [ebp - 0x18]
jmp 0x10059086
cmp byte [esi + 3], 0
je 0x1005bfe3
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0xc8], ecx
mov eax, dword [esi + 0x44]
jmp 0x1005c098
cmp byte [esi], 2
jne 0x1005c03b
mov ecx, dword [esi + 0x28]
lea edx, [ebp - 0xc8]
push edx
push ecx
mov esi, dword [ecx]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.10055fc0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc8b
mov edx, dword [ebp - 0x24]
add edi, 0x14
mov ecx, dword [ebp - 0xc8]
mov ebx, dword [ebp - 0x74]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov eax, dword [esi + 0x28]
cmp byte [eax + 0x42], 1
je 0x1005c058
mov ecx, esi
call fcn.10054800
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
jmp 0x1005c05f
mov dword [ebp - 0x1c], 0
cmp byte [esi + 2], 0
je 0x1005c082
mov edx, dword [ebp - 0x24]
mov eax, 1
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
mov word [edx + 8], ax
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov esi, dword [esi + 0x28]
mov ecx, esi
call fcn.10048aa0
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc8], ecx
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 0x24]
add edi, 0x14
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0xc4], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0xc4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + ecx*4]
cmp byte [ecx], 0
mov byte [ecx + 2], 1
mov dword [ecx + 0x1c], 0
jne case.0x100590a9.95
mov ecx, dword [ecx + 0x28]
call fcn.10044f10
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov dword [ebp - 0xe0], 0
mov esi, dword [eax + ecx*4]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x20], eax
cmp dword [edi + 0xc], 0
je 0x1005c11c
cmp byte [ecx + 0x42], 1
je 0x1005943d
lea edx, [ebp - 0xe0]
call fcn.10049360
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x1c]
mov byte [esi + 2], al
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
mov esi, dword [ebp - 0x14]
test ecx, ecx
jne 0x1005de57
cmp dword [edi + 8], ecx
jle case.0x100590a9.95
test eax, eax
jne 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
lea edx, [ebp - 0xd4]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x28]
mov ecx, esi
call fcn.10049330
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
cmp dword [ebp - 0xd4], eax
jne 0x100590dc
mov ecx, esi
call fcn.100498e0
test edx, edx
jl 0x1005943d
jg 0x1005c1b4
test eax, eax
jb 0x1005943d
push edx
push eax
call fcn.10036b20
mov esi, dword [ebp - 0x14]
add esp, 8
cwde
cmp eax, dword [edi + 0xc]
jge case.0x100590a9.95
mov dword [ebp - 0xd4], 1
jmp 0x100590df
inc dword [esi + 0xa4]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0xb8]
mov eax, dword [esi + 0x70]
mov dword [ebp - 0xb8], 1
mov esi, dword [eax + ecx*4]
cmp byte [esi], 1
jne 0x1005c207
mov ecx, esi
call fcn.10061d40
jmp 0x1005c21a
mov ecx, dword [esi + 0x28]
call fcn.10049330
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
mov eax, dword [ebp - 0xb8]
mov byte [esi + 2], al
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0xa0]
push eax
mov edx, esi
mov dword [ebp - 0xa0], 0
mov ecx, ebx
call fcn.10061da0
add esp, 4
jmp 0x1005c2a9
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
cmp dword [eax + ecx*4], 0
je case.0x100590a9.95
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa0]
push eax
push dword [esi + 0x28]
mov eax, dword [ecx + 0x10]
call eax
mov edi, dword [ebp - 0x28]
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x1005dc88
cmp dword [ebp - 0xa0], eax
jne 0x1005c2d9
mov ecx, dword [ebp - 0x14]
mov byte [esi + 2], al
movzx eax, word [edi + 2]
inc dword [ecx + eax*4 + 0x9c]
jmp case.0x100590a9.13
mov byte [esi + 2], 1
jmp 0x1005d82b
mov eax, dword [esi + 0x70]
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x20]
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x28]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
je 0x1005c306
mov eax, dword [ebp - 0x14]
inc dword [eax + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x1005c323
mov ecx, esi
call fcn.10050010
test eax, eax
jne 0x1005dc88
mov ecx, dword [ebp - 0x28]
cmp byte [ecx], 0x7d
jne 0x1005c333
mov edx, esi
mov ecx, edi
call fcn.10060e30
jmp 0x1005c395
mov eax, dword [esi + 0xc]
cdq
mov dword [ebp - 0x248], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x250], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x244], edx
mov edx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0x23c], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x238], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x1005c376
mov ecx, dword [edi + 0x20]
jmp 0x1005c378
xor ecx, ecx
push ecx
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x250]
and eax, 0xa
push eax
call fcn.1004cd80
add esp, 8
mov dword [edi + 0x1c], 0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x198]
mov eax, dword [esi + 0x70]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
mov dword [ebp - 0x198], eax
mov ax, word [ecx + 0xc]
mov word [ebp - 0x190], ax
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x18e], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, edi
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push 0
call fcn.100493c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
cmp dword [ebp - 0x108], eax
jne 0x1005c434
mov dl, 4
mov ecx, edi
call fcn.1004d0c0
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov esi, dword [ebp - 0x14]
jmp 0x10059086
mov eax, dword [esi + 0x70]
mov ecx, dword [edi + 4]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x28]
cmp byte [eax + 0x42], 1
je 0x1005c47c
mov ecx, esi
call fcn.10054800
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
jmp 0x1005c481
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp byte [esi + 2], 0
jne 0x1005c52c
mov edx, dword [esi + 0x28]
lea eax, [ebp - 0xf0]
xorps xmm0, xmm0
mov ecx, ebx
push eax
movlpd qword [ebp - 0xf0], xmm0
call fcn.10055d20
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc88
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0x80
jne 0x1005c4fe
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x74]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0xec]
mov dword [ecx + 0x44], eax
mov word [ecx + 2], 0x100
mov eax, dword [edi + 0x10]
add edi, 0x14
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x24], esi
mov esi, dword [ebp - 0x14]
jmp 0x10059086
mov esi, dword [ebp - 0x14]
mov edx, eax
mov ecx, esi
call fcn.10058f80
mov ecx, dword [ebp - 0xf0]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x74]
add edi, 0x14
mov dword [eax], ecx
mov ecx, dword [ebp - 0xec]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.10050780
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
cmp byte [ebp - 0x35], 0x3d
mov dword [ebp - 0x9c], 0
mov edx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x1a8], eax
mov ax, word [ecx + 0x10]
mov word [ebp - 0x1a0], ax
sbb al, al
mov byte [ebp - 0x19e], al
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, ebx
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.10055e60
mov edi, dword [ebp - 0x28]
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x9c]
test byte [edi], 1
je 0x1005c5c3
neg eax
jmp 0x1005c5c4
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x9c], eax
test ecx, ecx
jne 0x1005de57
test eax, eax
jg 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov esi, eax
mov eax, 1
mov word [esi + 8], ax
mov ecx, dword [ebx + 0xac]
inc ecx
cmp dword [ebx + 0xa0], ecx
jg 0x1005ddff
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0xf8]
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
add eax, eax
mov dword [ebp - 0xf8], 0
mov ecx, dword [ecx + eax*8 + 4]
call fcn.1004dba0
mov ecx, dword [ebp - 0xf8]
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, 4
mov word [esi + 8], ax
mov eax, ecx
cdq
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], edx
test eax, eax
jne 0x1005dc88
test ecx, ecx
je 0x1005943d
push dword [edi + 4]
mov edx, dword [ebp - 0x24]
push ecx
mov ecx, ebx
call fcn.10072dd0
mov al, byte [ebp - 0x24]
add esp, 8
mov esi, dword [ebp - 0x14]
inc al
mov ebx, dword [ebp - 0x74]
add edi, 0x14
mov byte [ebp - 0x75], al
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov edx, dword [edi + 4]
lea eax, [ebp - 0xe4]
xor ecx, ecx
mov dword [ebp - 0xe4], 0
cmp dword [edi + 0xc], ecx
cmove eax, ecx
mov ecx, dword [ebx + 0x10]
push eax
mov eax, dword [edi + 8]
add eax, eax
mov ecx, dword [ecx + eax*8 + 4]
call fcn.1004d8d0
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0xc], 0
je 0x1005c6f3
mov eax, dword [ebp - 0xe4]
add dword [esi + 0x2c], eax
mov ecx, dword [edi + 0xc]
test ecx, ecx
jle 0x1005c6f0
mov ebx, dword [ebp - 0x20]
lea ecx, [ecx + ecx*4]
cdq
add dword [ebx + ecx*8], eax
mov eax, ebx
mov ebx, dword [ebp - 0x74]
adc dword [eax + ecx*8 + 4], edx
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + ecx*4]
cmp byte [ecx], 1
jne 0x1005c72f
mov edx, dword [ecx + 0x28]
mov ecx, ebx
call fcn.100600a0
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [ecx + 0x28]
push 0
mov edx, dword [ecx + 0x34]
mov ecx, dword [ecx]
call fcn.1004d8d0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov edi, eax
mov dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xdc]
xor ecx, ecx
mov esi, dword [eax + 4]
shl esi, 4
add esi, dword [ebx + 0x10]
cmp byte [eax], 0x87
setne cl
inc ecx
push ecx
mov ecx, dword [esi + 4]
call fcn.1004d6f0
mov esi, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0x74]
cdq
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x28]
add edi, 0x14
jmp 0x10059086
inc byte [ebx + 0x4e]
push 0
push 0
push 0
push dword [edi + 0x10]
push ebx
call fcn.100818f0
dec byte [ebx + 0x4e]
add esp, 0x14
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
lea eax, [esi + 0x6c]
push dword [edi + 0x10]
mov dword [ebp - 0x148], ecx
add ecx, ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebx + 0x10]
push str.sqlite_master
mov dword [ebp - 0x150], ebx
push dword [eax + ecx*8]
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
push ebx
call fcn.10034830
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1005de13
push 0
lea eax, [ebp - 0x150]
mov byte [ebx + 0x99], 1
push eax
push fcn.10085ea0
push esi
push ebx
mov dword [ebp - 0x144], 0
call fcn.100818f0
add esp, 0x14
mov edx, esi
test eax, eax
mov ecx, ebx
cmove eax, dword [ebp - 0x144]
mov dword [ebp - 0x1c], eax
call fcn.10032860
mov ecx, dword [ebp - 0x1c]
mov byte [ebx + 0x99], 0
test ecx, ecx
jne 0x1005de1a
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov edx, dword [edi + 4]
mov ecx, ebx
call fcn.1006e640
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
push dword [edi + 0x10]
mov edx, dword [edi + 4]
mov ecx, ebx
call fcn.100708b0
mov eax, dword [ebp - 0x18]
add esp, 4
mov ebx, dword [ebp - 0x74]
add edi, 0x14
jmp 0x10059086
push dword [edi + 0x10]
mov edx, dword [edi + 4]
mov ecx, ebx
call fcn.100702e0
mov eax, dword [ebp - 0x18]
add esp, 4
mov ebx, dword [ebp - 0x74]
add edi, 0x14
jmp 0x10059086
push dword [edi + 0x10]
mov edx, dword [edi + 4]
mov ecx, ebx
call fcn.10092f50
mov eax, dword [ebp - 0x18]
add esp, 4
mov ebx, dword [ebp - 0x74]
add edi, 0x14
jmp 0x10059086
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
lea esi, [eax + eax*4]
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x28]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ecx + esi*8]
mov ecx, dword [ebx + 0x10]
inc eax
push eax
mov eax, dword [ebp - 0x28]
push dword [eax + 8]
movzx eax, word [eax + 2]
add eax, eax
mov ecx, dword [ecx + eax*8 + 4]
call fcn.1004e7d0
mov ecx, dword [ebp - 0x5c]
add esp, 0xc
mov dword [ebp - 0x44], eax
call fcn.10050780
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x1005c994
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x1005aa95
mov ebx, dword [ebp - 0x20]
dec eax
cdq
push fcn.100327b0
push 1
sub dword [ebx + esi*8], eax
push 0xffffffffffffffff
sbb dword [ebx + esi*8 + 4], edx
mov edx, ecx
mov ecx, dword [ebp - 0x5c]
call fcn.10050a70
add esp, 0xc
movzx edx, byte [ebp - 0x68]
mov ecx, dword [ebp - 0x5c]
call fcn.1004fe30
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x20
lea esi, [ecx + eax*8]
mov eax, dword [edi + 8]
lea eax, [eax + eax*4]
mov dword [ebp - 0x44], eax
jne 0x1005c9e1
mov ecx, esi
call fcn.10050820
test byte [esi + 8], 0x20
je 0x1005aa95
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x20]
push dword [ebx + eax*8 + 4]
mov ecx, dword [esi]
push dword [ebx + eax*8]
call fcn.1003c150
mov esi, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x20
lea esi, [ecx + eax*8]
je 0x1005ca4f
mov ecx, dword [esi]
lea edx, [ebp - 0x160]
call fcn.1003c4e0
test eax, eax
je 0x1005ca4f
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x15c]
push dword [ebp - 0x160]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.100507e0
add esp, 8
jmp 0x1005d82b
mov ecx, esi
call fcn.10050780
jmp case.0x100590a9.13
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x20
lea esi, [ecx + eax*8]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x24], ecx
lea eax, [eax + eax*4]
mov dword [ebp - 0x6c], eax
jne 0x1005ca94
mov ecx, esi
call fcn.10050820
test byte [esi + 8], 0x20
je 0x1005aa95
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
test ecx, ecx
je 0x1005cabb
push dword [ebx + eax*8 + 4]
mov edx, ecx
mov ecx, dword [esi]
push dword [ebx + eax*8]
call fcn.1003c540
add esp, 8
test eax, eax
jne 0x100590dc
mov ecx, dword [ebp - 0x24]
test ecx, ecx
js 0x1005943d
mov eax, dword [ebp - 0x6c]
jmp 0x1005c9e4
cmp word [edi + 2], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
mov esi, dword [edi + 0x10]
mov edx, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov dword [ebp - 0x2c], esi
lea ecx, [ecx + eax*8]
mov dword [ebp - 0x50], ecx
je 0x1005cb08
mov eax, dword [edx + 0xb8]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x1005cb05
cmp dword [eax + 0x1c], ecx
je 0x1005db9b
mov eax, dword [eax + 4]
test eax, eax
jne 0x1005caf5
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0xc0]
cmp eax, dword [ebx + 0x88]
jge 0x1005de32
test byte [ecx + 8], 0x40
jne 0x1005ccb8
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 8]
add esi, ecx
test ecx, ecx
jne 0x1005cb31
inc esi
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx*4]
mov ecx, ebx
cdq
push edx
push eax
call fcn.10032ac0
mov edi, eax
add esp, 8
test edi, edi
je 0x1005aa95
mov ecx, dword [ebp - 0x50]
call fcn.10050360
mov eax, dword [ebp - 0x50]
mov ecx, 0x40
mov word [eax + 8], cx
mov dword [eax], edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x64]
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x3c], esi
mov eax, dword [eax + 0xc]
mov dword [edi + 0x40], eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x30], eax
mov eax, dword [edx + 0x5c]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x38], eax
mov eax, dword [edx + 0x70]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x2c], eax
mov eax, dword [edx + 0x58]
mov dword [edi + 8], eax
mov eax, dword [edx + 0x88]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
lea eax, [edi + 0x50]
cmp eax, ecx
je 0x1005cbfe
mov esi, 0x80
nop
mov word [eax + 8], si
mov dword [eax + 0x20], ebx
add eax, 0x28
cmp eax, ecx
jne 0x1005cbf0
mov esi, dword [ebp - 0x2c]
inc dword [edx + 0xc0]
mov eax, dword [edx + 0xb8]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x24]
lea ebx, [edi + 0x50]
mov dword [edi + 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [edi + 0x44], eax
mov eax, dword [edx]
mov dword [ebp - 0x20], ebx
mov eax, dword [eax + 0x58]
mov dword [edi + 0x48], eax
mov eax, dword [edx + 0xcc]
mov dword [edi + 0x28], eax
mov dword [edx + 0xcc], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0xb8], edi
mov dword [edx + 0x5c], ebx
mov eax, dword [edi + 0x3c]
mov dword [edx + 0x18], eax
movzx eax, word [edi + 0x40]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x18]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov dword [edx + 0x70], ecx
mov eax, dword [esi + 0xc]
lea ecx, [ecx + eax*4]
mov dword [edi + 0x18], ecx
mov eax, dword [esi + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call sub.MSVCR120.dll_memset
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [esi]
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x64], edx
mov dword [eax + 0x58], edx
mov eax, dword [esi + 4]
lea edi, [edx - 0x14]
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov dword [esi + 0x88], eax
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov edi, dword [ecx]
jmp 0x1005cc01
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov esi, eax
mov eax, dword [ebp - 0x14]
push 0x1000
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax + 0x30]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [ecx + edx*4 + 4]
add ecx, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov ecx, esi
call fcn.10050950
mov esi, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
test dword [ebx + 0x18], 0x2000000
mov eax, dword [edi + 8]
cdq
je 0x1005cd33
add dword [ebx + 0x1c0], eax
mov eax, dword [ebp - 0x18]
adc dword [ebx + 0x1c4], edx
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
cmp dword [edi + 4], 0
je 0x1005cd53
add dword [ebx + 0x1b8], eax
mov eax, dword [ebp - 0x18]
adc dword [ebx + 0x1bc], edx
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
add dword [esi + 0x40], eax
mov eax, dword [ebp - 0x18]
adc dword [esi + 0x44], edx
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
cmp dword [edi + 4], 0
je 0x1005cd9f
mov eax, dword [ebx + 0x1b8]
or eax, dword [ebx + 0x1bc]
jne case.0x100590a9.95
mov eax, dword [ebx + 0x1c0]
or eax, dword [ebx + 0x1c4]
je 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [esi + 0x40]
or eax, dword [esi + 0x44]
jmp 0x1005cd79
mov edx, dword [esi + 0xb8]
test edx, edx
je 0x1005cdcf
mov eax, dword [edx + 4]
test eax, eax
je 0x1005cdc1
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x1005cdb8
mov eax, dword [edi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea ebx, [eax + ecx*8]
jmp 0x1005cddb
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov ecx, ebx
call fcn.10050530
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.10050530
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp dword [ebx + 4], ecx
jg 0x1005943d
jl 0x1005ce0d
cmp dword [ebx], eax
jae 0x1005943d
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 4], ecx
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0x20]
lea esi, [eax + eax*4]
mov ebx, dword [edx + esi*8 + 4]
mov ecx, dword [edx + esi*8]
test ebx, ebx
jl 0x1005943d
jg 0x1005ce45
test ecx, ecx
je 0x1005943d
mov eax, dword [edi + 0xc]
cdq
sub ecx, eax
sbb ebx, edx
mov edx, dword [ebp - 0x20]
mov dword [edx + esi*8], ecx
mov dword [edx + esi*8 + 4], ebx
jmp 0x100590dc
mov eax, dword [edi + 4]
mov edx, edi
mov ecx, dword [ebp - 0x14]
lea esi, [eax + eax*4]
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
mov dword [ebp - 0x44], eax
call fcn.10058f80
mov edx, dword [ebp - 0x20]
mov ebx, eax
mov ecx, dword [edx + esi*8 + 4]
mov eax, dword [edx + esi*8]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], ecx
test ecx, ecx
jl 0x1005ceef
jg 0x1005ce97
test eax, eax
je 0x1005ceef
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + ecx*8]
mov ecx, dword [edx + ecx*8 + 4]
test ecx, ecx
jl 0x1005ceab
jg 0x1005ceb9
test eax, eax
jne 0x1005ceb9
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.10036890
add esp, 8
test eax, eax
jne 0x1005ceef
mov eax, dword [ebp - 0x100]
add edi, 0x14
mov esi, dword [ebp - 0x14]
mov dword [ebx], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x20]
lea esi, [eax + eax*4]
mov ecx, dword [ebx + esi*8]
mov eax, ecx
mov edx, dword [ebx + esi*8 + 4]
or eax, edx
je 0x1005943d
test edx, edx
jl 0x100590dc
jg 0x1005cf39
test ecx, ecx
je 0x100590dc
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
jmp 0x100590d8
mov eax, dword [edi + 4]
mov ebx, dword [ebp - 0x20]
lea ecx, [eax + eax*4]
mov edx, dword [ebx + ecx*8 + 4]
mov eax, dword [ebx + ecx*8]
cmp edx, 0x80000000
jl 0x1005cf72
jg 0x1005cf65
test eax, eax
je 0x1005cf72
sub eax, 1
mov dword [ebx + ecx*8], eax
sbb edx, 0
mov dword [ebx + ecx*8 + 4], edx
mov eax, dword [ebx + ecx*8]
or eax, dword [ebx + ecx*8 + 4]
je 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
movzx eax, word [edi + 2]
mov ecx, ebx
mov dword [ebp - 0x44], eax
push 0
lea eax, [eax*4 + 0x1c]
push eax
call fcn.10032bb0
mov esi, eax
add esp, 8
test esi, esi
je 0x1005aa95
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov dword [esi + 8], 0
mov ecx, dword [eax + 0x10]
mov dword [esi + 4], ecx
mov ecx, eax
sub ecx, dword [ebp - 0x64]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x44]
mov byte [esi + 0x1a], al
mov word [edi], 0xf095
mov dword [edi + 0x10], esi
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
mov esi, dword [edi + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x44], eax
cmp dword [esi + 8], eax
je 0x1005d03a
movzx ecx, byte [esi + 0x1a]
dec ecx
mov dword [esi + 8], eax
js 0x1005d03a
mov ebx, dword [ebp - 0x20]
lea edx, [ecx + 7]
lea edx, [esi + edx*4]
lea esp, [esp]
mov eax, dword [edi + 8]
lea edx, [edx - 4]
add eax, ecx
dec ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx + 4], eax
jns 0x1005d020
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x44]
inc dword [eax + 0xc]
mov eax, 1
mov word [ebp - 0x270], ax
lea eax, [ebp - 0x278]
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x260], 0
mov ecx, dword [esi + 4]
mov dword [esi], eax
lea eax, [esi + 0x1c]
push eax
movzx eax, byte [esi + 0x1a]
push eax
mov word [esi + 0x18], 0
mov eax, dword [ecx + 0xc]
push esi
call eax
add esp, 0xc
cmp byte [esi + 0x19], 0
je 0x1005d0c4
cmp dword [esi + 0x14], 0
je 0x1005d0ae
lea eax, [ebp - 0x278]
push eax
call fcn.10056520
add esp, 4
push eax
push 0x101044c4
push dword [ebp - 0x14]
call fcn.10051320
mov eax, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x278]
call fcn.10050360
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc88
cmp byte [esi + 0x18], 0
je 0x1005943d
mov eax, dword [edi - 0x10]
test eax, eax
je 0x1005943d
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
push 0
push 1
lea ecx, [ecx + eax*8]
call fcn.100507e0
mov esi, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.100501a0
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005de3c
movzx edx, byte [ebp - 0x68]
mov ecx, esi
call fcn.1004fe30
mov ecx, esi
call fcn.100508f0
test eax, eax
jne 0x10059bc0
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov edx, dword [edi + 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0
push eax
push dword [edi + 8]
mov ecx, ebx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
call fcn.100a9080
add esp, 0xc
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1005d196
cmp eax, 5
jne 0x1005dc8b
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi + 0xc]
xor esi, esi
mov ecx, dword [ebp - 0x20]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [ebp + esi*4 - 0x10]
mov ecx, ebx
cdq
push edx
push eax
call fcn.100507e0
inc esi
add esp, 8
add ebx, 0x28
cmp esi, 3
jl 0x1005d1a4
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
add edx, edx
cmp esi, 0xffffffff
mov eax, dword [ecx + edx*8 + 4]
mov dword [ebp - 0x44], eax
mov ecx, dword [eax + 4]
mov edi, dword [ecx]
movzx ecx, byte [edi + 5]
cmove esi, ecx
mov dword [ebp - 0x30], ecx
cmp byte [edi + 0x11], 3
jae 0x1005d21e
mov eax, dword [edi + 0x44]
cmp dword [eax], 0
je 0x1005d220
cmp dword [edi + 0x54], 0
jl 0x1005d220
jg 0x1005d21e
cmp dword [edi + 0x50], 0
jbe 0x1005d220
mov esi, ecx
cmp byte [edi + 0x10], 0
mov eax, 0x1010388c
jne 0x1005d231
mov eax, dword [edi + 0xb0]
cmp esi, 5
jne 0x1005d256
mov ecx, eax
call fcn.100355b0
test eax, eax
je 0x1005d24c
mov ecx, edi
call fcn.100417e0
test eax, eax
jne 0x1005d253
mov eax, dword [ebp - 0x30]
mov esi, eax
jmp 0x1005d2c7
mov ecx, dword [ebp - 0x30]
cmp esi, ecx
je 0x1005d2c4
cmp ecx, 5
je 0x1005d264
cmp esi, 5
jne 0x1005d2c4
cmp byte [ebx + 0x43], 0
je 0x1005de5f
cmp dword [ebx + 0xa0], 1
jg 0x1005de5f
cmp ecx, 5
jne 0x1005d29b
mov edx, ebx
mov ecx, edi
call fcn.10041950
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005d2cf
mov edx, esi
mov ecx, edi
call fcn.10041680
jmp 0x1005d2b0
cmp ecx, 4
jne 0x1005d2aa
lea edx, [ecx - 2]
mov ecx, edi
call fcn.10041680
cmp dword [ebp - 0x1c], 0
jne 0x1005d2cf
mov ecx, dword [ebp - 0x44]
xor edx, edx
cmp esi, 5
sete dl
inc edx
call fcn.1004eda0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], 0
je 0x1005d2d4
jmp 0x1005d2d2
mov eax, dword [ebp - 0x30]
mov esi, eax
mov edx, esi
mov ecx, edi
call fcn.10041680
mov esi, dword [ebp - 0x24]
mov ecx, 0xa02
mov word [esi + 8], cx
cmp eax, 6
jne 0x1005d2f2
xor ecx, ecx
jmp 0x1005d2f9
mov ecx, dword [eax*4 + 0x100f4bb8]
mov dword [esi + 0x10], ecx
call fcn.100355b0
movzx edx, byte [ebp - 0x68]
mov ecx, esi
mov dword [esi + 0xc], eax
mov byte [esi + 0xa], 1
call fcn.1004fe30
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x1005dc8b
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
push dword [edi + 4]
lea ecx, [esi + 0x6c]
mov edx, ebx
call fcn.10096080
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov ecx, dword [eax + ecx*8 + 4]
call fcn.10047ff0
mov dword [ebp - 0x1c], eax
test eax, eax
je case.0x100590a9.95
cmp eax, 0x65
jne 0x1005dc8b
mov dword [ebp - 0x1c], 0
jmp 0x100590df
cmp dword [edi + 4], 0
jne 0x1005d3a7
mov ecx, ebx
call fcn.10055f20
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
or dword [esi + 0x90], 1
add edi, 0x14
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov al, byte [edi + 0xc]
mov byte [ebp - 0x104], al
test al, al
jne 0x1005d3d6
test dword [ebx + 0x18], 0x4000
jne case.0x100590a9.95
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x10]
add eax, eax
push dword [ebp - 0x104]
mov edx, dword [edi + 8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.1004ecb0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je case.0x100590a9.95
cmp al, 6
jne 0x1005dc8b
push dword [edi + 0x10]
push str.database_table_is_locked:__s
push esi
call fcn.10051320
mov eax, dword [ebp - 0x1c]
add esp, 0xc
jmp 0x1005dc8b
mov esi, dword [edi + 0x10]
mov ecx, ebx
mov edx, esi
call fcn.100977e0
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x10059e40
mov edx, dword [esi + 8]
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.10055fc0
mov eax, dword [ebp - 0x1c]
jmp 0x10059e43
mov eax, dword [edi + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x20]
movq qword [ebp - 0x1e8], xmm0
movdqu xmmword [ebp - 0x208], xmm0
lea eax, [eax + eax*4]
mov dword [ebp - 0x1e8], ebx
lea edx, [ecx + eax*8]
lea ecx, [ebp - 0x208]
movdqu xmmword [ebp - 0x1f8], xmm0
call fcn.100509b0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x208]
push eax
call fcn.10056520
add esp, 4
test eax, eax
je 0x1005d4ae
mov edx, dword [edi + 4]
lea ecx, [esi + 0x6c]
push ecx
push eax
mov ecx, ebx
call fcn.10097260
add esp, 8
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x208]
call fcn.10050360
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
inc dword [ebx + 0xac]
mov ecx, ebx
push dword [edi + 0x10]
mov edx, dword [edi + 4]
call fcn.100975a0
dec dword [ebx + 0xac]
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xa4], 0
mov esi, dword [eax + 8]
test esi, esi
je 0x1005dea1
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1005dea1
mov eax, dword [eax + 0x18]
lea ecx, [ebp - 0xa4]
push ecx
push esi
call eax
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, esi
mov dword [ebp - 0x1c], eax
call fcn.10055fc0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc88
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x14]
push 2
push 0xffffffffffffffff
mov dword [eax], esi
mov edx, dword [edi + 4]
push 0
call fcn.10058c00
add esp, 0xc
test eax, eax
je 0x1005de8b
mov ecx, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0x74]
mov dword [eax + 0x28], ecx
inc dword [esi + 4]
add edi, 0x14
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 0x20]
add esi, 0x28
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x14]
lea esi, [esi + edx*8]
mov eax, dword [eax + 0x70]
movd xmm0, esi
mov dword [ebp - 0x6c], esi
mov esi, dword [esi]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x50], eax
pshufd xmm3, xmm0, 0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x60]
mov dword [ebp - 0x44], edx
test esi, esi
jle 0x1005d690
cmp esi, 8
jb 0x1005d672
cmp dword [0x10119eac], 2
jl 0x1005d672
movdqa xmm2, xmmword [0x10105d40]
mov eax, esi
and eax, 0x80000007
jns 0x1005d615
dec eax
or eax, 0xfffffff8
inc eax
movdqa xmm1, xmmword [str.____]
mov ebx, esi
sub ebx, eax
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
lea edx, [edx + 0x20]
paddd xmm0, xmm2
add ecx, 8
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movdqu xmmword [edx - 0x20], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
pmulld xmm0, xmm1
paddd xmm0, xmm3
paddd xmm0, xmm1
movdqu xmmword [edx - 0x10], xmm0
cmp ecx, ebx
jl 0x1005d621
mov ebx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x44]
cmp ecx, esi
jge 0x1005d690
mov ebx, dword [ebp - 0x6c]
lea eax, [ecx + 1]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov ebx, dword [ebp - 0x74]
mov dword [edx + ecx*4], eax
inc ecx
add eax, 0x28
cmp ecx, esi
jl 0x1005d685
mov eax, dword [ebp - 0x24]
push edx
push esi
push dword [edi + 0x10]
mov esi, dword [ebp - 0x54]
push dword [ebp - 0x5c]
mov eax, dword [eax + 0x20]
push esi
call eax
mov edx, dword [ebp - 0x2c]
add esp, 0x14
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call fcn.10055fc0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc88
mov eax, dword [ebp - 0x24]
push esi
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x50]
add esp, 4
mov esi, dword [ebp - 0x14]
mov byte [ecx + 2], 0
test eax, eax
jne 0x100590df
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [esi + 0x70]
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x44], ecx
cmp byte [ecx + 2], 0
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
mov dword [ebp - 0x24], edx
je 0x1005d722
mov ecx, edx
call fcn.10050780
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [ecx + 0x28]
xorps xmm0, xmm0
mov esi, dword [eax]
mov ecx, dword [esi]
movdqu xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x228], edx
movdqu xmmword [ebp - 0x218], xmm0
mov ax, word [edx + 8]
and ax, word [ebp - 0x130]
or ax, 1
mov word [edx + 8], ax
lea eax, [ebp - 0x228]
push dword [edi + 8]
push eax
mov eax, dword [ebp - 0x44]
push dword [eax + 0x28]
mov eax, dword [ecx + 0x2c]
call eax
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, esi
mov dword [ebp - 0x1c], eax
call fcn.10055fc0
mov eax, dword [ebp - 0x214]
test eax, eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp - 0x68]
cmovne ecx, eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x24]
call fcn.1004fe30
mov ecx, dword [ebp - 0x24]
call fcn.100508f0
test eax, eax
jne 0x10059bc0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x44], eax
cmp byte [eax + 2], 0
jne case.0x100590a9.95
mov eax, dword [eax + 0x28]
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp - 0x24], ecx
mov eax, dword [ecx + 0x24]
call eax
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.10055fc0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x44]
push dword [eax + 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x1005d82b
mov edi, dword [edi + 8]
mov ecx, dword [ebp - 0x64]
dec edi
lea edi, [edi + edi*4]
lea edi, [ecx + edi*4]
mov dword [ebp - 0x28], edi
cmp dword [ebx + 0xf8], 0
jne 0x1005e0ca
mov ecx, dword [ebx + 0x130]
mov eax, dword [ebp - 0x18]
test ecx, ecx
je 0x1005db8d
cmp eax, dword [ebp - 0xa8]
jb 0x1005db8d
mov esi, dword [ebx + 0x138]
xor edx, edx
div esi
push dword [ebx + 0x134]
sub esi, edx
add esi, dword [ebp - 0x18]
mov dword [ebp - 0xa8], esi
call ecx
mov esi, dword [ebp - 0x14]
add esp, 4
test eax, eax
jne 0x1005ded9
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], ecx
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 2
lea esi, [edx + eax*8]
je 0x1005d8c4
cmp byte [esi + 0xa], 1
je 0x1005d8c4
mov dl, 1
mov ecx, esi
call fcn.10034eb0
test eax, eax
jne 0x1005dc88
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
push dword [esi + 0x10]
push ecx
mov eax, dword [eax + 0x4c]
call eax
mov esi, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x24]
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.10055fc0
and dword [esi + 0x90], 0xfffffffe
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1005deab
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1005deab
cmp dword [eax + 0x34], 0
mov esi, dword [edi + 8]
je 0x1005943d
mov al, byte [ebx + 0x4a]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x60]
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
xor eax, eax
test esi, esi
jle 0x1005d95b
jmp 0x1005d950
mov dword [edx + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, esi
jl 0x1005d950
mov al, byte [edi + 2]
mov byte [ebx + 0x4a], al
lea eax, [ebp - 0x158]
push eax
mov eax, dword [ebp - 0x24]
push edx
push esi
mov esi, dword [ebp - 0x44]
mov eax, dword [eax + 0x34]
push esi
call eax
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 0x35]
mov edx, esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov byte [ebx + 0x4a], al
call fcn.10055fc0
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x28]
jne 0x1005d9b2
cmp dword [eax + 4], 0
je 0x1005d9b2
mov eax, dword [ebp - 0x158]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x154]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
cmp cl, 0x13
jne 0x1005d9f6
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x10], 0
je 0x1005d9f6
mov edi, dword [ebp - 0x28]
movzx eax, word [edi + 2]
cmp eax, 4
jne 0x1005d9e4
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x1c], 0
jmp 0x10059086
cmp eax, 5
jne 0x1005d9ee
mov eax, 2
mov byte [esi + 0x8e], al
jmp 0x1005d9fc
inc dword [esi + 0x2c]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1005dc8b
mov eax, dword [ebp - 0x18]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov edx, dword [edi + 4]
mov ecx, dword [ebx + 0x10]
add edx, edx
mov ebx, dword [ebp - 0x74]
add edi, 0x14
mov ecx, dword [ecx + edx*8 + 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x2c]
mov dword [eax], ecx
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x18]
jmp 0x10059086
mov edx, edi
mov ecx, esi
call fcn.10058f80
mov ecx, dword [ebx + 0x10]
mov edi, eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
add edx, edx
mov ecx, dword [ecx + edx*8 + 4]
xor edx, edx
test esi, esi
je 0x1005da75
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x2c]
cmp edx, esi
cmovb edx, esi
call fcn.10047280
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x74]
cdq
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x28]
add edi, 0x14
jmp 0x10059086
mov cl, byte [ebx + 0x4c]
test cl, 0x81
je 0x1005db44
test byte [esi + 0x90], 2
jne 0x1005db44
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x1005dac2
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1005db44
test cl, cl
jns 0x1005daf1
mov edi, dword [ebx + 0xb8]
mov edx, eax
mov ecx, esi
call fcn.10058730
mov esi, eax
push esi
push dword [ebx + 0xbc]
call edi
push esi
call fcn.100327b0
mov edi, dword [ebp - 0x28]
add esp, 0xc
mov esi, dword [ebp - 0x14]
jmp 0x1005db44
cmp dword [ebx + 0xa8], 1
push eax
jle 0x1005db30
push str.____s
push ebx
call fcn.10034830
mov ecx, dword [ebx + 0xb8]
add esp, 0xc
mov esi, eax
push esi
push dword [ebp - 0x14]
push dword [ebx + 0xbc]
push 1
call ecx
add esp, 0x10
mov edx, esi
mov ecx, ebx
call fcn.10032860
mov esi, dword [ebp - 0x14]
jmp 0x1005db44
mov eax, dword [ebx + 0xb8]
push esi
push dword [ebx + 0xbc]
push 1
call eax
add esp, 0x10
mov eax, dword [edi + 4]
cmp eax, dword [0x10115df8]
jl 0x1005db85
mov edx, 1
cmp dword [esi + 0x88], edx
jle 0x1005db7e
mov eax, 0x14
mov ecx, dword [esi + 0x58]
cmp byte [eax + ecx], 0x14
jne 0x1005db72
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [esi + 0x88]
jl 0x1005db61
mov dword [edi + 4], 0
inc dword [edi + 4]
jmp 0x100590df
mov esi, dword [ebp - 0x14]
add edi, 0x14
mov ebx, dword [ebp - 0x74]
jmp 0x10059086
mov eax, dword [ebp - 0x18]
mov esi, edx
mov ebx, dword [ebp - 0x74]
add edi, 0x14
jmp 0x10059086
mov ebx, dword [ebp - 0x74]
mov esi, eax
mov eax, dword [ebp - 0x18]
add edi, 0x14
jmp 0x10059086
mov ecx, dword [edx + 4]
mov dword [esi + 0x28], ecx
mov al, byte [edx + 8]
mov byte [esi + 0x8e], al
mov dword [esi + 0x24], edi
test ecx, ecx
je 0x1005dc4e
movzx eax, word [edx + 2]
test ax, ax
je 0x1005dc1a
push dword [eax*4 + 0x100f29d8]
push str._s_constraint_failed
push esi
call fcn.10051320
mov esi, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1005dc2e
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x6c]
push str._z:__s
push ebx
call fcn.10034830
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov dword [ecx + 0x6c], eax
jmp 0x1005dc2e
push dword [edx + 0x10]
push 0x101044c4
push esi
call fcn.10051320
mov esi, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [ebp - 0x14]
push dword [eax + 0x6c]
push dword [eax + 0xb0]
push edi
push str.abort_at__d_in___s_:__s
push dword [esi + 4]
call fcn.10034ad0
mov esi, dword [ebp - 0x14]
add esp, 0x14
mov ecx, esi
call fcn.10053f20
mov dword [ebp - 0x1c], eax
cmp eax, 5
jne 0x1005dc65
mov dword [esi + 0x28], eax
jmp 0x1005e213
cmp dword [esi + 0x28], 0
mov eax, 0x65
mov ecx, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x1005e213
mov ecx, 0x13b5e
call fcn.100aa5b0
mov esi, dword [ebp - 0x14]
cmp byte [ebx + 0x45], 0
mov ecx, 7
cmovne eax, ecx
cmp dword [esi + 0x6c], 0
mov dword [ebp - 0x1c], eax
jne 0x1005e139
cmp eax, 0xc0a
je 0x1005e139
mov ecx, dword [ebp - 0x1c]
mov eax, str.unknown_error
cmp ecx, 0x204
je 0x1005e122
movzx ecx, cl
cmp ecx, 0x1a
ja 0x1005e127
mov ecx, dword [ecx*4 + 0x100f2050]
test ecx, ecx
je 0x1005e127
mov eax, ecx
jmp 0x1005e127
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x4c], 0
jne 0x1005dcf9
lea ecx, [ebp - 0x1e0]
call fcn.10050360
mov ecx, 0x13b99
jmp 0x1005dc83
push str.cannot_open_savepoint___SQL_statements_in_progress
push esi
call fcn.10051320
add esp, 8
mov eax, 5
jmp 0x1005dc8b
push str.cannot_release_savepoint___SQL_statements_in_progress
jmp 0x1005e006
mov ecx, dword [ebp - 0x28]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x14]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x24], eax
mov eax, 5
mov byte [ebx + 0x43], 0
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x28], eax
jmp 0x1005e213
mov esi, dword [ebp - 0x14]
push eax
push str.no_such_savepoint:__s
push esi
call fcn.10051320
add esp, 0xc
mov eax, 1
jmp 0x1005dc8b
mov eax, 8
jmp 0x1005dc8b
mov esi, dword [ebp - 0x14]
cmp al, 5
jne 0x1005dc8b
mov ecx, dword [ebp - 0x28]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x64]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x28], eax
jmp 0x1005e213
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov edx, dword [eax + 0x6c]
call fcn.10032860
mov edx, str.database_schema_has_changed
mov ecx, ebx
call fcn.10032e20
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov edx, dword [edi + 4]
mov ecx, edx
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
cmp dword [eax], esi
je 0x1005dde1
mov ecx, ebx
call fcn.100704e0
mov esi, dword [ebp - 0x14]
mov eax, 0x11
or dword [esi + 0x90], 1
jmp 0x1005dc8b
mov eax, 0x204
jmp 0x1005dc8b
mov esi, dword [ebp - 0x14]
mov eax, 6
mov byte [esi + 0x8e], 2
jmp 0x1005dc8b
mov dword [ebp - 0x1c], 7
mov ecx, ebx
call fcn.10070520
mov eax, dword [ebp - 0x1c]
cmp eax, 7
je 0x1005aa95
jmp 0x1005dc88
push str.too_many_levels_of_trigger_recursion
jmp 0x1005e0b4
push esi
call fcn.10056520
mov esi, dword [ebp - 0x14]
add esp, 4
push eax
push 0x101044c4
push esi
call fcn.10051320
add esp, 0xc
mov eax, dword [ebp - 0x1c]
jmp 0x1005dc8b
cmp esi, 5
mov ecx, str.out_of
mov esi, dword [ebp - 0x14]
mov eax, str.into
cmovne eax, ecx
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push esi
call fcn.10051320
add esp, 0xc
mov eax, 1
jmp 0x1005dc8b
mov eax, dword [ebp - 0x44]
push dword [ebp - 0xa4]
mov eax, dword [eax + 0x1c]
call eax
add esp, 4
jmp 0x1005aa95
mov eax, 6
jmp 0x1005dc88
mov eax, 6
jmp 0x1005dc8b
mov eax, dword [ebx + 0x130]
test eax, eax
je 0x1005dee3
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0xa8]
jb 0x1005dee3
push dword [ebx + 0x134]
call eax
add esp, 4
test eax, eax
je 0x1005dee3
mov eax, 9
jmp 0x1005dc8b
xor edx, edx
mov ecx, esi
call fcn.10053ec0
test eax, eax
jne 0x1005dc8b
mov eax, dword [esi]
cmp dword [eax + 0x1b4], 0
je 0x1005df11
cmp dword [esi + 0x30], 0
je 0x1005df11
mov edx, 1
mov ecx, esi
call fcn.10053db0
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x28]
add eax, 2
mov edx, dword [ebp - 0x20]
or eax, 1
mov dword [esi + 0x20], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea edi, [edx + eax*8]
mov dword [esi + 0x68], edi
cmp dword [ecx + 8], 0
jle 0x1005df73
mov esi, ecx
mov edi, edi
mov eax, 0x1000
test word [edi + 8], ax
je 0x1005df5a
mov ecx, edi
call fcn.1004ff90
test eax, eax
jne 0x1005aa95
mov ecx, edi
call fcn.100500a0
mov eax, dword [ebp - 0x24]
add edi, 0x28
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [esi + 8]
jl 0x1005df40
mov esi, dword [ebp - 0x14]
cmp byte [ebx + 0x45], 0
jne 0x1005aabe
test byte [ebx + 0x4c], 4
je 0x1005df99
mov eax, dword [ebx + 0xb8]
push 0
push esi
push dword [ebx + 0xbc]
push 4
call eax
add esp, 0x10
mov ecx, dword [ebp - 0x28]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x64]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [esi + 0x24], eax
mov eax, 0x64
mov dword [ebp - 0x1c], eax
jmp 0x1005e213
mov ecx, dword [edi + 4]
movzx eax, byte [ebx + 0x43]
mov esi, dword [edi + 8]
mov dword [ebp - 0x24], ecx
cmp ecx, eax
je 0x1005e099
test esi, esi
je 0x1005dff4
mov edx, 0x204
mov ecx, ebx
call fcn.100a84d0
mov esi, dword [ebp - 0x14]
mov edi, 1
mov byte [ebx + 0x43], 1
jmp 0x1005e03e
test ecx, ecx
je 0x1005e01c
cmp dword [ebx + 0xa4], 0
jle 0x1005e01c
push str.cannot_commit_transaction___SQL_statements_in_progress
mov esi, dword [ebp - 0x14]
push esi
call fcn.10051320
add esp, 8
mov eax, 5
jmp 0x1005dc8b
mov esi, dword [ebp - 0x14]
mov edi, 1
mov edx, edi
mov ecx, esi
call fcn.10053ec0
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1005e213
mov eax, dword [ebp - 0x24]
mov byte [ebx + 0x43], al
mov ecx, esi
call fcn.10053f20
cmp eax, 5
jne 0x1005e07c
mov ecx, dword [ebp - 0x28]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x64]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x24], eax
mov al, 1
sub al, byte [ebp - 0x24]
mov byte [ebx + 0x43], al
mov eax, 5
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x28], eax
jmp 0x1005e213
mov ecx, ebx
call fcn.100a7b10
cmp dword [esi + 0x28], 0
mov eax, edi
mov ecx, 0x65
cmove eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x1005e213
test ecx, ecx
jne 0x1005e0a4
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x1005e0b3
test esi, esi
mov eax, str.cannot_rollback___no_transaction_is_active
mov ecx, str.cannot_commit___no_transaction_is_active
cmove eax, ecx
push eax
mov esi, dword [ebp - 0x14]
push esi
call fcn.10051320
add esp, 8
mov eax, 1
jmp 0x1005dc8b
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov eax, str.unknown_error
cmp byte [ebx + 0x45], cl
sete cl
lea ecx, [ecx*2 + 7]
mov dword [ebp - 0x1c], ecx
mov dword [esi + 0x28], ecx
cmp ecx, 0x204
je 0x1005e106
movzx ecx, cl
cmp ecx, 0x1a
ja 0x1005e10b
mov ecx, dword [ecx*4 + 0x100f2050]
test ecx, ecx
je 0x1005e10b
mov eax, ecx
jmp 0x1005e10b
mov eax, str.abort_due_to_ROLLBACK
push eax
push 0x101044c4
push esi
call fcn.10051320
mov eax, dword [ebp - 0x1c]
add esp, 0xc
jmp 0x1005dc8b
mov eax, str.abort_due_to_ROLLBACK
push eax
push 0x101044c4
push esi
call fcn.10051320
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov dword [esi + 0x28], eax
cmp eax, 0xc0a
je 0x1005e16a
movzx eax, al
cmp eax, 0xe
je 0x1005e150
cmp eax, 0xa
jne 0x1005e16a
mov eax, dword [ebx]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x1005e165
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x1005e167
xor eax, eax
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp - 0x28]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x64]
push dword [esi + 0x6c]
imul ecx
push dword [esi + 0xb0]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push dword [ebp - 0x1c]
call fcn.10034ad0
add esp, 0x14
mov ecx, esi
call fcn.10053f20
cmp dword [ebp - 0x1c], 0xc0a
jne 0x1005e1d4
cmp byte [ebx + 0x45], 0
jne 0x1005e1d4
cmp byte [ebx + 0x46], 0
jne 0x1005e1d4
cmp dword [ebx + 0xa8], 0
mov byte [ebx + 0x45], 1
jle 0x1005e1ce
mov dword [ebx + 0xf8], 1
inc dword [ebx + 0x100]
mov cl, byte [ebp - 0x75]
mov eax, 1
mov dword [ebp - 0x1c], eax
test cl, cl
je 0x1005e213
mov eax, dword [ebx + 0x10]
movzx esi, cl
dec esi
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.10076c90
add esp, 4
cmp esi, 1
je 0x1005e20d
mov eax, dword [ebx + 0x10]
push dword [eax + 0x1c]
call fcn.10076c90
add esp, 4
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
add dword [esi + 0xac], ecx
cmp dword [esi + 0x98], 0
je 0x1005e22f
mov ecx, esi
call fcn.10052850
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100dc8fb
mov esp, ebp
pop ebp
ret