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

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa0]
xor edx, edx
xor eax, eax
mov ecx, dword [esi]
mov dword [esp + 0x68], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x6c], edx
cmp ecx, eax
mov dword [esp + 0x70], edx
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], edx
jne 0x1012fb66
mov eax, dword [esp + 0x24]
mov cl, byte [eax + 0x36]
test cl, cl
jne 0x1012fb66
mov ecx, dword [esp + 0xa8]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1012fb66
mov edx, ecx
push edx
push esi
call fcn.1012cd20
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1012fb66
mov eax, dword [ebx + 0x44]
mov ebp, dword [esp + 0x24]
push eax
push ebp
call fcn.1011d440
mov edx, dword [ebp + 0x10]
mov edi, eax
mov ecx, edi
mov dword [esp + 0x38], edi
shl ecx, 4
mov eax, dword [ecx + edx]
push eax
mov eax, dword [ebx]
push 0
push eax
push 0x12
push esi
call fcn.10128db0
add esp, 0x1c
test eax, eax
jne 0x1012fb66
lea ecx, [esp + 0x68]
push ecx
push eax
push 0x69
push ebx
push esi
call fcn.10139130
mov ecx, dword [ebx + 0x1c]
xor edx, edx
test ecx, ecx
setne dl
push ebx
push esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], edx
call fcn.1012a7e0
add esp, 0x1c
test eax, eax
jne 0x1012fb66
mov eax, dword [esp + 0x68]
push eax
push ebx
push esi
call fcn.1012d230
add esp, 0xc
test eax, eax
jne 0x1012fb66
push esi
call fcn.10133730
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1012fb66
mov al, byte [esi + 0x12]
test al, al
jne 0x1012ef36
push ebp
call fcn.1012d1e0
add esp, 4
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x1012ef4d
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x1012ef4d
xor eax, eax
jmp 0x1012ef52
mov eax, 1
push edi
push eax
push esi
call fcn.1012c4e0
mov eax, dword [esp + 0xc0]
add esp, 0xc
test eax, eax
jne 0x1012ef8b
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
push edi
push ecx
push edx
push ebx
push esi
call fcn.101306c0
add esp, 0x14
test eax, eax
jne 0x1012fb04
push ebx
push edi
push esi
call fcn.1012fd80
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xbc]
add esp, 0xc
test eax, eax
je 0x1012f183
mov edx, dword [esi + 0x4c]
inc edx
mov eax, edx
mov dword [esi + 0x4c], edx
push eax
push 0
push 7
push ebp
mov dword [esp + 0x3c], eax
call fcn.10123750
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esi + 0x4c], eax
push eax
lea eax, [esp + 0x80]
push 0xa
push eax
call fcn.10132fa0
push ebp
call fcn.10124270
mov ecx, dword [esp + 0x90]
mov edi, eax
add edi, 2
push ecx
lea edx, [edi - 1]
push edx
push 7
push ebp
call fcn.10123750
push 0
push 0
push 1
push ebp
call fcn.10123750
mov ecx, dword [esp + 0xf0]
add esp, 0x40
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x6c]
push eax
push ecx
push esi
call fcn.101342e0
add esp, 0xc
test eax, eax
jne 0x1012fb66
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x1012fb66
mov edx, dword [esp + 0x24]
mov al, byte [edx + 0x36]
test al, al
jne 0x1012fb66
mov eax, dword [esp + 0x2c]
push eax
push 1
push 7
push ebp
call fcn.10123750
mov ecx, dword [esp + 0x80]
push ecx
push 4
push ebp
call fcn.101241e0
push 2
push 2
push 6
push ebp
call fcn.10123750
mov edx, dword [esp + 0x68]
push edx
push ebp
call fcn.10123770
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x80], eax
add esp, 0x34
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x1012f0b8
mov ecx, dword [esp + 0x30]
push ebx
push ecx
push edi
push esi
call fcn.1012fcc0
add esp, 0x10
test eax, eax
je 0x1012f1f6
mov eax, dword [esi + 0x48]
push esi
mov dword [esp + 0x1c], eax
inc eax
mov dword [esp + 0x3c], 1
mov dword [esi + 0x48], eax
call fcn.10123790
push esi
mov edi, eax
call fcn.10123790
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x2a
push ebp
call fcn.10123750
mov ecx, dword [esp + 0x88]
push ecx
push 4
push ebp
call fcn.101241e0
mov edx, dword [esp + 0x50]
mov dword [esp + 0x60], eax
push edx
push 0x1b
push ebp
call fcn.101241e0
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
push edi
push eax
push ecx
push 0x1f
push ebp
call fcn.10122db0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
add esp, 0x44
push edx
push eax
push 0x38
push ebp
call fcn.10123750
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push ecx
push edi
push edx
push 0x39
push ebp
call fcn.10122db0
mov eax, dword [esp + 0x60]
push eax
push 0
push 1
push ebp
call fcn.10123750
mov ecx, dword [esp + 0x64]
push ecx
push ebp
call fcn.10123770
push edi
push esi
call fcn.101237c0
mov edx, dword [esp + 0x54]
add esp, 0x44
push edx
push esi
call fcn.101237c0
add esp, 8
jmp 0x1012f1f6
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x7c]
mov dword [esp + 0x18], 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xac]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x7c], esi
je 0x1012f1ad
mov eax, dword [eax]
jmp 0x1012f1af
xor eax, eax
cmp eax, edi
mov dword [esp + 0x20], eax
jle 0x1012f1f6
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + edx]
lea ecx, [esp + 0x7c]
push eax
push ecx
call fcn.10126d50
add esp, 8
test eax, eax
jne 0x1012fb66
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
inc edi
add ecx, 0x14
cmp edi, eax
mov dword [esp + 0x10], ecx
jl 0x1012f1bb
test byte [ebx + 0x22], 0x10
je 0x1012f222
mov edi, dword [ebx + 8]
test edi, edi
jle 0x1012f222
mov eax, dword [ebx + 0xc]
add eax, 0x17
mov cl, byte [eax]
xor edx, edx
test cl, cl
mov ecx, dword [esp + 0x14]
setne dl
add ecx, edx
add eax, 0x18
dec edi
mov dword [esp + 0x14], ecx
jne 0x1012f209
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jne 0x1012f269
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1012f391
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0x14]
sub eax, edi
cmp ecx, eax
je 0x1012f386
mov edx, dword [esp + 0xa8]
push ecx
push eax
push 0
push edx
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.101172f0
add esp, 0x18
jmp 0x1012fb66
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x20]
cmp eax, edx
je 0x1012f289
push edx
push eax
push str._d_values_for__d_columns
push esi
call fcn.101172f0
add esp, 0x10
jmp 0x1012fb66
xor eax, eax
test edx, edx
jle 0x1012f2a0
or edx, 0xffffffff
mov edi, dword [ecx]
inc eax
mov dword [edi + eax*8 - 4], edx
mov edi, dword [ecx + 4]
cmp eax, edi
jl 0x1012f292
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x1012f391
mov eax, dword [ebx + 8]
xor edi, edi
test eax, eax
jle 0x1012f319
mov dword [esp + 0x14], edi
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ecx]
mov ecx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [edx + eax*8]
push ecx
call fcn.100f8fc0
add esp, 8
test eax, eax
je 0x1012f2fd
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 8]
inc edi
add ecx, 0x18
cmp edi, eax
mov dword [esp + 0x14], ecx
jl 0x1012f2c0
jmp 0x1012f319
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx]
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [ebx + 4]
cmp edi, ecx
jne 0x1012f319
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
cmp edi, eax
mov edi, dword [esp + 0xb4]
jl 0x1012f345
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax*8]
push ecx
call fcn.10128960
add esp, 4
test eax, eax
je 0x1012f35b
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 4]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x1012f2b3
jmp 0x1012f391
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0xa8]
push edx
push 0
push eax
push str.table__S_has_no_column_named__s
push esi
call fcn.101172f0
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x1012fb66
test ecx, ecx
jle 0x1012f391
mov ecx, dword [ebx + 4]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x18]
test ah, 0x10
je 0x1012f3b8
mov edx, dword [esi + 0x4c]
inc edx
mov eax, edx
mov dword [esi + 0x4c], edx
push eax
push 0
push 7
push ebp
mov dword [esp + 0x74], eax
call fcn.10123750
add esp, 0x10
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x1012f408
mov eax, dword [esi + 0x48]
push 0x28
push eax
push ebx
push esi
mov dword [esp + 0x44], eax
call fcn.10130610
mov ecx, dword [esp + 0x34]
mov edi, eax
lea eax, [edi*4 + 4]
push eax
push ecx
call fcn.100f7ac0
add esp, 0x18
mov dword [esp + 0x44], eax
test eax, eax
je 0x1012fb66
test edi, edi
jle 0x1012f408
mov ecx, dword [esi + 0x4c]
add eax, 4
inc ecx
dec edi
mov dword [esi + 0x4c], ecx
mov dword [eax - 4], ecx
jne 0x1012f3f8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1012f430
mov edx, dword [esp + 0x18]
push edx
push 0x48
push ebp
call fcn.101241e0
push ebp
mov dword [esp + 0x68], eax
call fcn.10124270
add esp, 0x10
mov dword [esp + 0x50], eax
jmp 0x1012f460
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x1012f460
mov eax, dword [esp + 0x70]
push eax
push 4
push ebp
call fcn.101241e0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
push ecx
push 0x1b
push ebp
call fcn.101241e0
add esp, 0x18
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x4c]
mov edx, dword [ebx + 8]
lea edi, [eax + 1]
lea eax, [eax + edx + 1]
mov dword [esi + 0x4c], eax
mov cl, byte [ebx + 0x22]
test cl, 0x10
mov dword [esp + 0x5c], edi
mov dword [esp + 0x30], edi
je 0x1012f489
inc edi
inc eax
mov dword [esp + 0x30], edi
mov dword [esi + 0x4c], eax
lea eax, [edi + 1]
push ebp
mov dword [esp + 0x40], eax
call fcn.10124200
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x6c]
add esp, 4
test al, 1
je 0x1012f67f
mov ecx, dword [ebx + 8]
inc ecx
push ecx
push esi
call fcn.10126c90
mov edi, eax
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
jge 0x1012f4d1
push edi
push 0xffffffffffffffff
push 7
push ebp
call fcn.10123750
add esp, 0x10
jmp 0x1012f53e
mov eax, dword [esp + 0x38]
push edi
test eax, eax
je 0x1012f4f1
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
push 0x1d
push ebp
call fcn.10122db0
add esp, 0x14
jmp 0x1012f50f
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xb0]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + ecx*4]
push ecx
push esi
call fcn.101244b0
add esp, 0xc
push edi
push 0x4a
push ebp
call fcn.101241e0
push edi
push 0xffffffffffffffff
push 7
push ebp
mov dword [esp + 0x30], eax
call fcn.10123750
mov edx, dword [esp + 0x30]
push edx
push ebp
call fcn.10123770
push edi
push 0x15
push ebp
call fcn.101241e0
add esp, 0x30
mov ecx, dword [ebx + 8]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x1012f622
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x1012f589
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
mov dword [esp + 0x48], edx
jle 0x1012f589
mov ecx, dword [ecx]
mov edx, dword [esp + 0x10]
add ecx, 4
cmp dword [ecx], edx
je 0x1012f582
inc eax
add ecx, 8
cmp eax, dword [esp + 0x48]
jl 0x1012f574
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x38]
test edx, edx
jne 0x1012f59a
cmp dword [esp + 0xac], edx
je 0x1012f5a3
test ecx, ecx
je 0x1012f5c0
cmp eax, dword [ecx + 4]
jl 0x1012f5c0
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0xc]
lea ecx, [edi + eax + 1]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [edx + eax + 4]
push ecx
push esi
call fcn.101244b0
jmp 0x1012f600
test edx, edx
je 0x1012f5e0
mov edx, dword [esp + 0x10]
lea ecx, [edi + edx + 1]
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
push 0x1d
push ebp
call fcn.10122db0
add esp, 0x14
jmp 0x1012f603
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea edx, [edi + ecx + 1]
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [ecx + 8]
mov eax, dword [edx + eax*4]
push eax
push esi
call fcn.1012fbf0
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x1012f553
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x1012f644
mov ecx, dword [ebx + 8]
lea edx, [edi + 1]
push ecx
push edx
push 0x1e
push ebp
call fcn.10123750
push ebx
push ebp
call fcn.1012fc40
add esp, 0x18
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xb8]
push eax
push ecx
mov ecx, dword [ebx + 8]
mov edx, edi
mov eax, dword [esp + 0x48]
sub edx, ecx
dec edx
push edx
push ebx
push 1
push 0
push 0x69
push eax
push esi
call fcn.101397a0
mov ecx, dword [ebx + 8]
inc ecx
push ecx
push edi
push esi
call fcn.10126cc0
mov edi, dword [esp + 0x60]
add esp, 0x30
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x1012fa0c
test byte [ebx + 0x22], 0x10
je 0x1012f6a3
mov edx, dword [esp + 0x5c]
push edx
push 0
push 0xa
push ebp
call fcn.10123750
add esp, 0x10
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x1012f7bd
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1012f716
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edi
push eax
push ecx
push 0x1d
push ebp
call fcn.10122db0
add esp, 0x14
test byte [ebx + 0x22], 0x10
jne 0x1012f799
push edi
push 0x4a
push ebp
call fcn.101241e0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
push edx
push edi
push eax
push 0x38
push ebp
call fcn.10122db0
mov ecx, dword [esp + 0x68]
push ecx
push ebp
call fcn.10123770
add esp, 0x28
push edi
push 0x15
push ebp
call fcn.101241e0
add esp, 0xc
jmp 0x1012f7f1
mov eax, dword [esp + 0xb0]
push edi
test eax, eax
je 0x1012f73a
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x50]
add eax, edx
push eax
push 0xf
push ebp
call fcn.10123750
add esp, 0x10
jmp 0x1012f6cd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xb0]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + ecx*4]
push ecx
push esi
call fcn.101244b0
push 0xffffffffffffffff
push ebp
call fcn.1012fbc0
add esp, 0x14
test eax, eax
je 0x1012f6cd
cmp byte [eax], 0xa
jne 0x1012f6cd
test byte [ebx + 0x22], 0x10
jne 0x1012f6cd
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x60], 1
mov byte [eax], 0x38
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
jmp 0x1012f7f1
push ebp
call fcn.10124270
add eax, 2
push eax
push edi
push 0x49
push ebp
call fcn.10123750
add esp, 0x14
push edi
push 0x15
push ebp
call fcn.101241e0
add esp, 0xc
jmp 0x1012f7f1
test byte [ebx + 0x22], 0x10
je 0x1012f7d3
push edi
push 0
push 0xa
push ebp
call fcn.10123750
add esp, 0x10
jmp 0x1012f7f1
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
push edx
push edi
push eax
push 0x38
push ebp
call fcn.10122db0
add esp, 0x14
mov dword [esp + 0x60], 1
mov ecx, dword [esp + 0x28]
push edi
push ecx
push esi
call fcn.1012fe00
mov ecx, dword [ebx + 8]
xor eax, eax
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
jle 0x1012f88d
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edi
cmp eax, dword [ebx + 4]
jne 0x1012f832
push edi
push 0
push 0xa
push ebp
call fcn.10123750
add esp, 0x10
jmp 0x1012f86d
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jne 0x1012f8f6
mov edx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x28]
cmp byte [edx + ecx + 0x17], 0
je 0x1012f8f0
inc dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x28]
push edi
mov edx, dword [eax + ecx + 4]
push edx
push esi
call fcn.101244b0
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov ecx, dword [ebx + 8]
inc eax
inc edi
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edx
jl 0x1012f81d
test byte [ebx + 0x22], 0x10
je 0x1012f99e
mov eax, dword [esp + 0x24]
push ebx
push eax
call fcn.1011ed50
push ebx
push esi
mov edi, eax
call fcn.1013ad90
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x6c]
push 0xfffffffffffffff6
push edi
add edx, 2
push ecx
push edx
push 1
push 0x8c
push ebp
call fcn.10122d70
mov eax, dword [esp + 0xe4]
add esp, 0x2c
cmp eax, 0x63
jne 0x1012f8db
mov eax, 2
push eax
push ebp
call fcn.10123c80
push esi
call fcn.1012c530
add esp, 0xc
jmp 0x1012fa0c
sub eax, dword [esp + 0x14]
jmp 0x1012f91f
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x1012f92e
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0x10]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x1012f91b
inc eax
add ecx, 8
cmp eax, edx
jl 0x1012f90f
mov edi, dword [esp + 0x30]
test eax, eax
jl 0x1012f857
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1012f857
test ecx, ecx
je 0x1012f947
cmp eax, dword [ecx + 4]
jge 0x1012f857
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1012f966
mov edx, dword [esp + 0x18]
push edi
push eax
push edx
push 0x1d
push ebp
call fcn.10122db0
add esp, 0x14
jmp 0x1012f86d
mov ecx, dword [esp + 0xb0]
push edi
test ecx, ecx
je 0x1012f989
mov ecx, dword [esp + 0x50]
add eax, ecx
push eax
push 0xf
push ebp
call fcn.10123750
add esp, 0x10
jmp 0x1012f86d
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx*4]
jmp 0x1012f863
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x48]
mov edi, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x24]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x40]
push 0
setge al
push eax
push ecx
push edi
push edx
push ebx
push esi
call fcn.1012fe30
push edi
push 0
push ebx
push esi
call fcn.1012d7e0
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x98]
xor eax, eax
test edx, edx
mov edx, dword [esp + 0x7c]
sete al
push eax
mov eax, dword [esp + 0x70]
push ecx
push 0
push edx
push edi
push eax
push ebx
push esi
call fcn.101304e0
add esp, 0x58
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x18]
test ah, 0x10
je 0x1012fa2a
mov edx, dword [esp + 0x64]
push 1
push edx
push 0x14
push ebp
call fcn.10123750
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1012fa61
mov eax, dword [esp + 0x2c]
mov edi, dword [ebx + 8]
mov ecx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub eax, edi
push ecx
sub eax, 2
push eax
push ebx
push 2
push 0
push 0x69
push edx
push esi
call fcn.101397a0
add esp, 0x24
mov eax, dword [esp + 0x2c]
push eax
push ebp
call fcn.10124250
mov eax, dword [esp + 0x40]
add esp, 8
test eax, eax
je 0x1012faa2
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
push ecx
push edi
push 0x5f
push ebp
call fcn.10123750
mov edx, dword [esp + 0x68]
push edx
push ebp
call fcn.10123770
push edi
push 0x2d
push ebp
call fcn.101241e0
add esp, 0x24
jmp 0x1012faca
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x1012faca
mov eax, dword [esp + 0x50]
push eax
push 0
push 1
push ebp
call fcn.10123750
mov ecx, dword [esp + 0x68]
push ecx
push ebp
call fcn.10123770
add esp, 0x18
test byte [ebx + 0x22], 0x10
jne 0x1012fb04
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x1012fb04
mov edi, dword [esp + 0x34]
push edi
push 0x2d
push ebp
call fcn.101241e0
mov ebx, dword [ebx + 0x10]
add esp, 0xc
test ebx, ebx
je 0x1012fb04
inc edi
push edi
push 0x2d
push ebp
call fcn.101241e0
mov ebx, dword [ebx + 0x14]
add esp, 0xc
inc edi
test ebx, ebx
jne 0x1012faf0
mov al, byte [esi + 0x12]
test al, al
jne 0x1012fb1e
mov eax, dword [esi + 0x1ac]
test eax, eax
jne 0x1012fb1e
push esi
call fcn.1012ec90
add esp, 4
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x18]
test ah, 0x10
je 0x1012fb66
mov al, byte [esi + 0x12]
test al, al
jne 0x1012fb66
mov eax, dword [esi + 0x1ac]
test eax, eax
jne 0x1012fb66
mov eax, dword [esp + 0x64]
push 1
push eax
push 0x10
push ebp
call fcn.10123750
push 1
push ebp
call fcn.1011d990
push 0
push str.rows_inserted
push 0
push 0
push ebp
call fcn.1011da00
add esp, 0x2c
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0x24]
push ecx
push esi
call fcn.1011ddf0
mov edx, dword [esp + 0xb4]
push edx
push esi
call fcn.1011a450
mov eax, dword [esp + 0xc0]
push eax
push esi
call fcn.1011dd50
mov ecx, dword [esp + 0xcc]
push ecx
push esi
call fcn.1011de80
mov edx, dword [esp + 0x64]
push edx
push esi
call fcn.100f8b00
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret