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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
xor eax, eax
mov dword [ebp - 0x90], 0
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x5c], eax
cmp dword [ebx + 0x24], 0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
push edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x88], 0
movq qword [ebp - 0xac], xmm0
mov dword [ebp - 0x60], eax
jne 0x10130a52
cmp byte [eax + 0x51], 0
jne 0x10130a52
push dword [ebp + 0xc]
push ebx
call fcn.1012df70
mov esi, eax
add esp, 8
mov dword [ebp - 0xc], esi
test esi, esi
je 0x10130a52
push dword [esi + 0x48]
push dword [ebx]
call fcn.1012a9d0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xa0]
push eax
push dword [ebp + 0x10]
push 0x7a
push esi
push ebx
call fcn.1012ee40
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
push esi
push ebx
mov dword [ebp - 0x70], eax
call fcn.1013cbc0
add esp, 0x24
test eax, eax
jne 0x10130a52
push dword [ebp - 0xa0]
push esi
push ebx
call fcn.1011f790
add esp, 0xc
test eax, eax
jne 0x10130a52
mov edx, dword [ebx + 0x28]
mov dword [ebp - 4], edx
mov dword [ebp - 0x6c], edx
lea eax, [edx + 1]
mov dword [ebx + 0x28], eax
test byte [esi + 0x24], 0x20
mov dword [ebp - 0x64], eax
jne 0x1012f25b
mov dword [ebp - 0x20], 0
jmp 0x1012f26a
push esi
call fcn.10127cd0
mov dword [ebp - 0x20], eax
add esp, 4
mov eax, dword [ebp - 0x64]
mov ecx, dword [esi + 8]
xor edi, edi
mov dword [ebp - 0x78], edi
test ecx, ecx
je 0x1012f2a1
mov esi, dword [ebp - 4]
mov edx, eax
nop dword [eax + eax]
cmp dword [ebp - 0x20], ecx
mov eax, edx
cmovne eax, esi
inc edx
mov dword [ebx + 0x28], edx
inc edi
mov ecx, dword [ecx + 0x14]
mov esi, eax
test ecx, ecx
jne 0x1012f280
mov dword [ebp - 4], esi
mov edx, eax
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x78], edi
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x1012f2ba
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], edx
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [eax + 0x34], edx
movsx eax, word [esi + 0x2a]
add eax, edi
lea eax, [eax*4 + 2]
add eax, edi
push eax
push dword [ebp - 0x60]
call fcn.1010c820
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x10], edi
test edi, edi
je 0x10130a52
movsx eax, word [esi + 0x2a]
lea ecx, [edi + eax*4]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x8c], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
push 1
push ecx
mov dword [ebp - 0x54], ecx
call fcn.1018d4b0
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x2a]
jge 0x1012f332
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x1012f322
mov ecx, dword [ebp + 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0x100], ecx
mov eax, 0x200
mov ecx, dword [ebp + 0x10]
xor edi, edi
movups xmmword [ebp - 0xf8], xmm0
mov word [ebp - 0xf0], ax
xor al, al
mov dword [ebp - 0x108], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x104], ebx
mov byte [ebp - 0x34], 0
mov byte [ebp - 5], al
mov dword [ebp - 0x50], edi
cmp dword [ecx], edi
jle 0x1012f554
lea ebx, [ecx + 4]
mov dword [ebp - 0x24], ebx
push dword [ebx]
lea eax, [ebp - 0x108]
push eax
call fcn.10128fd0
add esp, 8
test eax, eax
jne 0x10130a52
movsx eax, word [esi + 0x2a]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x1012f425
mov eax, dword [esi + 4]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], eax
mov esi, dword [eax]
mov dl, byte [esi]
movzx eax, dl
movzx edi, byte [eax + 0x101e3ed8]
movzx eax, byte [ebx]
movzx eax, byte [eax + 0x101e3ed8]
sub edi, eax
jne 0x1012f407
sub ebx, esi
test dl, dl
je 0x1012f3f9
movzx eax, byte [ebx + esi + 1]
inc esi
mov dl, byte [esi]
movzx ecx, byte [eax + 0x101e3ed8]
movzx eax, dl
movzx edi, byte [eax + 0x101e3ed8]
sub edi, ecx
je 0x1012f3d6
jmp 0x1012f401
test edi, edi
je 0x1012f48b
mov ebx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 0x68]
add eax, 0x10
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x68], eax
movsx edx, word [esi + 0x2a]
cmp ecx, edx
jl 0x1012f3b8
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x50]
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x1012f4e4
cmp dword [ebp - 0x20], 0
jne 0x1012f56b
mov esi, dword [ebx + 4]
push str._ROWID_
push esi
call fcn.1012e9e0
add esp, 8
test eax, eax
je 0x1012f478
push str.ROWID
push esi
call fcn.1012e9e0
add esp, 8
test eax, eax
je 0x1012f478
push 0x101ebfbc
push esi
call fcn.1012e9e0
add esp, 8
test eax, eax
jne 0x1012f56b
mov eax, dword [ebx]
or esi, 0xffffffff
mov byte [ebp - 5], 1
mov edx, str.ROWID
mov dword [ebp - 0x44], eax
jmp 0x1012f4fd
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
movsx eax, word [esi + 0x28]
cmp ecx, eax
jne 0x1012f4b3
mov eax, dword [ebx]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 5], 1
mov dword [eax + ecx*4], edi
jmp 0x1012f425
cmp dword [ebp - 0x20], 0
je 0x1012f4d6
mov edx, dword [esi + 4]
mov eax, ecx
add eax, eax
test byte [edx + eax*8 + 0xf], 1
mov edx, 1
mov eax, dword [ebp - 0x34]
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x50]
mov dword [eax + ecx*4], edi
jmp 0x1012f425
test ecx, ecx
jns 0x1012f4f2
mov esi, dword [ebp - 0x18]
mov edx, str.ROWID
jmp 0x1012f4fd
mov eax, dword [esi + 4]
add ecx, ecx
mov esi, dword [ebp - 0x18]
mov edx, dword [eax + ecx*8]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [ebp - 0xc]
push edx
push dword [ecx]
push 0x17
push dword [ebp + 8]
call fcn.10104b50
add esp, 0x14
cmp eax, 1
je 0x10130a52
cmp eax, 2
jne 0x1012f536
mov eax, dword [ebp - 0x10]
mov dword [eax + esi*4], 0xffffffff
mov ecx, dword [ebp + 0x10]
inc edi
mov esi, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x24], ebx
cmp edi, dword [ecx]
jl 0x1012f386
mov al, byte [ebp - 5]
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x34]
add dl, al
cmp dword [esi + 0x38], 0
mov byte [ebp - 0x48], dl
je 0x1012f595
mov eax, 0xffffffff
or ecx, eax
jmp 0x1012f5a3
mov esi, dword [ebp + 0x10]
lea eax, [edi + edi*2]
mov ebx, dword [ebp + 8]
push dword [esi + eax*8 + 8]
push str.no_such_column:__s
push ebx
call fcn.1010eac0
mov ecx, dword [ebp - 0xa8]
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x10130a18
xorps xmm0, xmm0
movlpd qword [ebp - 0x80], xmm0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp + 8]
mov dword [ebx + 0x40], eax
movzx eax, dl
push eax
push dword [ebp - 0x10]
mov dword [ebx + 0x44], ecx
push esi
push edi
mov dword [ebp - 0x68], eax
call fcn.10115bb0
add esp, 0x10
mov ecx, eax
cmp dword [ebp + 0x18], 5
mov edx, 1
mov eax, dword [ebp - 0x4c]
cmove eax, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], eax
xor ebx, ebx
mov esi, dword [esi + 8]
mov dword [ebp - 0x18], ebx
test esi, esi
je 0x1012f78a
nop word [eax + eax]
cmp byte [ebp - 0x48], 0
jne 0x1012f74d
cmp ecx, 1
jg 0x1012f74d
cmp esi, dword [ebp - 0x20]
je 0x1012f74d
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1012f66f
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0xcc]
movq qword [ebp - 0xbc], xmm0
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xb4], 0
push eax
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0xc8], 0x100cf690
mov dword [ebp - 0xb4], ecx
call fcn.1014ea00
mov al, byte [ebp - 0xb8]
add esp, 8
cmp byte [ebp - 5], 0
jne 0x1012f667
and al, 0xfd
test al, al
jne 0x1012f74d
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [ebp - 0x7c], ecx
cmp ax, word [esi + 0x32]
jae 0x1012f761
xor ebx, ebx
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x1012f69e
mov ecx, dword [ebp - 0x10]
cwde
mov eax, dword [ecx + eax*4]
not eax
shr eax, 0x1f
jmp 0x1012f706
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x10]
xor cl, cl
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd0], 0
mov eax, dword [eax + ebx + 4]
movq qword [ebp - 0xd8], xmm0
mov byte [ebp - 0xd4], cl
mov dword [ebp - 0xe4], 0x100cf690
mov dword [ebp - 0xd0], edx
test eax, eax
je 0x1012f6f6
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.1014ea00
mov cl, byte [ebp - 0xd4]
add esp, 8
cmp byte [ebp - 5], 0
jne 0x1012f6ff
and cl, 0xfd
xor eax, eax
test cl, cl
setne al
test eax, eax
jne 0x1012f722
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x18
cmp edi, eax
jl 0x1012f684
mov ecx, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x18]
jmp 0x1012f761
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [edi + 0x2c]
inc ecx
mov dword [edi + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
cmp dword [ebp + 0x18], 0xb
mov dword [edi + 0x2c], eax
jne 0x1012f75d
cmp byte [esi + 0x36], 5
jne 0x1012f75d
mov dword [ebp - 0x4c], 1
jmp 0x1012f75d
mov ecx, dword [edi + 0x2c]
inc ecx
mov dword [edi + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
mov dword [edi + 0x2c], eax
test ecx, ecx
jne 0x1012f769
mov eax, dword [ebp - 0x54]
mov byte [ebx + eax + 1], 0
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp + 8]
mov dword [eax + ebx*4], ecx
inc ebx
mov esi, dword [esi + 0x14]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ebx
test esi, esi
jne 0x1012f5f0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1012f7a0
mov eax, dword [ebp - 0x78]
inc eax
push eax
push 1
push dword [ebp - 0x54]
call fcn.1018d4b0
add esp, 0xc
mov edi, dword [edi + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
test edi, edi
jne 0x1012f7d4
cmp dword [esi + 0x74], edi
jne 0x1012f7be
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x1012f7be
mov byte [esi + 0x17], 1
push esi
call fcn.10131c00
mov edi, eax
mov dword [ebp - 0x74], eax
add esp, 4
test edi, edi
je 0x10130a52
cmp byte [esi + 0x12], 0
jne 0x1012f7e1
or dword [edi + 0x98], 0x20
cmp dword [ebp - 0x1c], 0
jne 0x1012f7f1
cmp dword [ebp - 0x30], 0
jne 0x1012f7f1
xor bl, bl
jmp 0x1012f7f3
mov bl, 1
mov eax, dword [esi + 0x74]
test eax, eax
mov ecx, dword [ebp - 0x2c]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x1012f823
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x1012f823
push esi
call fcn.10121ad0
mov ecx, dword [ebp - 0x2c]
add esp, 4
or byte [esi + 0x14], bl
mov eax, dword [esi + 0x50]
mov ebx, dword [ebp - 0xc]
bts eax, ecx
mov dword [esi + 0x50], eax
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x38], 0
jne 0x1012f8a2
mov eax, dword [esi + 0x2c]
mov edx, dword [ebp - 0x1c]
inc eax
cmp byte [ebp - 0x34], 0
mov dword [ebp - 0x58], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x40], ecx
mov dword [esi + 0x2c], ecx
mov dword [ebp - 0x14], ecx
jne 0x1012f862
test edx, edx
jne 0x1012f862
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1012f877
lea eax, [ecx + 1]
mov dword [ebp - 0x9c], eax
movsx eax, word [ebx + 0x2a]
add ecx, eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x2c], ecx
cmp byte [ebp - 0x48], 0
jne 0x1012f885
test edx, edx
jne 0x1012f885
test eax, eax
je 0x1012f890
lea eax, [ecx + 1]
mov dword [ebp - 0x40], eax
mov ecx, eax
mov dword [esi + 0x2c], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x84], eax
movsx eax, word [ebx + 0x2a]
add eax, ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x1012f8c2
mov eax, dword [esi + 0xf0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx]
mov dword [ebp - 0x18], esi
mov dword [esi + 0xf0], eax
jmp 0x1012f8cb
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1012f8e5
push dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push ebx
push esi
call fcn.10121220
add esp, 0x18
push dword [ebp + 0x14]
lea eax, [ebp - 0x108]
push eax
call fcn.10128fd0
add esp, 8
test eax, eax
jne 0x10130a12
cmp dword [ebx + 0x38], eax
je 0x1012f92c
push dword [ebp + 0x18]
mov edi, dword [ebp - 0x10]
push dword [ebp + 0x14]
push edi
push dword [ebp - 0x44]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.10147e90
mov ecx, dword [ebp - 0x18]
add esp, 0x20
mov esi, dword [ebp + 0x10]
jmp 0x10130a1b
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x1012f9b2
cmp dword [esi + 0x78], 0
jne 0x1012f9b2
cmp byte [esi + 0x12], 0
jne 0x1012f9b2
cmp dword [ebp + 0x24], 0
jne 0x1012f9b2
inc dword [esi + 0x2c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x2c]
mov dword [ebp - 0xa4], edx
cmp dword [edi + 0x70], ecx
jg 0x1012f980
push 0
push edx
push 0
push 0x46
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x1012f9b2
mov esi, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x46
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
test byte [ebx + 0x24], 0x20
jne 0x1012fa15
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1012f9d5
push dword [ebp - 0x14]
push dword [ebp - 0x58]
push 0
push 0x49
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x1012fa06
mov edx, dword [ebp - 0x58]
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 [ebp - 0x14]
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 [ebp + 0x24], 0
je 0x1012fb34
jmp 0x1012fbd2
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
movzx edx, word [eax + 0x32]
mov eax, dword [esi + 0x2c]
movsx esi, dx
mov dword [ebp - 0xb0], edx
lea ecx, [eax + 1]
inc eax
add eax, esi
mov dword [ebp - 0x5c], ecx
cmp dword [ebp + 0x24], 0
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x2c], eax
jne 0x1012fbd0
mov eax, dword [ebx + 0x28]
lea edx, [esi - 1]
mov dword [ebp - 0x38], eax
add edx, ecx
inc eax
mov dword [ebx + 0x28], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1012fa6e
push edx
push dword [ebp - 0x5c]
push 0
push 0x49
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x1012fa9f
mov ebx, dword [ebp - 0x5c]
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], ebx
mov ebx, dword [ebp + 8]
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
mov ecx, dword [edi + 0x6c]
mov dword [ebp - 0x94], ecx
cmp dword [edi + 0x70], ecx
jg 0x1012fac6
push 0
push esi
push dword [ebp - 0x38]
push 0x71
push edi
call fcn.100ed110
add esp, 0x14
mov dword [ebp - 0x94], eax
jmp 0x1012faf4
mov edx, dword [ebp - 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp - 0x20]
mov esi, dword [ebx + 8]
push ebx
call fcn.1011fbb0
mov edx, eax
add esp, 8
test edx, edx
je 0x1012fb31
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x1012fb1f
push edx
push 0xfffffffffffffff7
push eax
call fcn.100db640
add esp, 0xc
jmp 0x1012fb31
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 [ebp + 8]
cmp byte [esi + 0x12], 0
mov eax, 0x1004
jne 0x1012fb5d
cmp dword [ebp - 0x1c], 0
jne 0x1012fb5d
cmp dword [ebp - 0x30], 0
jne 0x1012fb5d
cmp byte [ebp - 0x48], 0
jne 0x1012fb5d
cmp dword [ebp - 0x4c], 0
mov ecx, 0x100c
cmove eax, ecx
push dword [ebp - 0x64]
push eax
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.1013e980
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x7c], esi
test esi, esi
je 0x10130a12
movzx ebx, byte [esi + 0x31]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x24], ebx
cmp ebx, 1
je 0x1012fc0a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
cmp ebx, 2
jne 0x1012fc0a
test edx, edx
js 0x1012fc0a
cmp edx, esi
je 0x1012fc0a
mov ecx, dword [ebp - 0x54]
mov eax, edx
sub eax, dword [ebp - 0x6c]
xor edx, edx
cmp byte [eax + ecx], dl
cmovne ebx, edx
mov dword [ebp - 0x24], ebx
jmp 0x1012fc0a
mov esi, ebx
push 0x10
push dword [ebp - 0x3c]
mov ebx, 1
mov dword [ebp - 0x7c], 0
push dword [ebp + 0x14]
mov dword [ebp - 0x24], ebx
push esi
call fcn.10112460
mov eax, dword [ebp - 0xa8]
add esp, 0x10
mov esi, dword [ebp - 4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0xc]
test byte [ecx + 0x24], 0x20
jne 0x1012fcc1
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1012fc38
push 0
push dword [ebp - 0x14]
push esi
push 0x80
push edi
call fcn.100ed110
mov esi, dword [ebp - 0x14]
add esp, 0x14
jmp 0x1012fc66
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], esi
mov esi, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test ebx, ebx
jne 0x1012fd7c
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1012fc8e
push ebx
push esi
push dword [ebp - 0x58]
push 0x94
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x1012fd7c
mov edx, dword [ebp - 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x94
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1012fd7c
mov eax, dword [ebp - 0xb0]
xor esi, esi
movsx ebx, ax
test ebx, ebx
jle 0x1012fcf6
mov eax, dword [ebp - 0x5c]
add eax, esi
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [ebp - 4]
push ecx
push edi
call fcn.1010f9d0
mov ecx, dword [ebp - 0xc]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x1012fcd0
cmp dword [ebp - 0x24], 0
je 0x1012fd43
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x1012fd35
mov edx, dword [edi]
cmp byte [edx + 0x51], 0
jne 0x1012fd35
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push edx
call fcn.100db640
add esp, 0xc
mov word [esi], 0xaa
mov dword [esi + 0x10], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x28], eax
jmp 0x1012fd79
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x60]
call fcn.1011d5a0
mov esi, dword [ebp - 0x5c]
add esp, 8
push eax
push dword [ebp - 0x28]
push ebx
push esi
push 0x5c
push edi
call fcn.10131540
push ebx
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push 0x84
push edi
call fcn.101315c0
add esp, 0x34
mov ebx, dword [ebp - 0x24]
cmp dword [ebp + 0x24], 0
jne 0x10130084
cmp ebx, 2
je 0x1012fd96
push dword [ebp - 0x7c]
call fcn.10141b70
add esp, 4
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x1012fe7f
xor esi, esi
test ebx, ebx
je 0x1012fdcd
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x54]
test eax, eax
js 0x1012fdbb
sub eax, dword [ebp - 0x6c]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x50]
test ecx, ecx
js 0x1012fdd0
mov eax, ecx
sub eax, dword [ebp - 0x6c]
mov byte [eax + edx], 0
jmp 0x1012fdd0
mov ecx, dword [ebp - 0x50]
cmp ebx, 2
jne 0x1012fe35
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x78]
setns al
sub ecx, eax
test ecx, ecx
jle 0x1012fe35
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x1012fe02
push 0
push 0
push 0
push 0x11
push edi
call fcn.100ed110
add esp, 0x14
mov esi, eax
jmp 0x1012fe35
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp - 0xc]
push 0
push 0
push dword [ebp - 0x54]
push dword [ebp - 0x6c]
push 0
push 0x6d
push ecx
push dword [ebp + 8]
call fcn.101218c0
add esp, 0x20
test esi, esi
je 0x1012fe7c
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1012fe68
mov eax, 0x102301dc
jmp 0x1012fe79
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 [ebp - 0x70]
test ebx, ebx
je 0x1012ff15
test eax, eax
jne 0x1012feb6
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x98], eax
je 0x1012feb6
mov esi, dword [ebp - 0x3c]
cmp dword [ebp - 0x50], eax
je 0x1012feb9
push dword [ebp - 0x88]
push dword [ebp - 0x28]
push esi
push eax
push 0x1c
push edi
call fcn.101315c0
add esp, 0x18
jmp 0x1012feb9
mov esi, dword [ebp - 0x3c]
cmp ebx, 1
je 0x1012feca
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x14]
cmovne edx, dword [ebp - 0x28]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1012fef1
push 0
push esi
push edx
push 0x32
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x10130084
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x10130078
cmp dword [ebp - 0x20], 0
je 0x1012ffec
mov esi, dword [ebp + 8]
dec dword [esi + 0x38]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [esi + 0x38]
mov dword [ebp - 0x2c], ebx
cmp dword [edi + 0x70], ecx
jg 0x1012ff48
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push 0x24
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x1012ff79
mov edx, dword [ebp - 0x38]
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 [ebp - 0x3c]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov dword [ebp - 0x90], ecx
cmp dword [edi + 0x70], ecx
jg 0x1012ffa2
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push 0x7f
push edi
call fcn.100ed110
add esp, 0x14
mov dword [ebp - 0x90], eax
jmp 0x1012ffd3
mov edx, dword [ebp - 0x38]
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 [ebp - 0x28]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push dword [ebp - 0x28]
push ebx
push dword [ebp - 4]
push 0x1c
push edi
call fcn.101315c0
add esp, 0x18
jmp 0x10130087
mov ebx, dword [edi + 0x6c]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ebx
cmp dword [edi + 0x70], ebx
jg 0x10130013
push esi
push dword [ebp - 0x3c]
push dword [ebp - 0x58]
push 0x29
push edi
call fcn.100ed110
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x2c], ebx
jmp 0x10130040
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + ecx*4], 0x29
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1013005a
push esi
push ebx
push dword [ebp - 4]
push 0x1f
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x10130084
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 4], edx
mov esi, dword [ebp + 8]
cmp byte [ebp - 5], 0
je 0x101300e6
mov ebx, dword [ebp - 0x40]
push ebx
push dword [ebp - 0x44]
push esi
call fcn.1010f5d0
mov ecx, dword [edi + 0x6c]
add esp, 0xc
cmp dword [edi + 0x70], ecx
jg 0x101300b7
push 0
push 0
push ebx
push 0xf
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x101300e6
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], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp - 0x34], 0
jne 0x10130187
cmp dword [ebp - 0x30], 0
jne 0x10130191
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10130265
mov ebx, dword [ebp - 0xc]
xor eax, eax
push dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
push ebx
push 3
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push esi
call fcn.1012ed10
mov edx, dword [ebp - 0x44]
add esp, 0x1c
or edx, eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x44], edx
cmp ax, word [ebx + 0x2a]
jge 0x10130207
xor ebx, ebx
nop dword [eax]
cmp edx, 0xffffffff
je 0x101301d7
cmp esi, 0x20
jge 0x1013015b
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x101301d7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 4]
test byte [eax + ebx + 0xf], 1
jne 0x101301da
mov edx, dword [ebp - 0x9c]
mov ecx, dword [edi + 0x6c]
add edx, esi
cmp dword [edi + 0x70], ecx
jg 0x101301a3
push 0
push edx
push 0
push 0x49
push edi
call fcn.100ed110
jmp 0x101301ee
cmp dword [ebp - 0x30], 0
je 0x10130105
mov ebx, dword [ebp - 0xc]
push ebx
push esi
call fcn.10115ad0
add esp, 8
jmp 0x1013010a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp - 0x74]
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 0x101301f1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x9c]
add eax, esi
push eax
push esi
push dword [ebp - 4]
push ecx
push edi
call fcn.1010f9d0
add esp, 0x14
mov eax, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp - 0x44]
add ebx, 0x10
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x10130140
cmp byte [ebp - 5], 0
jne 0x10130262
cmp dword [ebp - 0x20], 0
jne 0x10130262
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10130231
mov edx, dword [ebp - 0x40]
push 0
push edx
push dword [ebp - 0x14]
push 0x4e
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x10130262
mov edx, dword [ebp - 0x14]
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 [ebp - 0x40]
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 [ebp - 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push 1
push 1
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1012ed10
mov ecx, dword [ebp - 0xc]
mov edx, eax
xor eax, eax
mov dword [ebp - 0x34], edx
add esp, 0x1c
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x101303a7
mov ebx, dword [ebp - 0x84]
nop word [eax + eax]
movsx eax, word [ecx + 0x28]
cmp esi, eax
jne 0x101302f9
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x101302c2
push 0
push ebx
push 0
push 0x49
push edi
call fcn.100ed110
jmp 0x10130390
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp - 0x74]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10130396
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
js 0x1013031b
mov ecx, dword [ebp + 0x10]
lea eax, [eax + eax*2]
push ebx
push dword [ecx + eax*8 + 4]
push dword [ebp + 8]
call fcn.1010f5d0
add esp, 0xc
jmp 0x10130393
test dword [ebp - 0xa0], 1
je 0x10130384
cmp esi, 0x1f
jg 0x10130384
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x10130381
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10130350
push 0
push ebx
push 0
push 0x49
push edi
call fcn.100ed110
jmp 0x10130390
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], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10130393
mov ecx, dword [ebp - 0xc]
push ebx
push esi
push dword [ebp - 4]
push ecx
push edi
call fcn.1010f9d0
add esp, 0x14
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
inc esi
inc ebx
movsx eax, word [ecx + 0x2a]
cmp esi, eax
jl 0x101302a0
test byte [ebp - 0xa0], 1
je 0x1013051e
push dword [ebp - 0x84]
push ecx
push edi
call fcn.1012ea50
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
mov esi, eax
test eax, eax
je 0x1013040f
mov edi, dword [ebp - 0xc]
cmp byte [esi + 8], 0x7a
jne 0x10130405
cmp byte [esi + 9], 1
jne 0x10130405
push dword [ebp + 0x10]
push dword [esi + 0x10]
call fcn.100cf5b0
add esp, 8
test eax, eax
je 0x10130405
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push edi
push esi
push dword [ebp + 8]
call fcn.10109d40
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x101303d3
mov edi, dword [ebp - 0x74]
cmp dword [ebp - 0x20], 0
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x101304d4
cmp eax, edx
jg 0x10130439
push dword [ebp - 0x28]
push ebx
push dword [ebp - 4]
push 0x1c
push edi
call fcn.100ed110
add esp, 0x14
mov edx, eax
jmp 0x10130466
mov esi, dword [ebp - 4]
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 [ebp - 0x28]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x10130483
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [ebp - 0x88]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov ebx, dword [ebp - 0x10]
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x10130521
nop word [eax + eax]
cmp dword [ebx + esi*4], 0
jge 0x101304c6
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x101304c6
mov eax, dword [ebp - 0x84]
add eax, esi
push eax
push esi
push edx
push ecx
push edi
call fcn.1010f9d0
mov ecx, dword [ebp - 0xc]
add esp, 0x14
movsx eax, word [ecx + 0x2a]
inc esi
mov edx, dword [ebp - 4]
cmp esi, eax
jl 0x101304a0
jmp 0x10130521
cmp eax, edx
jg 0x101304ec
push dword [ebp - 0x14]
push ebx
push dword [ebp - 4]
push 0x1f
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x10130483
mov esi, dword [ebp - 0x14]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [ebp - 4]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10130486
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0x70], 0
jne 0x10130769
xor esi, esi
lea eax, [ebp - 0x4c]
push esi
push ebx
mov ebx, dword [ebp - 0x2c]
push eax
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x48]
push dword [ebp - 0x14]
push dword [ebp - 0x40]
push dword [ebp - 0x64]
push dword [ebp - 4]
push dword [ebp - 0x8c]
push ecx
push dword [ebp + 8]
call fcn.1011a330
add esp, 0x34
cmp dword [ebp - 0x30], esi
je 0x10130578
push dword [ebp - 0x68]
push dword [ebp - 0x10]
push esi
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.101150b0
add esp, 0x18
cmp dword [ebp - 0x4c], esi
jne 0x10130587
cmp byte [ebp - 0x48], 0
je 0x1013064a
cmp dword [ebp - 0x20], 0
mov esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x101305fe
cmp eax, esi
jg 0x101305ae
push dword [ebp - 0x28]
push 0
push dword [ebp - 4]
push 0x1c
push edi
call fcn.100ed110
add esp, 0x14
mov esi, eax
jmp 0x101305df
mov edx, dword [ebp - 4]
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 [ebp - 0x28]
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 0x1013064a
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
mov edx, dword [ebp - 0x88]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x1013064a
cmp eax, esi
jg 0x10130619
push dword [ebp - 0x14]
push 0
push dword [ebp - 4]
push 0x1f
push edi
call fcn.100ed110
add esp, 0x14
mov esi, eax
jmp 0x1013064a
mov edx, dword [ebp - 4]
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 [ebp - 0x14]
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
push 0xffffffffffffffff
push dword [ebp - 0x8c]
push dword [ebp - 0x64]
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.1011c070
add esp, 0x18
cmp dword [ebp - 0x30], 1
jg 0x10130673
mov al, byte [ebp - 0x48]
test al, al
je 0x101306c4
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1013068f
push 0
push 0
push dword [ebp - 4]
push 0x7b
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x101306c1
mov edx, dword [ebp - 4]
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 [ebp - 0x48]
cmp dword [ebp - 0x4c], 0
jne 0x101306ce
test al, al
je 0x101306f4
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x101306e0
mov eax, 0x102301dc
jmp 0x101306f1
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 [ebp - 0x30], 0
je 0x10130713
push dword [ebp - 0x68]
push dword [ebp - 0x10]
push dword [ebp - 0x40]
push 0
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.101150b0
add esp, 0x18
mov esi, dword [ebp - 0x24]
xor eax, eax
push 0
cmp esi, 2
push 0
sete al
lea eax, [eax*2 + 4]
push eax
push dword [ebp - 0x8c]
push dword [ebp - 0x40]
push dword [ebp - 0x64]
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.1010aea0
add esp, 0x24
cmp dword [ebp - 0x30], 0
je 0x1013076f
push dword [ebp - 0x68]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.10115020
add esp, 0x18
jmp 0x1013076f
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0xa4]
test edx, edx
je 0x101307c5
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10130793
push 0
push 1
push edx
push 0x53
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x101307c5
mov ebx, dword [ebp - 0x2c]
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 eax, dword [ebp - 0x1c]
test eax, eax
je 0x10130817
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
cmp byte [eax + 8], 0x7a
jne 0x10130807
cmp byte [eax + 9], 2
jne 0x10130807
push dword [ebp + 0x10]
push dword [eax + 0x10]
call fcn.100cf5b0
add esp, 8
test eax, eax
je 0x10130804
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push esi
push dword [ebp - 0x1c]
push edi
call fcn.10109d40
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x101307d2
mov edi, dword [ebp - 0x74]
mov esi, dword [ebp - 0x24]
cmp esi, 1
je 0x1013091f
cmp esi, 2
jne 0x10130866
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1013084d
push ebx
push edi
push ecx
call fcn.100fbe60
add esp, 0xc
push dword [ebp - 0x7c]
call fcn.10141b70
add esp, 4
jmp 0x1013091f
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
push dword [ebp - 0x7c]
mov dword [ecx + ebx*4], eax
call fcn.10141b70
add esp, 4
jmp 0x1013091f
cmp dword [ebp - 0x20], 0
je 0x101308d6
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x10130886
push ebx
push edi
push ecx
call fcn.100fbe60
add esp, 0xc
jmp 0x1013088f
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + ebx*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x101308b0
mov edx, dword [ebp - 0x90]
push 0
push edx
push dword [ebp - 0x38]
push 5
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x1013091f
mov edx, dword [ebp - 0x38]
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 [ebp - 0x90]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
jmp 0x1013090f
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x101308f0
push 0
push ebx
push 0
push 0xb
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x1013091f
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], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [ebp - 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1013093c
push edx
push edi
push ecx
call fcn.100fbe60
add esp, 0xc
jmp 0x10130945
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x12], 0
jne 0x10130969
cmp dword [eax + 0x78], 0
jne 0x10130969
cmp dword [ebp + 0x24], 0
jne 0x10130969
cmp dword [eax + 0x70], 0
je 0x10130969
push eax
call fcn.100cac50
add esp, 4
mov edx, dword [ebp - 0xa4]
test edx, edx
je 0x10130a12
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x10130991
push 0
push 1
push edx
push 0x51
push edi
call fcn.100ed110
add esp, 0x14
jmp 0x101309c0
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
push 1
push edi
call fcn.1013c0c0
mov eax, dword [edi]
add esp, 8
cmp byte [eax + 0x51], 0
jne 0x10130a12
mov esi, dword [edi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x101309e7
cmp dword [esi + 0x18], 0
je 0x101309f0
push esi
call fcn.10149a50
add esp, 4
mov eax, 0xa02
mov dword [esi + 0x10], str.rows_updated
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 0xc
mov word [esi + 8], ax
mov byte [esi + 0xa], 1
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp - 0x10]
test ecx, ecx
je 0x10130a2b
mov eax, dword [ebp - 0xac]
mov dword [ecx + 0xf0], eax
mov ebx, dword [ebp - 0x60]
test edi, edi
je 0x10130acf
test ebx, ebx
je 0x10130a7a
cmp dword [ebx + 0x1e8], 0
je 0x10130a5a
push edi
push ebx
call fcn.100f05d0
add esp, 8
jmp 0x10130acf
mov ecx, dword [ebp - 0xa8]
jmp 0x10130a15
cmp edi, dword [ebx + 0x138]
jb 0x10130a7a
cmp edi, dword [ebx + 0x13c]
jae 0x10130a7a
mov eax, dword [ebx + 0x134]
mov dword [edi], eax
mov dword [ebx + 0x134], edi
jmp 0x10130acf
cmp dword [0x10226cd0], 0
je 0x10130ac5
mov eax, dword [0x1022ff40]
test eax, eax
je 0x10130a96
push eax
call dword [0x10226d2c]
add esp, 4
push edi
call dword [0x10226d08]
sub dword [0x1022fe50], eax
dec dword [0x1022fe74]
push edi
call dword [0x10226d00]
mov eax, dword [0x1022ff40]
add esp, 8
test eax, eax
je 0x10130acf
push eax
call dword [0x10226d34]
jmp 0x10130acc
push edi
call dword [0x10226d00]
add esp, 4
push dword [ebp + 0xc]
push ebx
call fcn.1012d8f0
add esp, 8
test esi, esi
je 0x10130ae9
push esi
push ebx
call fcn.100d8310
add esp, 8
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10130afa
push eax
push ebx
call fcn.10112170
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret