Function at 0x51b2c0
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 0x51c2f6
mov edx, ecx
cmp byte [edx + 0x49], al
jne 0x51c2f6
mov eax, dword [esp + 0xc4]
xor esi, esi
mov dword [esp + 0x84], esi
cmp eax, esi
je 0x51b360
test dword [eax + 8], 0x200
je 0x51b360
cmp dword [eax + 0x34], esi
jne 0x51b360
mov ecx, dword [eax]
push edx
mov dword [esp + 0x44], ecx
mov dword [eax], esi
call fcn.004c2ac0
add esp, 4
mov dword [esp + 0xc4], esi
mov ecx, dword [esp + 0xc0]
mov eax, ebp
call fcn.004ef710
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x51c2f6
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 0x51b3ad
mov eax, dword [esi + 0x10]
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [eax + 0xc], ecx
je 0x51b3ad
add eax, 0xc
add eax, 0x10
inc edx
cmp dword [eax], ecx
jne 0x51b3a1
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.004d7e50
add esp, 0x10
test eax, eax
jne 0x51c2f6
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.004b8c70
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.004fa660
add esp, 0x10
test eax, eax
jne 0x51c2f6
mov eax, dword [esp + 0x5c]
push eax
mov ecx, esi
mov eax, ebp
call fcn.004d9350
add esp, 4
test eax, eax
jne 0x51c2f6
mov ecx, ebp
call fcn.004cd560
mov ebx, eax
test ebx, ebx
je 0x51c2f6
cmp byte [ebp + 0x12], 0
jne 0x51b44c
or dword [ebx + 0x94], 0x20
mov edi, dword [esp + 0xc4]
test edi, edi
jne 0x51b461
cmp dword [esp + 0x54], edi
jne 0x51b461
xor eax, eax
jmp 0x51b466
mov eax, 1
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
mov edx, ebp
call fcn.00502690
add esp, 4
cmp dword [esp + 0xc8], 0
jne 0x51b4a2
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x10]
push esi
push ecx
push edx
push ebp
mov eax, edi
call fcn.00503290
add esp, 0x10
test eax, eax
jne 0x51c299
push esi
mov esi, dword [esp + 0x14]
mov edi, esi
mov ecx, ebp
call fcn.004c2620
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 0x51b4df
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 0x51b653
xor eax, eax
cmp dword [ecx + 4], eax
jle 0x51b51c
or edx, 0xffffffff
jmp 0x51b510
mov edi, dword [ecx]
mov dword [edi + eax*8 + 4], edx
inc eax
cmp eax, dword [ecx + 4]
jl 0x51b510
cmp dword [ecx + 4], 0
mov dword [esp + 0x20], 0
jle 0x51b653
mov edi, edi
movsx eax, word [esi + 0x2a]
xor edi, edi
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x51b57d
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.004ad170
test eax, eax
je 0x51b5f3
inc edi
add esi, 0x10
cmp edi, dword [esp + 0x2c]
jl 0x51b560
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x51b5d9
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx]
mov edi, dword [edx + esi*8]
mov eax, str._ROWID_
mov ecx, edi
call fcn.004ad170
test eax, eax
je 0x51b5c9
mov eax, str.ROWID
mov ecx, edi
call fcn.004ad170
test eax, eax
je 0x51b5c9
mov eax, 0x5f02f0
mov ecx, edi
call fcn.004ad170
test eax, eax
jne 0x51b620
cmp byte [esp + 0x27], 0
jne 0x51b620
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 0x51b653
mov esi, dword [esp + 0x10]
jmp 0x51b530
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov dword [edx + 4], edi
cmp esi, edi
je 0x51b607
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x28]
cmp edi, ecx
jne 0x51b581
mov dword [esp + 0x3c], esi
jmp 0x51b581
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.004d3500
add esp, 0x10
mov byte [ebp + 0x11], 1
jmp 0x51c2f6
cmp dword [esp + 0xc4], 0
je 0x51b7f8
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.004c5720
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.0050d930
mov edx, dword [esp + 0xa8]
add esp, 0x20
mov dword [esp + 0x64], edx
test eax, eax
jne 0x51c2f6
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x49], 0
jne 0x51c2f6
cmp dword [ebp + 0x24], 0
jne 0x51c2f6
mov eax, esi
mov esi, ebx
call fcn.004c5990
lea eax, [edi - 1]
mov edx, ebx
call fcn.004bff30
cmp dword [esp + 0x54], 0
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
jne 0x51b740
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov eax, ebp
call fcn.004d1480
add esp, 8
test eax, eax
je 0x51b875
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.004b6a50
mov esi, eax
mov eax, ebp
call fcn.004b6a50
mov ecx, dword [esp + 0x2c]
push 0
push ecx
push edx
push 0x71
push ebx
mov edi, eax
call fcn.004c5720
mov edx, dword [esp + 0x98]
push 0
push 0
push edx
push 0xe
push ebx
call fcn.004c5720
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.004c5720
mov edx, dword [esp + 0x70]
push 0
push edi
push edx
push 0x79
push ebx
call fcn.004c5720
mov eax, dword [esp + 0x84]
add esp, 0x50
push edi
push esi
push eax
push 0x7a
push ebx
call fcn.004c5720
mov ecx, dword [esp + 0x30]
push 0
push ecx
push 0
push 0xb
push ebx
call fcn.004c5720
mov eax, dword [esp + 0x44]
add esp, 0x28
mov edx, ebx
call fcn.004bff30
mov edx, esi
mov eax, ebp
call fcn.004b6a70
mov edx, edi
call fcn.004b6a70
jmp 0x51b871
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 0x51b869
mov edx, dword [eax]
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x30], edx
call fcn.004ee080
add esp, 4
test eax, eax
jne 0x51c2f6
jmp 0x51b871
mov dword [esp + 0x2c], 0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
xor edx, edx
cmp dword [esp + 0xc8], edx
jne 0x51b890
cmp esi, edx
jle 0x51b890
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 0x51b8d9
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 0x51b8b0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
movsx eax, word [edi + 0x2a]
cmp edx, eax
jge 0x51b8f3
mov ecx, dword [edi + 4]
shl edx, 4
movzx eax, byte [edx + ecx + 0xf]
shr eax, 1
and eax, 1
jmp 0x51b8f7
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 0x51b93c
test esi, esi
je 0x51b956
movsx ecx, word [edi + 0x2a]
sub ecx, eax
cmp esi, ecx
je 0x51b956
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.004d3500
add esp, 0x14
jmp 0x51c2f6
mov eax, dword [ecx + 4]
cmp esi, eax
je 0x51b956
push eax
push esi
push str._d_values_for__d_columns
mov esi, ebp
call fcn.004d3500
jmp 0x51c2f3
mov eax, dword [esp + 0x30]
test byte [eax + 0x1c], 0x80
je 0x51b986
cmp byte [ebp + 0x12], 0
jne 0x51b986
cmp dword [ebp + 0x78], 0
jne 0x51b986
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.004c5720
add esp, 0x14
cmp dword [esp + 0x48], 0
jne 0x51b9fc
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.004faf60
mov esi, eax
lea eax, [esi*4 + 4]
push 0
push eax
mov eax, dword [esp + 0x58]
call fcn.004bbee0
add esp, 0x28
mov dword [esp + 0x70], eax
test eax, eax
je 0x51c2f6
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 8]
xor ecx, ecx
test esi, esi
jle 0x51b9fc
mov edi, dword [esp + 0x70]
jmp 0x51b9e0
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 0x51b9e0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x51ba39
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 0x51ba39
push eax
push ecx
push ebp
call fcn.004f18d0
add esp, 0xc
cmp byte [esp + 0x15], 0
je 0x51ba60
mov eax, dword [esp + 0x34]
push 0
push 0
push eax
push 0x24
push ebx
call fcn.004c5720
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x80], ecx
jmp 0x51ba85
cmp dword [esp + 0xc4], 0
je 0x51ba8c
mov edx, dword [esp + 0x84]
push 0
push 0
push edx
push 0xe
push ebx
call fcn.004c5720
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], eax
add esp, 0x14
mov eax, ebx
call fcn.004c59c0
test byte [esp + 0x5c], 1
mov dword [esp + 0x1c], eax
je 0x51bcff
movsx esi, word [edi + 0x2a]
inc esi
mov ecx, ebp
call fcn.004b6a90
cmp dword [esp + 0x3c], 0
mov esi, eax
mov dword [esp + 0x18], esi
jge 0x51bacd
push 0
push esi
push 0xffffffffffffffff
push 0x46
push ebx
call fcn.004c5720
add esp, 0x14
jmp 0x51bb36
cmp byte [esp + 0x15], 0
mov eax, dword [esp + 0x3c]
push esi
je 0x51baec
mov ecx, dword [esp + 0x38]
push eax
push ecx
push 0x5a
push ebx
call fcn.004c5720
add esp, 0x14
jmp 0x51bb01
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + edx*8 + 4]
push ecx
push ebp
call fcn.005178a0
add esp, 0xc
push 0
push 0
push esi
push 0x33
push ebx
call fcn.004c5720
push 0
push esi
push 0xffffffffffffffff
push 0x46
push ebx
mov edi, eax
call fcn.004c5720
mov eax, edi
mov edx, ebx
call fcn.004bff30
push 0
push 0
push esi
push 0xf
push ebx
call fcn.004c5720
add esp, 0x3c
mov eax, dword [esp + 0x10]
xor edx, edx
xor edi, edi
cmp dx, word [eax + 0x2a]
jge 0x51bc7e
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 0x51bb98
mov ecx, dword [esp + 0xc8]
mov ecx, dword [ecx + 4]
xor edi, edi
test ecx, ecx
jle 0x51bb98
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 0x51bb98
inc edi
add eax, 8
cmp edi, ecx
jl 0x51bb86
mov cl, byte [esp + 0x15]
test cl, cl
jne 0x51bba7
cmp dword [esp + 0x40], 0
je 0x51bbb7
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x51bbd6
cmp edi, dword [eax + 4]
jl 0x51bbd6
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.005178a0
add esp, 0xc
jmp 0x51bc53
test cl, cl
je 0x51bbee
mov ecx, dword [esp + 0x34]
push esi
push edi
push ecx
push 0x5a
push ebx
call fcn.004c5720
add esp, 0x14
jmp 0x51bc53
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.005178a0
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.004c5720
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 0x51bc5e
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 0x51bb60
cmp dword [esp + 0x48], 0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
jne 0x51bc9c
lea ecx, [edi + 1]
push ecx
push ebx
mov eax, esi
call fcn.004c86b0
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.0051cb90
movsx eax, word [esi + 0x2a]
inc eax
add esp, 0x24
cmp eax, 1
jne 0x51bcf0
test edi, edi
je 0x51bcff
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x51bcff
mov edx, dword [esp + 0x18]
movzx ecx, al
mov dword [ebp + ecx*4 + 0x90], edx
inc byte [ebp + 0x13]
jmp 0x51bcff
cmp eax, dword [ebp + 0x1c]
jle 0x51bcff
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x20], eax
cmp dword [esp + 0x48], 0
jne 0x51c184
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x38], 0
je 0x51bd28
mov ecx, dword [esp + 0x58]
push 0
push ecx
push 0
push 0x49
push ebx
call fcn.004c5720
add esp, 0x14
mov eax, dword [esp + 0x3c]
test eax, eax
jl 0x51be2d
cmp byte [esp + 0x15], 0
mov esi, dword [esp + 0x50]
je 0x51bd95
mov edx, dword [esp + 0x34]
push esi
push eax
push edx
push 0x5a
push ebx
call fcn.004c5720
add esp, 0x14
cmp dword [edi + 0x38], 0
jne 0x51be0c
push 0
push 0
push esi
push 0x33
push ebx
call fcn.004c5720
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.004c5720
add esp, 0x28
mov eax, edi
mov edx, ebx
call fcn.004bff30
push 0
push 0
push esi
push 0xf
jmp 0x51be63
cmp dword [esp + 0xc4], 0
je 0x51bdad
mov ecx, dword [esp + 0x64]
push 0
push esi
add ecx, eax
push ecx
push 0x4e
jmp 0x51bd48
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.005178a0
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx]
add esp, 0xc
dec eax
cmp byte [edx + 0x49], 0
je 0x51bdd9
mov eax, 0x6413f8
jmp 0x51bde2
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp byte [eax], 0x49
jne 0x51bd51
cmp dword [edi + 0x38], 0
jne 0x51be0c
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 0x51be6c
mov ecx, dword [ebx + 0x88]
push 0
add ecx, 2
push ecx
push esi
push 0x32
push ebx
call fcn.004c5720
add esp, 0x14
push 0
push 0
push esi
push 0xf
jmp 0x51be63
cmp dword [edi + 0x38], 0
jne 0x51be58
cmp byte [esp + 0x27], 0
jne 0x51be58
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.004c5720
mov byte [esp + 0x2a], 1
jmp 0x51be69
mov esi, dword [esp + 0x50]
push 0
push esi
push 0
push 0x49
push ebx
call fcn.004c5720
add esp, 0x14
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x51be89
mov ecx, dword [ebp + 8]
push 0
push esi
push eax
push 0x98
push ecx
call fcn.004c5720
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 0x51bf3a
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 0x51bece
push 0
push 0
push esi
push 0x4a
push ebx
call fcn.004c5720
add esp, 0x14
jmp 0x51bf19
mov ecx, dword [esp + 0xc8]
test ecx, ecx
jne 0x51bfc8
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x38]
test byte [edx + eax + 0xf], 2
je 0x51bfc0
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.004ee9f0
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 0x51beb0
mov eax, ecx
cmp dword [eax + 0x38], 0
je 0x51c0b8
mov esi, dword [eax + 0x40]
test esi, esi
je 0x51bf5b
mov eax, dword [esp + 0x30]
nop
cmp dword [esi], eax
je 0x51bf5b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x51bf50
mov edi, dword [esp + 0x10]
push edi
mov eax, ebp
call fcn.004c2d20
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.004c5720
mov edx, dword [ebx]
add esp, 0x18
cmp byte [edx + 0x49], 0
jne 0x51c080
test eax, eax
jge 0x51bf98
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 0x51c072
push esi
push ebx
mov eax, 0xfffffff4
call fcn.004c00f0
add esp, 8
jmp 0x51c080
mov eax, edi
sub eax, dword [esp + 0x28]
jmp 0x51bfe2
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x51bfea
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x51bfe2
inc eax
add ecx, 8
cmp eax, edx
jl 0x51bfd6
test eax, eax
jl 0x51bef3
cmp dword [esp + 0x2c], 0
je 0x51bef3
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x51c009
cmp eax, dword [ecx + 4]
jge 0x51bef3
cmp byte [esp + 0x15], 0
je 0x51c027
mov edx, dword [esp + 0x34]
push esi
push eax
push edx
push 0x5a
push ebx
call fcn.004c5720
add esp, 0x14
jmp 0x51bf19
cmp dword [esp + 0xc4], 0
je 0x51c057
mov ecx, dword [esp + 0x64]
cmp ecx, dword [esp + 0x44]
je 0x51bf19
push 0
mov edx, ecx
push esi
add eax, edx
push eax
push 0x4f
push ebx
call fcn.004c5720
add esp, 0x14
jmp 0x51bf19
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.005178a0
add esp, 0xc
jmp 0x51bf19
test esi, esi
je 0x51c080
mov dword [ecx + 0x10], esi
mov byte [ecx + 1], 0xf4
inc dword [esi + 0xc]
mov ecx, dword [esp + 0xcc]
cmp ecx, 0xb
jne 0x51c091
mov ecx, 2
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x51c0a6
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 0x51c0af
mov eax, ebp
mov byte [eax + 0x15], 1
jmp 0x51c184
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.00519bb0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x44]
push 0
push 0
push ecx
push 0
push edx
push ebp
call fcn.0050d0f0
add esp, 0x4c
cmp dword [esp + 0x78], 0
je 0x51c15c
cmp dword [esp + 0x54], 0
jne 0x51c158
mov eax, dword [esp + 0x30]
test dword [eax + 0x1c], 0x4000
je 0x51c15c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 0x48]
push 0
add eax, 0x38
push ecx
call fcn.004ae210
add esp, 8
cmp dword [eax + 8], 0
je 0x51c15c
xor eax, eax
jmp 0x51c161
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.004d1580
add esp, 0x24
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x44]
test eax, eax
je 0x51c1a0
push 0
push 1
push eax
push 0x53
push ebx
call fcn.004c5720
add esp, 0x14
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x51c1d4
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.0051cb90
add esp, 0x24
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x51c1f3
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 0x51c24f
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x34]
push 0
push edx
push esi
push 5
push ebx
call fcn.004c5720
mov eax, dword [esp + 0x74]
mov ecx, dword [ebx + 0x88]
add esp, 0x14
test eax, eax
jge 0x51c222
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x49], 0
je 0x51c231
mov eax, 0x6413f8
jmp 0x51c23a
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.004c5720
add esp, 0x14
jmp 0x51c299
cmp dword [esp + 0xc4], 0
je 0x51c299
mov eax, dword [esp + 0x6c]
push 0
push eax
push 0
push 0xb
push ebx
call fcn.004c5720
mov eax, dword [esp + 0x74]
mov ecx, dword [ebx + 0x88]
add esp, 0x14
test eax, eax
jge 0x51c27e
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x49], 0
je 0x51c28d
mov eax, 0x6413f8
jmp 0x51c296
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 0x51c2b4
cmp dword [ebp + 0x78], 0
jne 0x51c2b4
cmp dword [ebp + 0x70], 0
je 0x51c2b4
push ebp
call fcn.004fae00
add esp, 4
cmp dword [esp + 0x68], 0
je 0x51c2f6
mov eax, dword [esp + 0x68]
push 0
push 1
push eax
push 0x51
push ebx
call fcn.004c5720
push 1
push ebx
call fcn.004c02c0
mov ecx, dword [ebx]
add esp, 0x1c
cmp byte [ecx + 0x49], 0
jne 0x51c2f6
mov ecx, dword [ebx + 0x64]
push 0
push 1
push str.rows_inserted
or eax, 0xffffffff
call fcn.004cf5b0
add esp, 0xc
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x30]
push edx
mov eax, ebx
call fcn.004b7690
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
je 0x51c31e
push eax
push ebx
call fcn.004c7020
add esp, 8
mov esi, dword [esp + 0xd0]
mov edi, ebx
call fcn.004c9780
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x51c343
push 1
push eax
push ebx
call fcn.004c29a0
add esp, 0xc
mov edi, dword [esp + 0xc8]
mov esi, ebx
call fcn.004b7500
mov eax, dword [esp + 0x70]
test eax, eax
je 0x51c3a9
test ebx, ebx
je 0x51c3a0
cmp dword [ebx + 0x1d8], 0
je 0x51c377
pop edi
pop esi
pop ebp
mov ecx, ebx
pop ebx
add esp, 0xa8
jmp fcn.004acbd0
cmp eax, dword [ebx + 0x128]
jb 0x51c3a0
cmp eax, dword [ebx + 0x12c]
jae 0x51c3a0
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.004acb60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret