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

Disassembly:
sub esp, 0xa8
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0xb4]
mov ecx, dword [ebp]
push esi
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], ecx
cmp dword [ebp + 0x24], eax
jne 0x51c126
mov edx, ecx
cmp byte [edx + 0x49], al
jne 0x51c126
mov eax, dword [esp + 0xc4]
xor esi, esi
mov dword [esp + 0x84], esi
cmp eax, esi
je 0x51b190
test dword [eax + 8], 0x200
je 0x51b190
cmp dword [eax + 0x34], esi
jne 0x51b190
mov ecx, dword [eax]
push edx
mov dword [esp + 0x44], ecx
mov dword [eax], esi
call fcn.004c2910
add esp, 4
mov dword [esp + 0xc4], esi
mov ecx, dword [esp + 0xc0]
mov eax, ebp
call fcn.004ef550
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x51c126
mov esi, dword [esp + 0x30]
mov edi, eax
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x51b1dd
mov eax, dword [esi + 0x10]
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [eax + 0xc], ecx
je 0x51b1dd
add eax, 0xc
add eax, 0x10
inc edx
cmp dword [eax], ecx
jne 0x51b1d1
mov dword [esp + 0x18], edx
mov ecx, dword [esi + 0x10]
mov eax, dword [edi]
shl edx, 4
mov edx, dword [edx + ecx]
push edx
push 0
push eax
push 0x12
mov eax, ebp
call fcn.004d7c90
add esp, 0x10
test eax, eax
jne 0x51c126
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
shr eax, 5
lea ecx, [esp + 0x5c]
push ecx
and al, 1
mov byte [esp + 0x2b], al
push 0
push 0x74
mov edx, esi
mov eax, ebp
call fcn.004b8ab0
xor edx, edx
cmp dword [esi + 0xc], edx
mov dword [esp + 0x60], eax
setne dl
push esi
mov eax, ebp
mov dword [esp + 0x58], edx
call fcn.004fa4a0
add esp, 0x10
test eax, eax
jne 0x51c126
mov eax, dword [esp + 0x5c]
push eax
mov ecx, esi
mov eax, ebp
call fcn.004d9190
add esp, 4
test eax, eax
jne 0x51c126
mov ecx, ebp
call fcn.004cd3a0
mov ebx, eax
test ebx, ebx
je 0x51c126
cmp byte [ebp + 0x12], 0
jne 0x51b27c
or dword [ebx + 0x94], 0x20
mov edi, dword [esp + 0xc4]
test edi, edi
jne 0x51b291
cmp dword [esp + 0x54], edi
jne 0x51b291
xor eax, eax
jmp 0x51b296
mov eax, 1
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
mov edx, ebp
call fcn.005024c0
add esp, 4
cmp dword [esp + 0xc8], 0
jne 0x51b2d2
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x10]
push esi
push ecx
push edx
push ebp
mov eax, edi
call fcn.005030c0
add esp, 0x10
test eax, eax
jne 0x51c0c9
push esi
mov esi, dword [esp + 0x14]
mov edi, esi
mov ecx, ebp
call fcn.004c2470
movsx edx, word [esi + 0x2a]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x2c]
lea ecx, [eax + 1]
lea eax, [edx + eax + 1]
add esp, 4
mov dword [ebp + 0x2c], eax
cmp dword [esi + 0x38], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], ecx
je 0x51b30f
inc ecx
inc eax
mov dword [esp + 0x50], ecx
mov dword [ebp + 0x2c], eax
mov eax, dword [esi + 0x24]
inc ecx
shr eax, 7
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xc8]
not al
and al, 1
mov byte [esp + 0x17], al
test ecx, ecx
je 0x51b483
xor eax, eax
cmp dword [ecx + 4], eax
jle 0x51b34c
or edx, 0xffffffff
jmp 0x51b340
mov edi, dword [ecx]
mov dword [edi + eax*8 + 4], edx
inc eax
cmp eax, dword [ecx + 4]
jl 0x51b340
cmp dword [ecx + 4], 0
mov dword [esp + 0x20], 0
jle 0x51b483
mov edi, edi
movsx eax, word [esi + 0x2a]
xor edi, edi
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x51b3ad
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx*8]
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
nop
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
call fcn.004acfb0
test eax, eax
je 0x51b423
inc edi
add esi, 0x10
cmp edi, dword [esp + 0x2c]
jl 0x51b390
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x51b409
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx]
mov edi, dword [edx + esi*8]
mov eax, str._ROWID_
mov ecx, edi
call fcn.004acfb0
test eax, eax
je 0x51b3f9
mov eax, str.ROWID
mov ecx, edi
call fcn.004acfb0
test eax, eax
je 0x51b3f9
mov eax, 0x5f03b0
mov ecx, edi
call fcn.004acfb0
test eax, eax
jne 0x51b450
cmp byte [esp + 0x27], 0
jne 0x51b450
mov dword [esp + 0x3c], esi
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0xc8]
inc esi
cmp esi, dword [eax + 4]
mov dword [esp + 0x20], esi
jge 0x51b483
mov esi, dword [esp + 0x10]
jmp 0x51b360
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov dword [edx + 4], edi
cmp esi, edi
je 0x51b437
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x28]
cmp edi, ecx
jne 0x51b3b1
mov dword [esp + 0x3c], esi
jmp 0x51b3b1
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax*8]
mov edx, dword [esp + 0xc0]
push ecx
push 0
push edx
push str.table__S_has_no_column_named__s
mov esi, ebp
call fcn.004d3340
add esp, 0x10
mov byte [ebp + 0x11], 1
jmp 0x51c126
cmp dword [esp + 0xc4], 0
je 0x51b628
inc dword [ebp + 0x2c]
mov edi, dword [ebx + 0x88]
mov esi, dword [ebp + 0x2c]
inc edi
push edi
push 0
push esi
push 0xd
push ebx
call fcn.004c5570
movzx eax, byte [esp + 0x2b]
mov ecx, dword [esp + 0x24]
movsx edx, word [ecx + 0x2a]
mov ecx, dword [esp + 0xd8]
neg eax
sbb eax, eax
and eax, dword [esp + 0x58]
mov byte [esp + 0x94], 0xd
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x94]
push eax
push ecx
push ebp
mov dword [esp + 0xa4], esi
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], edx
call fcn.0050d760
mov edx, dword [esp + 0xa8]
add esp, 0x20
mov dword [esp + 0x64], edx
test eax, eax
jne 0x51c126
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x49], 0
jne 0x51c126
cmp dword [ebp + 0x24], 0
jne 0x51c126
mov eax, esi
mov esi, ebx
call fcn.004c57e0
lea eax, [edi - 1]
mov edx, ebx
call fcn.004bfd80
cmp dword [esp + 0x54], 0
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
jne 0x51b570
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov eax, ebp
call fcn.004d12c0
add esp, 8
test eax, eax
je 0x51b6a5
mov edx, dword [ebp + 0x28]
lea eax, [edx + 1]
mov dword [ebp + 0x28], eax
mov eax, ebp
mov byte [esp + 0x15], 1
mov dword [esp + 0x34], edx
call fcn.004b6890
mov esi, eax
mov eax, ebp
call fcn.004b6890
mov ecx, dword [esp + 0x2c]
push 0
push ecx
push edx
push 0x71
push ebx
mov edi, eax
call fcn.004c5570
mov edx, dword [esp + 0x98]
push 0
push 0
push edx
push 0xe
push ebx
call fcn.004c5570
mov ecx, dword [esp + 0xb0]
push esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
push eax
push ecx
push 0x66
push ebx
call fcn.004c5570
mov edx, dword [esp + 0x70]
push 0
push edi
push edx
push 0x79
push ebx
call fcn.004c5570
mov eax, dword [esp + 0x84]
add esp, 0x50
push edi
push esi
push eax
push 0x7a
push ebx
call fcn.004c5570
mov ecx, dword [esp + 0x30]
push 0
push ecx
push 0
push 0xb
push ebx
call fcn.004c5570
mov eax, dword [esp + 0x44]
add esp, 0x28
mov edx, ebx
call fcn.004bfd80
mov edx, esi
mov eax, ebp
call fcn.004b68b0
mov edx, edi
call fcn.004b68b0
jmp 0x51b6a1
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x34], 0xffffffff
test eax, eax
je 0x51b699
mov edx, dword [eax]
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x30], edx
call fcn.004edec0
add esp, 4
test eax, eax
jne 0x51c126
jmp 0x51b6a1
mov dword [esp + 0x2c], 0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
xor edx, edx
cmp dword [esp + 0xc8], edx
jne 0x51b6c0
cmp esi, edx
jle 0x51b6c0
movsx eax, word [edi + 0x28]
mov dword [esp + 0x3c], eax
movsx ecx, word [edi + 0x2a]
cmp ecx, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
jl 0x51b709
mov eax, dword [edi + 4]
add ecx, 0xfffffffe
shr ecx, 1
add eax, 0x1f
inc ecx
lea edx, [ecx + ecx]
movzx esi, byte [eax - 0x10]
shr esi, 1
and esi, 1
add dword [esp + 0x18], esi
movzx esi, byte [eax]
shr esi, 1
and esi, 1
add dword [esp + 0x1c], esi
add eax, 0x20
sub ecx, 1
jne 0x51b6e0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
movsx eax, word [edi + 0x2a]
cmp edx, eax
jge 0x51b723
mov ecx, dword [edi + 4]
shl edx, 4
movzx eax, byte [edx + ecx + 0xf]
shr eax, 1
and eax, 1
jmp 0x51b727
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0xc8]
add eax, edx
test ecx, ecx
jne 0x51b76c
test esi, esi
je 0x51b786
movsx ecx, word [edi + 0x2a]
sub ecx, eax
cmp esi, ecx
je 0x51b786
mov edx, dword [esp + 0xc0]
push esi
push ecx
push 0
push edx
push str.table__S_has__d_columns_but__d_values_were_supplied
mov esi, ebp
call fcn.004d3340
add esp, 0x14
jmp 0x51c126
mov eax, dword [ecx + 4]
cmp esi, eax
je 0x51b786
push eax
push esi
push str._d_values_for__d_columns
mov esi, ebp
call fcn.004d3340
jmp 0x51c123
mov eax, dword [esp + 0x30]
test byte [eax + 0x1c], 0x80
je 0x51b7b6
cmp byte [ebp + 0x12], 0
jne 0x51b7b6
cmp dword [ebp + 0x78], 0
jne 0x51b7b6
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push 0
push eax
push 0
push 0x46
push ebx
mov dword [esp + 0x7c], eax
call fcn.004c5570
add esp, 0x14
cmp dword [esp + 0x48], 0
jne 0x51b82c
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0xffffffffffffffff
push 0
push 0x6e
push edi
push ebp
call fcn.004fada0
mov esi, eax
lea eax, [esi*4 + 4]
push 0
push eax
mov eax, dword [esp + 0x58]
call fcn.004bbd30
add esp, 0x28
mov dword [esp + 0x70], eax
test eax, eax
je 0x51c126
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 8]
xor ecx, ecx
test esi, esi
jle 0x51b82c
mov edi, dword [esp + 0x70]
jmp 0x51b810
inc dword [ebp + 0x2c]
mov edx, dword [ebp + 0x2c]
mov dword [edi + ecx*4], edx
movzx edx, word [eax + 0x34]
add dword [ebp + 0x2c], edx
mov eax, dword [eax + 0x14]
inc ecx
cmp ecx, esi
jl 0x51b810
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x51b869
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc0]
mov esi, dword [esp + 0x44]
mov dword [ecx + 0x34], edx
cmp dword [eax], 0
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], esi
mov dword [eax + 0x20], edx
je 0x51b869
push eax
push ecx
push ebp
call fcn.004f1710
add esp, 0xc
cmp byte [esp + 0x15], 0
je 0x51b890
mov eax, dword [esp + 0x34]
push 0
push 0
push eax
push 0x24
push ebx
call fcn.004c5570
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x80], ecx
jmp 0x51b8b5
cmp dword [esp + 0xc4], 0
je 0x51b8bc
mov edx, dword [esp + 0x84]
push 0
push 0
push edx
push 0xe
push ebx
call fcn.004c5570
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], eax
add esp, 0x14
mov eax, ebx
call fcn.004c5810
test byte [esp + 0x5c], 1
mov dword [esp + 0x1c], eax
je 0x51bb2f
movsx esi, word [edi + 0x2a]
inc esi
mov ecx, ebp
call fcn.004b68d0
cmp dword [esp + 0x3c], 0
mov esi, eax
mov dword [esp + 0x18], esi
jge 0x51b8fd
push 0
push esi
push 0xffffffffffffffff
push 0x46
push ebx
call fcn.004c5570
add esp, 0x14
jmp 0x51b966
cmp byte [esp + 0x15], 0
mov eax, dword [esp + 0x3c]
push esi
je 0x51b91c
mov ecx, dword [esp + 0x38]
push eax
push ecx
push 0x5a
push ebx
call fcn.004c5570
add esp, 0x14
jmp 0x51b931
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + edx*8 + 4]
push ecx
push ebp
call fcn.005176d0
add esp, 0xc
push 0
push 0
push esi
push 0x33
push ebx
call fcn.004c5570
push 0
push esi
push 0xffffffffffffffff
push 0x46
push ebx
mov edi, eax
call fcn.004c5570
mov eax, edi
mov edx, ebx
call fcn.004bfd80
push 0
push 0
push esi
push 0xf
push ebx
call fcn.004c5570
add esp, 0x3c
mov eax, dword [esp + 0x10]
xor edx, edx
xor edi, edi
cmp dx, word [eax + 0x2a]
jge 0x51baae
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
lea esi, [ecx + 1]
sub eax, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x5c], eax
cmp dword [esp + 0xc8], 0
je 0x51b9c8
mov ecx, dword [esp + 0xc8]
mov ecx, dword [ecx + 4]
xor edi, edi
test ecx, ecx
jle 0x51b9c8
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
add eax, 4
mov edx, dword [esp + 0x5c]
add edx, esi
cmp dword [eax], edx
je 0x51b9c8
inc edi
add eax, 8
cmp edi, ecx
jl 0x51b9b6
mov cl, byte [esp + 0x15]
test cl, cl
jne 0x51b9d7
cmp dword [esp + 0x40], 0
je 0x51b9e7
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x51ba06
cmp edi, dword [eax + 4]
jl 0x51ba06
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + edx + 4]
push esi
push eax
push ebp
call fcn.005176d0
add esp, 0xc
jmp 0x51ba83
test cl, cl
je 0x51ba1e
mov ecx, dword [esp + 0x34]
push esi
push edi
push ecx
push 0x5a
push ebx
call fcn.004c5570
add esp, 0x14
jmp 0x51ba83
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
lea edx, [edi + edi*2]
mov esi, dword [eax + edx*8 + 4]
mov edx, dword [esp + 0x28]
push edx
push esi
push ebp
mov dword [esp + 0x80], ecx
call fcn.005176d0
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x80]
push 0
push eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x3c]
push eax
push 0x4e
push ecx
call fcn.004c5570
mov dl, byte [esi]
mov eax, dword [esp + 0x98]
add esp, 0x20
and dword [esi + 4], 0xffffefff
mov byte [esi + 0x26], dl
mov byte [esi], 0xa4
mov dword [esi + 0x1c], eax
mov esi, dword [esp + 0x28]
cmp dword [esp + 0xc8], 0
jne 0x51ba8e
inc edi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
movsx eax, word [edx + 0x2a]
add dword [esp + 0x20], 0x10
inc esi
add ecx, esi
cmp ecx, eax
mov dword [esp + 0x28], esi
jl 0x51b990
cmp dword [esp + 0x48], 0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
jne 0x51bacc
lea ecx, [edi + 1]
push ecx
push ebx
mov eax, esi
call fcn.004c84f0
add esp, 8
mov edx, dword [esp + 0x1c]
movsx ecx, word [esi + 0x2a]
mov eax, dword [esp + 0xcc]
push edx
push eax
mov eax, dword [esp + 0x5c]
mov edx, edi
sub edx, ecx
dec edx
push edx
push esi
push 1
push 0
push 0x74
push eax
push ebp
call fcn.0051c9c0
movsx eax, word [esi + 0x2a]
inc eax
add esp, 0x24
cmp eax, 1
jne 0x51bb20
test edi, edi
je 0x51bb2f
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x51bb2f
mov edx, dword [esp + 0x18]
movzx ecx, al
mov dword [ebp + ecx*4 + 0x90], edx
inc byte [ebp + 0x13]
jmp 0x51bb2f
cmp eax, dword [ebp + 0x1c]
jle 0x51bb2f
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x20], eax
cmp dword [esp + 0x48], 0
jne 0x51bfb4
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x38], 0
je 0x51bb58
mov ecx, dword [esp + 0x58]
push 0
push ecx
push 0
push 0x49
push ebx
call fcn.004c5570
add esp, 0x14
mov eax, dword [esp + 0x3c]
test eax, eax
jl 0x51bc5d
cmp byte [esp + 0x15], 0
mov esi, dword [esp + 0x50]
je 0x51bbc5
mov edx, dword [esp + 0x34]
push esi
push eax
push edx
push 0x5a
push ebx
call fcn.004c5570
add esp, 0x14
cmp dword [edi + 0x38], 0
jne 0x51bc3c
push 0
push 0
push esi
push 0x33
push ebx
call fcn.004c5570
mov edx, dword [esp + 0x4c]
push edx
mov edi, eax
mov eax, dword [esp + 0x64]
push esi
push eax
push 0x79
push ebx
call fcn.004c5570
add esp, 0x28
mov eax, edi
mov edx, ebx
call fcn.004bfd80
push 0
push 0
push esi
push 0xf
jmp 0x51bc93
cmp dword [esp + 0xc4], 0
je 0x51bbdd
mov ecx, dword [esp + 0x64]
push 0
push esi
add ecx, eax
push ecx
push 0x4e
jmp 0x51bb78
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + edx*8 + 4]
push esi
push ecx
push ebp
call fcn.005176d0
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx]
add esp, 0xc
dec eax
cmp byte [edx + 0x49], 0
je 0x51bc09
mov eax, 0x6413f8
jmp 0x51bc12
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp byte [eax], 0x49
jne 0x51bb81
cmp dword [edi + 0x38], 0
jne 0x51bc3c
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x16], 1
mov byte [eax], 0x79
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
jmp 0x51bc9c
mov ecx, dword [ebx + 0x88]
push 0
add ecx, 2
push ecx
push esi
push 0x32
push ebx
call fcn.004c5570
add esp, 0x14
push 0
push 0
push esi
push 0xf
jmp 0x51bc93
cmp dword [edi + 0x38], 0
jne 0x51bc88
cmp byte [esp + 0x27], 0
jne 0x51bc88
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push edx
push esi
push eax
push 0x79
push ebx
call fcn.004c5570
mov byte [esp + 0x2a], 1
jmp 0x51bc99
mov esi, dword [esp + 0x50]
push 0
push esi
push 0
push 0x49
push ebx
call fcn.004c5570
add esp, 0x14
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x51bcb9
mov ecx, dword [ebp + 8]
push 0
push esi
push eax
push 0x98
push ecx
call fcn.004c5570
add esp, 0x14
mov eax, dword [esp + 0x10]
xor edi, edi
xor edx, edx
cmp dx, word [eax + 0x2a]
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
jge 0x51bd6a
mov esi, dword [esp + 0x44]
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], esi
nop
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x28]
cmp edi, ecx
jne 0x51bcfe
push 0
push 0
push esi
push 0x4a
push ebx
call fcn.004c5570
add esp, 0x14
jmp 0x51bd49
mov ecx, dword [esp + 0xc8]
test ecx, ecx
jne 0x51bdf8
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x38]
test byte [edx + eax + 0xf], 2
je 0x51bdf0
inc dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
push eax
mov eax, dword [esp + 0x3c]
mov esi, dword [edx + eax + 4]
mov edi, ebp
call fcn.004ee830
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
add esp, 4
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx + 0x2a]
add dword [esp + 0x38], 0x10
inc edi
inc esi
cmp edi, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], esi
jl 0x51bce0
mov eax, ecx
cmp dword [eax + 0x38], 0
je 0x51bee8
mov esi, dword [eax + 0x40]
test esi, esi
je 0x51bd8b
mov eax, dword [esp + 0x30]
nop
cmp dword [esi], eax
je 0x51bd8b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x51bd80
mov edi, dword [esp + 0x10]
push edi
mov eax, ebp
call fcn.004c2b70
movsx eax, word [edi + 0x2a]
mov ecx, dword [esp + 0x5c]
push ecx
add eax, 2
push eax
push 1
push 0xa
push ebx
call fcn.004c5570
mov edx, dword [ebx]
add esp, 0x18
cmp byte [edx + 0x49], 0
jne 0x51beb0
test eax, eax
jge 0x51bdc8
mov eax, dword [ebx + 0x88]
dec eax
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x51bea2
push esi
push ebx
mov eax, 0xfffffff4
call fcn.004bff40
add esp, 8
jmp 0x51beb0
mov eax, edi
sub eax, dword [esp + 0x28]
jmp 0x51be12
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x51be1a
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x51be12
inc eax
add ecx, 8
cmp eax, edx
jl 0x51be06
test eax, eax
jl 0x51bd23
cmp dword [esp + 0x2c], 0
je 0x51bd23
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x51be39
cmp eax, dword [ecx + 4]
jge 0x51bd23
cmp byte [esp + 0x15], 0
je 0x51be57
mov edx, dword [esp + 0x34]
push esi
push eax
push edx
push 0x5a
push ebx
call fcn.004c5570
add esp, 0x14
jmp 0x51bd49
cmp dword [esp + 0xc4], 0
je 0x51be87
mov ecx, dword [esp + 0x64]
cmp ecx, dword [esp + 0x44]
je 0x51bd49
push 0
mov edx, ecx
push esi
add eax, edx
push eax
push 0x4f
push ebx
call fcn.004c5570
add esp, 0x14
jmp 0x51bd49
mov ecx, dword [esp + 0x40]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 4]
push esi
push edx
push ebp
call fcn.005176d0
add esp, 0xc
jmp 0x51bd49
test esi, esi
je 0x51beb0
mov dword [ecx + 0x10], esi
mov byte [ecx + 1], 0xf4
inc dword [esi + 0xc]
mov ecx, dword [esp + 0xcc]
cmp ecx, 0xb
jne 0x51bec1
mov ecx, 2
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x51bed6
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
mov word [eax + edx*4 - 0x12], cx
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x51bedf
mov eax, ebp
mov byte [eax + 0x15], 1
jmp 0x51bfb4
mov ecx, dword [esp + 0xd0]
cmp dword [esp + 0x3c], 0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0xd0]
mov edi, dword [esp + 0x74]
push 0
lea edx, [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
setge dl
movzx eax, dl
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x28]
push 0
push ecx
push esi
push edx
push edi
push eax
push ebp
call fcn.005199e0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x44]
push 0
push 0
push ecx
push 0
push edx
push ebp
call fcn.0050cf20
add esp, 0x4c
cmp dword [esp + 0x78], 0
je 0x51bf8c
cmp dword [esp + 0x54], 0
jne 0x51bf88
mov eax, dword [esp + 0x30]
test dword [eax + 0x1c], 0x4000
je 0x51bf8c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 0x48]
push 0
add eax, 0x38
push ecx
call fcn.004ae050
add esp, 8
cmp dword [eax + 8], 0
je 0x51bf8c
xor eax, eax
jmp 0x51bf91
mov eax, 1
movzx ecx, byte [esp + 0x16]
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x18]
push 0
push edi
push edx
push esi
push eax
push ecx
push ebp
call fcn.004d13c0
add esp, 0x24
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x44]
test eax, eax
je 0x51bfd0
push 0
push 1
push eax
push 0x53
push ebx
call fcn.004c5570
add esp, 0x14
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x51c004
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xcc]
push edx
push eax
mov eax, dword [esp + 0x18]
movsx edx, word [eax + 0x2a]
sub esi, edx
sub esi, 2
push esi
push eax
push 2
push 0
push 0x74
push ecx
push ebp
call fcn.0051c9c0
add esp, 0x24
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x51c023
mov ecx, dword [esp + 0x1c]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebx + 0x88]
sub eax, edx
mov dword [eax], ecx
cmp byte [esp + 0x15], 0
je 0x51c07f
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x34]
push 0
push edx
push esi
push 5
push ebx
call fcn.004c5570
mov eax, dword [esp + 0x74]
mov ecx, dword [ebx + 0x88]
add esp, 0x14
test eax, eax
jge 0x51c052
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x49], 0
je 0x51c061
mov eax, 0x6413f8
jmp 0x51c06a
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
push 0
push 0
push esi
push 0x75
push ebx
mov dword [eax + 8], ecx
call fcn.004c5570
add esp, 0x14
jmp 0x51c0c9
cmp dword [esp + 0xc4], 0
je 0x51c0c9
mov eax, dword [esp + 0x6c]
push 0
push eax
push 0
push 0xb
push ebx
call fcn.004c5570
mov eax, dword [esp + 0x74]
mov ecx, dword [ebx + 0x88]
add esp, 0x14
test eax, eax
jge 0x51c0ae
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x49], 0
je 0x51c0bd
mov eax, 0x6413f8
jmp 0x51c0c6
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
cmp byte [ebp + 0x12], 0
jne 0x51c0e4
cmp dword [ebp + 0x78], 0
jne 0x51c0e4
cmp dword [ebp + 0x70], 0
je 0x51c0e4
push ebp
call fcn.004fac40
add esp, 4
cmp dword [esp + 0x68], 0
je 0x51c126
mov eax, dword [esp + 0x68]
push 0
push 1
push eax
push 0x51
push ebx
call fcn.004c5570
push 1
push ebx
call fcn.004c0110
mov ecx, dword [ebx]
add esp, 0x1c
cmp byte [ecx + 0x49], 0
jne 0x51c126
mov ecx, dword [ebx + 0x64]
push 0
push 1
push str.rows_inserted
or eax, 0xffffffff
call fcn.004cf3f0
add esp, 0xc
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x30]
push edx
mov eax, ebx
call fcn.004b74d0
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
je 0x51c14e
push eax
push ebx
call fcn.004c6e70
add esp, 8
mov esi, dword [esp + 0xd0]
mov edi, ebx
call fcn.004c95c0
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x51c173
push 1
push eax
push ebx
call fcn.004c27f0
add esp, 0xc
mov edi, dword [esp + 0xc8]
mov esi, ebx
call fcn.004b7340
mov eax, dword [esp + 0x70]
test eax, eax
je 0x51c1d9
test ebx, ebx
je 0x51c1d0
cmp dword [ebx + 0x1d8], 0
je 0x51c1a7
pop edi
pop esi
pop ebp
mov ecx, ebx
pop ebx
add esp, 0xa8
jmp fcn.004aca10
cmp eax, dword [ebx + 0x128]
jb 0x51c1d0
cmp eax, dword [ebx + 0x12c]
jae 0x51c1d0
mov ecx, dword [ebx + 0x124]
pop edi
pop esi
mov dword [eax], ecx
pop ebp
mov dword [ebx + 0x124], eax
pop ebx
add esp, 0xa8
ret
push eax
call fcn.004ac9a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret