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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x6c], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x60], edx
mov edx, dword [esi]
mov dword [esp + 8], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0xb4], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x138], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x38], eax
movlpd qword [esp + 0xc0], xmm0
mov dword [esp + 0x28], edx
cmp dword [esi + 0x24], eax
jne 0x10148ab2
cmp byte [edx + 0x51], al
jne 0x10148ab2
mov edx, dword [esp + 0x60]
call fcn.10129ca0
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x10148a69
mov edx, dword [edi + 0x48]
mov ecx, dword [esi]
call fcn.1013a370
mov dword [esp + 0x58], eax
mov edx, edi
lea eax, [esp + 0x80]
mov ecx, esi
push eax
push dword [esp + 0x48]
push 0x76
call fcn.101464e0
add esp, 0xc
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xc]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x7c], eax
call fcn.101258d0
test eax, eax
jne 0x10148a69
mov eax, dword [esp + 0x80]
mov edx, edi
push eax
mov ecx, esi
mov dword [esp + 0xcc], eax
call fcn.10129d30
add esp, 4
test eax, eax
jne 0x10148a69
mov eax, dword [esi + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 0x98], eax
lea ecx, [eax + 1]
mov dword [esi + 0x28], ecx
test byte [edi + 0x24], 0x20
mov dword [esp + 0x74], ecx
jne 0x101471a1
mov dword [esp + 0x30], 0
jmp 0x101471b0
mov ecx, edi
call fcn.101238f0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 8]
xor edx, edx
mov dword [esp + 0x78], edx
test ecx, ecx
je 0x101471f2
mov edx, dword [esp + 0x74]
xor edi, edi
cmp dword [esp + 0x30], ecx
mov eax, edx
mov esi, dword [esp + 8]
cmovne eax, dword [esp + 0xc]
inc edx
inc edi
mov dword [esp + 0xc], eax
mov dword [esi + 0x28], edx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x101471c3
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x10147212
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xc], eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x60]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [edi + 0x2a]
mov ecx, dword [esp + 0x2c]
add eax, edx
lea eax, [eax*4 + 2]
add eax, edx
push eax
call fcn.100e0100
mov ecx, eax
add esp, 8
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x10148a69
movsx eax, word [edi + 0x2a]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa8], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
push 1
push ecx
mov dword [esp + 0x74], ecx
call fcn.101ee530
mov eax, dword [esp + 0x84]
add esp, 0xc
mov ecx, dword [esp + 0x68]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [edi + 0x2a]
jge 0x101472a4
mov esi, dword [esp + 0x24]
nop dword [eax]
mov dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [edi + 0x2a]
cmp ecx, eax
jl 0x10147290
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x70]
xorps xmm0, xmm0
mov eax, dword [esp + 0x60]
movaps xmmword [esp + 0x110], xmm0
mov dword [esp + 0x114], eax
mov eax, 0x200
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0x44]
movaps xmmword [esp + 0x120], xmm0
mov word [esp + 0x128], ax
xor al, al
mov dword [esp + 0x110], esi
cmp dword [ecx], 0
mov byte [esp + 0x54], 0
mov byte [esp + 0x17], al
mov dword [esp + 0x1c], 0
jle 0x1014752b
lea edi, [ecx + 4]
mov dword [esp + 0x18], edi
nop dword [eax + eax]
mov edx, dword [edi]
lea ecx, [esp + 0x110]
call fcn.10115740
test eax, eax
jne 0x10148a51
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
movsx eax, word [esi + 0x2a]
test eax, eax
jle 0x101473da
mov ecx, dword [esi + 4]
mov eax, ecx
mov dword [esp + 0x5c], ecx
mov esi, dword [eax]
mov ecx, dword [esp + 0x18]
mov dl, byte [esi]
movzx eax, dl
movzx edi, byte [eax + 0x10262ec0]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x2c]
movzx eax, byte [eax]
movzx eax, byte [eax + 0x10262ec0]
sub edi, eax
jne 0x101473b6
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
sub eax, esi
mov dword [esp + 0x80], eax
nop dword [eax]
test dl, dl
je 0x101473aa
movzx eax, byte [eax + esi + 1]
inc esi
movzx ecx, byte [eax + 0x10262ec0]
mov dl, byte [esi]
movzx eax, dl
movzx edi, byte [eax + 0x10262ec0]
mov eax, dword [esp + 0x80]
sub edi, ecx
je 0x10147380
jmp 0x101473b2
test edi, edi
je 0x10147443
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
inc ecx
mov eax, dword [esp + 0x5c]
add eax, 0x10
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x5c], eax
movsx edx, word [esi + 0x2a]
cmp ecx, edx
jl 0x10147345
mov edi, dword [esp + 0x18]
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x101474ab
cmp dword [esp + 0x30], 0
jne 0x10147544
mov esi, dword [edi + 4]
mov edx, str._ROWID_
mov ecx, esi
call fcn.100e33b0
test eax, eax
je 0x10147428
mov edx, str.ROWID
mov ecx, esi
call fcn.100e33b0
test eax, eax
je 0x10147428
mov edx, 0x10273298
mov ecx, esi
call fcn.100e33b0
test eax, eax
jne 0x10147544
mov eax, dword [edi]
or esi, 0xffffffff
mov byte [esp + 0x17], 1
mov edx, str.ROWID
mov dword [esp + 0x9c], eax
jmp 0x101474c6
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
movsx eax, word [esi + 0x28]
cmp ecx, eax
jne 0x10147475
mov eax, dword [edi]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x17], 1
mov dword [edx + ecx*4], eax
jmp 0x101473da
cmp dword [esp + 0x30], 0
je 0x1014749b
mov edx, dword [esi + 4]
mov eax, ecx
add eax, eax
test byte [edx + eax*8 + 0xf], 1
mov edx, 1
mov eax, dword [esp + 0x54]
movzx eax, al
cmovne eax, edx
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4], eax
jmp 0x101473da
test ecx, ecx
jns 0x101474ba
mov esi, dword [esp + 0x2c]
mov edx, str.ROWID
jmp 0x101474c6
mov eax, dword [esi + 4]
add ecx, ecx
mov esi, dword [esp + 0x2c]
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x18]
push dword [edx]
mov edx, 0x17
call fcn.101221a0
add esp, 0xc
cmp eax, 1
je 0x10148a51
cmp eax, 2
jne 0x10147507
mov eax, dword [esp + 0x24]
mov dword [eax + esi*4], 0xffffffff
mov esi, dword [esp + 0x1c]
add edi, 0x18
mov ecx, dword [esp + 0x44]
inc esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
cmp esi, dword [ecx]
jl 0x10147310
mov edi, dword [esp + 0x10]
mov al, byte [esp + 0x17]
mov dl, byte [esp + 0x54]
add dl, al
cmp dword [edi + 0x38], 0
mov byte [esp + 0x2c], dl
je 0x1014756e
mov eax, 0xffffffff
or ecx, eax
jmp 0x10147588
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 8]
lea eax, [eax + eax*2]
push dword [ecx + eax*8 + 8]
push str.no_such_column:__s
push esi
call fcn.100e31f0
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x10148a51
xorps xmm0, xmm0
movlpd qword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x60]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 8]
movzx eax, dl
mov edx, edi
push eax
push dword [esp + 0x28]
mov dword [esp + 0xb8], eax
call fcn.10130b50
add esp, 8
mov ecx, eax
cmp dword [ebp + 0x10], 5
mov edx, 1
mov eax, dword [esp + 0x138]
cmove eax, edx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x138], eax
mov dword [esp + 0x1c], edi
mov esi, dword [edx + 8]
test esi, esi
je 0x10147768
nop word [eax + eax]
cmp byte [esp + 0x2c], 0
jne 0x101478ff
cmp ecx, 1
jg 0x101478ff
cmp esi, dword [esp + 0x30]
je 0x101478ff
mov edx, dword [esi + 0x24]
test edx, edx
je 0x1014766e
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xd0]
xorps xmm0, xmm0
mov dword [esp + 0xe8], 0
movaps xmmword [esp + 0xd0], xmm0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xd4], 0x10133280
mov dword [esp + 0xe8], eax
call fcn.10113210
cmp byte [esp + 0x17], 0
mov al, byte [esp + 0xe4]
jne 0x10147666
and al, 0xfd
test al, al
jne 0x101478ff
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0x80], ecx
cmp ax, word [esi + 0x32]
jae 0x10147736
mov dword [esp + 0x5c], ecx
nop dword [eax]
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x101476ab
mov edx, dword [esp + 0x24]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x10147713
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x108], 0
movq qword [esp + 0x100], xmm0
mov edx, dword [eax + ecx + 4]
mov eax, dword [esp + 0x24]
mov dword [esp + 0xf4], 0x10133280
mov dword [esp + 0x108], eax
test edx, edx
je 0x101476f7
lea ecx, [esp + 0xf0]
call fcn.10113210
cmp byte [esp + 0x17], 0
mov cl, byte [esp + 0x104]
jne 0x10147708
and cl, 0xfd
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x5c]
setne al
test eax, eax
jne 0x101478ce
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x18
mov dword [esp + 0x5c], ecx
cmp edi, eax
jl 0x10147690
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov byte [edi + eax + 1], 0
mov eax, dword [esp + 0xa8]
mov dword [eax + edi*4], ecx
inc edi
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], edi
test esi, esi
jne 0x101475f0
mov eax, dword [esp + 0x138]
test eax, eax
je 0x10147780
mov eax, dword [esp + 0x78]
inc eax
push eax
push 1
push dword [esp + 0x70]
call fcn.101ee530
add esp, 0xc
mov ecx, dword [esp + 8]
mov edi, dword [ecx + 8]
mov dword [esp + 0xac], edi
test edi, edi
jne 0x101477bd
cmp dword [ecx + 0x74], edi
jne 0x101477a3
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x101477a3
mov byte [ecx + 0x17], 1
call fcn.101006a0
mov ecx, dword [esp + 8]
mov edi, eax
mov dword [esp + 0xac], edi
test edi, edi
je 0x10148a51
cmp byte [ecx + 0x12], 0
jne 0x101477ca
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x3c], 0
jne 0x101477dd
cmp dword [esp + 0x4c], 0
mov byte [esp + 0x4b], 0
je 0x101477e2
mov byte [esp + 0x4b], 1
mov eax, dword [ecx + 0x74]
mov esi, ecx
mov ecx, dword [esp + 0x58]
test eax, eax
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x10147814
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x10147814
mov ecx, esi
call fcn.10128740
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 0x50]
mov edx, dword [esp + 0x10]
bts eax, ecx
mov dword [esi + 0x50], eax
mov al, byte [esp + 0x4b]
or byte [esi + 0x14], al
cmp dword [edx + 0x38], 0
mov esi, dword [esp + 8]
jne 0x101478a9
mov eax, dword [esi + 0x2c]
inc eax
cmp byte [esp + 0x54], 0
mov dword [esp + 0x8c], eax
lea ecx, [eax + 1]
mov dword [esp + 0x34], ecx
mov dword [esi + 0x2c], ecx
mov dword [esp + 0x20], ecx
jne 0x10147861
cmp dword [esp + 0x3c], 0
jne 0x10147861
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10147878
lea eax, [ecx + 1]
mov dword [esp + 0xbc], eax
movsx eax, word [edx + 0x2a]
add ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x2c], ecx
cmp byte [esp + 0x2c], 0
jne 0x1014788a
cmp dword [esp + 0x3c], 0
jne 0x1014788a
test eax, eax
je 0x10147896
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
mov ecx, eax
mov dword [esi + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0xa0], eax
movsx eax, word [edx + 0x2a]
add eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [esp + 0x7c], 0
je 0x10147920
mov ecx, dword [esi + 0xec]
mov eax, dword [edx]
mov dword [esp + 0xcc], esi
mov dword [esp + 0x80], ecx
mov dword [esi + 0xec], eax
jmp 0x1014793c
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x1c]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
cmp dword [ebp + 0x10], 0xb
mov dword [edx + 0x2c], eax
jne 0x10147913
cmp byte [esi + 0x36], 5
jne 0x10147913
mov dword [esp + 0x138], 1
jmp 0x10147913
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
mov dword [edx + 0x2c], eax
test ecx, ecx
jne 0x10147743
jmp 0x1014773a
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x80], eax
je 0x10147954
push dword [esp + 0xc]
mov ecx, esi
push 0
push 0
push dword [esp + 0x4c]
call fcn.10129e00
add esp, 0x10
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x110]
call fcn.10115740
test eax, eax
jne 0x10148a39
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 0
je 0x101479a1
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x44]
mov edx, dword [esp + 0x68]
push dword [esp + 0x2c]
push dword [esp + 0xa8]
push ecx
push eax
mov ecx, esi
call fcn.10148b00
add esp, 0x18
jmp 0x10148a39
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x101479f2
cmp dword [esi + 0x78], 0
jne 0x101479f2
cmp byte [esi + 0x12], 0
jne 0x101479f2
cmp dword [esp + 0x70], 0
jne 0x101479f2
inc dword [esi + 0x2c]
mov edx, 0x46
mov eax, dword [esi + 0x2c]
mov ecx, edi
push eax
push 0
mov dword [esp + 0xc0], eax
call fcn.10100a10
add esp, 8
mov edx, dword [esp + 0x10]
test byte [edx + 0x24], 0x20
jne 0x10147aef
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x8c]
cmp dword [edi + 0x70], ecx
jg 0x10147a27
push dword [esp + 0x20]
mov ecx, edi
push edx
push 0
mov edx, 0x49
call fcn.101008a0
add esp, 0xc
jmp 0x10147a56
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x70], 0
je 0x10147ba8
mov ecx, dword [esp + 8]
push 0x10
push dword [esp + 0x20]
mov esi, 1
mov dword [esp + 0x64], 0
push dword [esp + 0x48]
mov dword [esp + 0x5c], esi
push ecx
call fcn.1011c7d0
mov eax, dword [esp + 0x94]
add esp, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x24], 0x20
jne 0x10147c6e
push dword [esp + 0x20]
mov edx, 0x80
mov ecx, edi
push eax
call fcn.10100a10
add esp, 8
test esi, esi
jne 0x10147d6e
push dword [esp + 0x20]
mov edx, 0x94
mov ecx, edi
push dword [esp + 0x90]
call fcn.10100a10
add esp, 8
jmp 0x10147d6e
mov eax, dword [esp + 0x30]
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x2c]
movsx esi, cx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 8]
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x94], edx
cmp dword [esp + 0x70], 0
mov dword [esp + 0x38], eax
mov dword [ecx + 0x2c], eax
jne 0x10147a65
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x6c], eax
inc eax
mov dword [ecx + 0x28], eax
lea eax, [esi - 1]
add eax, edx
mov ecx, edi
push eax
push edx
push 0
mov edx, 0x49
call fcn.101008e0
add esp, 0xc
mov edx, 0x71
mov ecx, edi
push esi
push dword [esp + 0x70]
call fcn.10100a10
mov edx, dword [esp + 0x38]
add esp, 8
mov dword [esp + 0x64], eax
mov eax, dword [esp + 8]
mov ecx, eax
mov esi, dword [eax + 8]
call fcn.10128f20
mov edx, eax
test edx, edx
je 0x10147ba4
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x10147b92
push edx
mov edx, 0xfffffff7
call fcn.10101430
add esp, 4
jmp 0x10147ba4
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov esi, dword [esp + 8]
cmp byte [esi + 0x12], 0
mov eax, 0x1004
jne 0x10147bd8
cmp dword [esp + 0x3c], 0
jne 0x10147bd8
cmp dword [esp + 0x4c], 0
jne 0x10147bd8
cmp byte [esp + 0x2c], 0
jne 0x10147bd8
cmp dword [esp + 0x138], 0
mov ecx, 0x100c
cmove eax, ecx
push dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ecx, esi
push eax
push 0
push 0
push dword [esp + 0x50]
call fcn.10156710
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x10148a39
movzx esi, byte [ecx + 0x31]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x50], esi
cmp esi, 1
je 0x10147aa2
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0xc]
mov byte [ecx + 0x14], 1
cmp esi, 2
jne 0x10147aa6
test edx, edx
js 0x10147aa6
cmp edx, eax
je 0x10147aa6
mov ecx, dword [esp + 0x68]
mov eax, edx
sub eax, dword [esp + 0x98]
xor edx, edx
cmp byte [eax + ecx], dl
cmovne esi, edx
mov dword [esp + 0x50], esi
jmp 0x10147aa2
mov eax, dword [esp + 0x90]
xor esi, esi
cwde
test eax, eax
jle 0x10147cb9
nop dword [eax]
mov eax, dword [esp + 0x94]
mov edx, ecx
add eax, esi
mov ecx, edi
push eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x14]
call fcn.1011aa10
mov ecx, dword [esp + 0x9c]
inc esi
movsx eax, cx
add esp, 0xc
mov ecx, dword [esp + 0x10]
cmp esi, eax
jl 0x10147c80
cmp dword [esp + 0x50], 0
je 0x10147d13
mov eax, dword [esp + 0x64]
test eax, eax
je 0x10147cf5
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
jne 0x10147cf5
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.10101430
add esp, 4
mov word [esi], 0xaa
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x90]
movsx esi, ax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xa4], esi
mov dword [esp + 0x38], eax
jmp 0x10147d6a
mov edx, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x30]
call fcn.10131910
add esp, 4
mov edx, 0x66
mov ecx, edi
push eax
push dword [esp + 0x40]
mov eax, dword [esp + 0x9c]
movsx esi, ax
push esi
push dword [esp + 0xa4]
call fcn.10100ca0
add esp, 0x14
mov edx, 0x84
mov ecx, edi
push esi
push dword [esp + 0x98]
push dword [esp + 0x40]
push dword [esp + 0x78]
call fcn.10100df0
add esp, 0x10
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x70], 0
jne 0x10147f9c
cmp esi, 2
je 0x10147d87
mov ecx, dword [esp + 0x5c]
call fcn.101572a0
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x10147e53
mov edx, dword [esp + 0x50]
xor esi, esi
test edx, edx
je 0x10147dd6
mov eax, dword [esp + 0xc0]
test eax, eax
js 0x10147db7
sub eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x68]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x18]
test ecx, ecx
js 0x10147dda
mov edx, dword [esp + 0x68]
mov eax, ecx
sub eax, dword [esp + 0x98]
mov byte [eax + edx], 0
mov edx, dword [esp + 0x50]
jmp 0x10147dda
mov ecx, dword [esp + 0x18]
cmp edx, 2
jne 0x10147dfe
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x78]
setns al
sub ecx, eax
test ecx, ecx
jle 0x10147dfe
mov edx, 0x11
mov ecx, edi
call fcn.10100950
mov esi, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0
push 0
push dword [esp + 0x70]
push dword [esp + 0xa4]
push 0
push 0x6e
call fcn.10134c90
add esp, 0x18
test esi, esi
je 0x10147e4b
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x10147e37
mov eax, 0x102ad334
jmp 0x10147e48
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x50]
test esi, esi
je 0x10147f06
test eax, eax
jne 0x10147e91
mov eax, dword [esp + 0xc]
cmp dword [esp + 0xc0], eax
je 0x10147e91
cmp dword [esp + 0x18], eax
je 0x10147e91
push dword [esp + 0xa4]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x3c]
push dword [esp + 0x24]
push eax
call fcn.10100df0
add esp, 0x10
cmp esi, 1
je 0x10147ea4
mov eax, dword [esp + 8]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x30], 0
mov edx, dword [esp + 0x20]
cmovne edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10147ed2
push 0
push dword [esp + 0x20]
mov ecx, edi
push edx
mov edx, 0x32
call fcn.101008a0
jmp 0x10147f99
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10147f9c
cmp dword [esp + 0x30], 0
mov ecx, edi
je 0x10147f66
mov eax, dword [esp + 8]
mov edx, 0x24
push dword [esp + 0x1c]
push dword [esp + 0x70]
dec dword [eax + 0x38]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x60], esi
call fcn.10100a10
push dword [esp + 0x40]
mov edx, 0x7f
mov ecx, edi
push dword [esp + 0x78]
call fcn.10100a10
push 0
push dword [esp + 0x4c]
mov edx, 0x1c
mov dword [esp + 0xcc], eax
push esi
push dword [esp + 0x28]
mov ecx, edi
call fcn.10100df0
add esp, 0x20
jmp 0x10147f9c
mov esi, dword [esp + 0x20]
mov edx, 0x29
push esi
push dword [esp + 0x20]
push dword [esp + 0x94]
call fcn.101008e0
add esp, 0xc
mov dword [esp + 0x58], eax
mov edx, 0x1f
mov ecx, edi
push esi
push eax
push dword [esp + 0x14]
call fcn.101008e0
add esp, 0xc
cmp byte [esp + 0x17], 0
je 0x10148051
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x10147fcd
cmp byte [eax], 0xa4
jne 0x10147fcd
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x34]
push edx
push dword [eax + 0x1c]
mov ecx, dword [esi + 8]
mov edx, 0x4e
jmp 0x10147ff8
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 8]
mov ecx, esi
push edx
mov edx, eax
call fcn.1011ad60
mov edx, dword [esp + 0x38]
add esp, 4
cmp eax, edx
je 0x10148004
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10148004
push edx
push eax
mov edx, 0x4f
call fcn.10100a10
mov edx, dword [esp + 0x3c]
add esp, 8
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10148022
push 0
push 0
push edx
mov edx, 0xf
mov ecx, edi
call fcn.101008a0
add esp, 0xc
jmp 0x10148051
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x54], 0
jne 0x10148113
cmp dword [esp + 0x4c], 0
jne 0x1014811e
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10148212
xor ecx, ecx
mov dword [esp + 0x54], ecx
push dword [ebp + 0x10]
mov edx, dword [esp + 0x40]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 3
push 0
push dword [esp + 0x54]
call fcn.10146f70
mov ecx, dword [esp + 0x68]
xor edx, edx
or ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x54], ecx
cmp dx, word [eax + 0x2a]
jge 0x101481a9
mov dword [esp + 0x64], edx
nop dword [eax + eax]
cmp ecx, 0xffffffff
je 0x1014816c
cmp esi, 0x20
jge 0x101480e1
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x54], eax
jne 0x1014816c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test byte [eax + edx + 0xf], 1
jne 0x1014816c
mov edx, dword [esp + 0xbc]
mov ecx, dword [edi + 0x6c]
add edx, esi
cmp dword [edi + 0x70], ecx
jg 0x10148134
push 0
push edx
push 0
mov edx, 0x49
mov ecx, edi
call fcn.101008a0
jmp 0x10148186
cmp dword [esp + 0x4c], 0
je 0x10148073
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
call fcn.10130a60
mov dword [esp + 0x54], eax
jmp 0x10148079
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0xac]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10148189
mov eax, dword [esp + 0xbc]
mov ecx, edi
mov edx, dword [esp + 0x10]
add eax, esi
push eax
push esi
push dword [esp + 0x14]
call fcn.1011aa10
add esp, 0xc
mov eax, dword [esp + 0x10]
inc esi
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
add edx, 0x10
mov dword [esp + 0x64], edx
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x101480c0
cmp byte [esp + 0x17], 0
jne 0x1014820e
cmp dword [esp + 0x30], 0
jne 0x1014820e
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x101481db
mov edx, dword [esp + 0x34]
mov ecx, edi
push 0
push edx
push dword [esp + 0x28]
mov edx, 0x4e
call fcn.101008a0
add esp, 0xc
jmp 0x1014820e
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, eax
push dword [esp + 0x14]
push 1
push 1
push dword [esp + 0x54]
call fcn.10146f70
mov edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x24]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x18], edx
mov dword [esp + 0x64], ecx
cmp si, word [eax + 0x2a]
jge 0x101483b7
mov esi, dword [esp + 0xa0]
movsx eax, word [eax + 0x28]
cmp ecx, eax
jne 0x101482b3
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10148278
push 0
push esi
push 0
mov edx, 0x49
mov ecx, edi
call fcn.101008a0
jmp 0x10148392
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0xac]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10148399
mov eax, dword [esp + 0x24]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x10148327
mov ecx, dword [esp + 0x44]
lea eax, [eax + eax*2]
lfence
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x101482f2
cmp byte [edx], 0xa4
jne 0x101482f2
mov eax, dword [esp + 8]
push esi
push dword [edx + 0x1c]
mov edx, 0x4e
mov ecx, dword [eax + 8]
call fcn.10100a10
add esp, 8
jmp 0x10148395
mov ecx, dword [esp + 8]
push esi
call fcn.1011ad60
add esp, 4
cmp eax, esi
je 0x10148395
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x10148395
push esi
push eax
mov edx, 0x4f
call fcn.10100a10
add esp, 8
jmp 0x10148395
test dword [esp + 0xc8], 1
je 0x10148381
cmp ecx, 0x1f
jg 0x10148381
mov eax, 1
shl eax, cl
test edx, eax
jne 0x10148381
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x10148262
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10148395
mov edx, dword [esp + 0x10]
push esi
push ecx
push dword [esp + 0x14]
mov ecx, edi
call fcn.1011aa10
add esp, 0xc
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc esi
mov ecx, dword [esp + 0x64]
inc ecx
mov dword [esp + 0x64], ecx
movsx eax, word [eax + 0x2a]
cmp ecx, eax
mov eax, dword [esp + 0x10]
jl 0x10148252
test byte [esp + 0xc8], 1
je 0x1014852f
push dword [esp + 0xa0]
mov edx, eax
mov ecx, edi
call fcn.101319f0
mov esi, dword [esp + 0x5c]
add esp, 4
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 8]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x1c]
push 1
push dword [esp + 0x58]
push 0x76
call fcn.10146ee0
mov edx, dword [edi + 0x6c]
add esp, 0x1c
cmp dword [esp + 0x30], 0
mov eax, dword [edi + 0x70]
je 0x101484dd
cmp eax, edx
jg 0x10148431
push dword [esp + 0x38]
mov edx, 0x1c
mov ecx, edi
push esi
push dword [esp + 0x14]
call fcn.101008a0
add esp, 0xc
mov edx, eax
jmp 0x10148464
mov esi, dword [esp + 0xc]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x10148482
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xa4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x10148533
nop dword [eax + eax]
mov eax, dword [esp + 0x24]
cmp dword [eax + esi*4], 0
jge 0x101484ce
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x101484ce
mov eax, dword [esp + 0xa0]
add eax, esi
push eax
push esi
push edx
mov edx, ecx
mov ecx, edi
call fcn.1011aa10
mov ecx, dword [esp + 0x1c]
add esp, 0xc
movsx eax, word [ecx + 0x2a]
inc esi
mov edx, dword [esp + 0xc]
cmp esi, eax
jl 0x101484a0
jmp 0x10148533
cmp eax, edx
jg 0x101484fb
push dword [esp + 0x20]
mov edx, 0x1f
mov ecx, edi
push esi
push dword [esp + 0x14]
call fcn.101008a0
add esp, 0xc
jmp 0x10148482
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10148486
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x7c], 0
jne 0x101487d7
xor esi, esi
lea eax, [esp + 0x138]
push esi
push dword [esp + 0x28]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
push dword [esp + 0x64]
push dword [ebp + 0x10]
push dword [esp + 0x40]
push dword [esp + 0x38]
push dword [esp + 0x50]
push dword [esp + 0x94]
push dword [esp + 0x30]
push dword [esp + 0xd0]
call fcn.101332c0
add esp, 0x2c
cmp dword [esp + 0x4c], esi
je 0x101485a6
push dword [esp + 0xb0]
mov edx, dword [esp + 0x14]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push esi
push dword [esp + 0x2c]
call fcn.10130400
add esp, 0x10
cmp dword [esp + 0x138], esi
jne 0x101485ba
cmp byte [esp + 0x2c], 0
je 0x1014868f
cmp dword [esp + 0x30], 0
mov esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x1014863b
cmp eax, esi
jg 0x101485e8
push dword [esp + 0x38]
mov edx, 0x1c
mov ecx, edi
push 0
push dword [esp + 0x14]
call fcn.101008a0
add esp, 0xc
mov esi, eax
jmp 0x1014861b
mov edx, dword [esp + 0xc]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x1014868f
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
mov edx, dword [esp + 0xa4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x1014868f
cmp eax, esi
jg 0x1014865c
push dword [esp + 0x20]
mov edx, 0x1f
mov ecx, edi
push 0
push dword [esp + 0x14]
call fcn.101008a0
add esp, 0xc
mov esi, eax
jmp 0x1014868f
mov edx, dword [esp + 0xc]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push dword [esp + 0xac]
push dword [esp + 0x7c]
push dword [esp + 0x18]
call fcn.1012ad70
add esp, 0x10
cmp dword [esp + 0x4c], 1
jg 0x101486bf
mov al, byte [esp + 0x2c]
test al, al
je 0x10148717
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x101486e0
push 0
push 0
push dword [esp + 0x14]
mov edx, 0x7b
mov ecx, edi
call fcn.101008a0
add esp, 0xc
jmp 0x10148713
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7b
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x2c]
cmp dword [esp + 0x138], 0
jne 0x10148725
test al, al
je 0x1014874b
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x10148737
mov eax, 0x102ad334
jmp 0x10148748
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x4c], 0
mov esi, dword [esp + 8]
je 0x10148775
push dword [esp + 0xb0]
mov edx, dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x28]
push dword [esp + 0x3c]
push 0
call fcn.10130400
add esp, 0x10
mov edx, dword [esp + 0x10]
xor eax, eax
cmp dword [esp + 0x50], 2
mov ecx, esi
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0xb4]
push dword [esp + 0x44]
push dword [esp + 0x88]
push dword [esp + 0x24]
call fcn.101349b0
add esp, 0x1c
cmp dword [esp + 0x4c], 0
je 0x101487d7
push dword [esp + 0xb0]
mov edx, dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x50]
call fcn.10131740
add esp, 0x10
mov edx, dword [esp + 0xb8]
test edx, edx
je 0x1014882f
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10148800
push 0
push 1
push edx
mov edx, 0x53
mov ecx, edi
call fcn.101008a0
add esp, 0xc
jmp 0x1014882f
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 8]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x1c]
push 2
push dword [esp + 0x58]
push 0x76
call fcn.10146ee0
mov eax, dword [esp + 0x6c]
add esp, 0x1c
cmp eax, 1
je 0x1014896c
cmp eax, 2
jne 0x101488a6
mov ecx, dword [edi + 0xc]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1014888f
push esi
mov edx, edi
call fcn.10100ef0
mov ecx, dword [esp + 0x60]
add esp, 4
call fcn.101572a0
jmp 0x1014896c
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0x5c]
call fcn.101572a0
jmp 0x1014896c
cmp dword [esp + 0x30], 0
je 0x1014891f
mov ecx, dword [edi + 0xc]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x101488c7
push esi
mov edx, edi
call fcn.10100ef0
add esp, 4
jmp 0x101488d0
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x101488f7
mov edx, dword [esp + 0xb4]
mov ecx, edi
push 0
push edx
push dword [esp + 0x74]
mov edx, 5
call fcn.101008a0
add esp, 0xc
jmp 0x1014896c
mov edx, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xb4]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
jmp 0x1014895c
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1014893d
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.101008a0
add esp, 0xc
jmp 0x1014896c
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1014898a
push edx
mov edx, edi
call fcn.10100ef0
add esp, 4
jmp 0x10148993
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 8]
cmp byte [eax + 0x12], 0
jne 0x101489b7
cmp dword [eax + 0x78], 0
jne 0x101489b7
cmp dword [esp + 0x70], 0
jne 0x101489b7
cmp dword [eax + 0x70], 0
je 0x101489b7
mov ecx, eax
call fcn.10131bb0
mov edx, dword [esp + 0xb8]
test edx, edx
je 0x10148a39
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x101489e0
push 0
push 1
push edx
mov edx, 0x51
mov ecx, edi
call fcn.101008a0
add esp, 0xc
jmp 0x10148a0f
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 1
mov ecx, edi
call fcn.10102870
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x10148a39
mov ecx, dword [edi + 0x74]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.100ffbb0
add esp, 0xc
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x10148a51
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xec], ecx
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x1e0], 0
je 0x10148a73
mov edx, dword [esp + 0x24]
mov ecx, eax
call fcn.100dfdb0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
jmp 0x10148ab4
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x130]
jb 0x10148a9f
cmp ecx, dword [eax + 0x134]
jae 0x10148a9f
mov eax, dword [eax + 0x12c]
mov edi, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 0x12c], ecx
jmp 0x10148ab4
push ecx
call fcn.100dfd40
mov eax, dword [esp + 0x2c]
add esp, 4
mov edi, dword [esp + 0x40]
jmp 0x10148ab4
mov eax, edx
mov edx, dword [esp + 0x60]
mov ecx, eax
call fcn.101280d0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10148ad2
mov ecx, dword [esp + 0x28]
mov edx, eax
call fcn.10117e70
test edi, edi
je 0x10148ae1
mov ecx, dword [esp + 0x28]
mov edx, edi
call fcn.10116ca0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret