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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
or eax, 0xffffffff
mov dword [esp + 0x4c], edx
push esi
mov esi, ecx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x64], eax
xorps xmm0, xmm0
mov dword [esp + 0x60], eax
cmp dword [esi + 0x40], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
push edi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], eax
movaps xmmword [esp + 0x70], xmm0
jne 0x51807d
cmp byte [eax + 0x1e], 0
jne 0x51807d
cmp dword [edx + 0xc], 0
je 0x51807d
call fcn.0051b960
mov dword [esp + 0x14], eax
test eax, eax
je 0x51807d
mov edx, dword [eax + 0x40]
mov edi, 0xfff0bdc0
mov dword [esp + 0x20], edi
test edx, edx
je 0x516f69
mov ecx, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x20], edi
mov ecx, dword [ecx + 4]
test ecx, ecx
jle 0x516f69
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x516f61
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x516f55
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edi
mov edx, eax
mov ecx, esi
call fcn.0051efd0
test eax, eax
jne 0x51807d
mov edx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0051b900
add esp, 4
test eax, eax
jne 0x51807d
mov ecx, esi
call fcn.0050e630
mov esi, eax
mov dword [esp + 0x4c], esi
test esi, esi
je 0x51807d
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x13], 0
jne 0x516fb4
mov byte [esi + 0x6d], 1
xor edx, edx
mov ecx, eax
cmp dword [ebp + 0xc], edx
push edi
setne dl
call fcn.0051c7c0
add esp, 4
cmp dword [ebp + 0x10], 0
jne 0x516ff0
mov edx, dword [esp + 0x14]
push edi
push dword [ebp + 0x14]
mov edi, dword [esp + 0x20]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.005155c0
add esp, 0xc
test eax, eax
jne 0x517fb2
jmp 0x516ff4
mov edi, dword [esp + 0x18]
cmp dword [ebp + 0xc], 0
je 0x5173a6
mov eax, dword [edi + 0x48]
mov edx, 7
inc eax
mov ecx, esi
push eax
push 0
mov dword [esp + 0x34], eax
mov dword [edi + 0x48], eax
call fcn.005369a0
mov eax, dword [edi + 0x48]
mov edx, 7
inc eax
mov word [esp + 0x78], 0xa
mov dword [edi + 0x48], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov ecx, dword [esi + 0xc]
add ecx, 2
push eax
mov dword [esp + 0x28], ecx
lea eax, [ecx - 1]
mov ecx, esi
push eax
call fcn.005369a0
push 0
push 0
mov edx, 1
mov ecx, esi
call fcn.005369a0
mov edx, dword [ebp + 0xc]
mov edi, eax
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x88]
push eax
call fcn.00508120
add esp, 0x1c
test eax, eax
jne 0x517385
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x40], 0
jne 0x517385
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], 0
jne 0x517385
push dword [esp + 0x2c]
mov edx, 7
mov ecx, esi
push 1
call fcn.005369a0
push dword [esp + 0x7c]
mov edx, 4
mov ecx, esi
call fcn.00536a10
add esp, 0xc
mov edx, 6
mov ecx, esi
push 2
push 2
call fcn.005369a0
mov edx, dword [esi + 0xc]
add esp, 8
cmp edx, edi
jle 0x5170f1
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x5171e0
mov edi, dword [eax]
test edi, edi
je 0x51716b
cmp byte [edi + 0x1e], dl
jne 0x5171db
cmp byte [edi + 0xe2], dl
je 0x51716b
mov eax, 0xe8
cmp ax, word [edi + 0xe0]
ja 0x51716b
mov ecx, dword [edi + 0xec]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x51716b
mov eax, dword [ecx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x51718e
mov dword [edi + 0xe8], eax
jmp 0x51718e
push 0xe8
call fcn.0054a0f0
mov ecx, eax
mov dword [esp + 0x2c], eax
add esp, 4
test ecx, ecx
jne 0x51718e
test edi, edi
je 0x51718a
mov byte [edi + 0x1e], 1
test ecx, ecx
je 0x5171d7
push 0xe4
lea eax, [ecx + 4]
push 0
push eax
call fcn.004359b0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov dword [edx], edi
mov eax, dword [edi + 0x88]
test eax, eax
je 0x5171b4
mov dword [eax + 4], edx
mov eax, dword [edi + 0x88]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], 0
mov dword [edi + 0x88], edx
mov dword [edx + 0x50], 0x26bceaa5
jmp 0x5171dd
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x22], 0x10
je 0x517200
mov edi, dword [ecx + 0x30]
test edi, edi
je 0x517202
mov eax, dword [eax]
cmp dword [edi], eax
je 0x517202
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x5171f3
jmp 0x517202
xor edi, edi
mov eax, dword [esp + 0x1c]
cmp eax, dword [edx + 0xc]
jge 0x517455
nop
mov ecx, eax
test eax, eax
jns 0x517227
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x517224
mov eax, 0x5896d0
jmp 0x51723f
lea ecx, [eax - 1]
mov eax, dword [edx]
cmp byte [eax + 0x1e], 0
je 0x517236
mov eax, 0x5896d0
jmp 0x51723f
mov eax, dword [edx + 0x14]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x26
jne 0x517270
mov ecx, dword [esp + 0x20]
cmp dword [eax + 0xc], ecx
jne 0x51727a
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x14]
cmp ecx, dword [eax + 0x18]
je 0x51728d
mov eax, dword [eax + 0x14]
test eax, eax
je 0x51727a
cmp ecx, dword [eax + 0x14]
je 0x51728d
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x517262
jmp 0x51727a
cmp cl, 0x7c
jne 0x51727a
cmp dword [eax + 0x10], edi
je 0x51728d
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [edx + 0xc]
jl 0x517210
jmp 0x517455
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], 1
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x3c], edx
lea eax, [edx + 1]
mov dword [ecx + 0x44], eax
call fcn.00523790
mov dword [esp + 0x20], eax
call fcn.00523790
push dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x20], eax
push edx
mov edx, 0x28
call fcn.005369a0
push dword [esp + 0x7c]
mov edx, 4
mov ecx, esi
call fcn.00536a10
add esp, 0xc
mov edx, 0x1a
mov ecx, esi
mov edi, eax
push dword [esp + 0x2c]
call fcn.00536a10
add esp, 4
mov dword [esp + 0x30], eax
mov edx, 0x1e
mov ecx, esi
push dword [esp + 0x20]
push dword [esp + 0x3c]
push dword [esp + 0x68]
call fcn.00536af0
add esp, 0xc
mov edx, 0x35
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x40]
call fcn.005369a0
push dword [esp + 0x24]
mov edx, 0x36
mov ecx, esi
push dword [esp + 0x2c]
push dword [esp + 0x4c]
call fcn.00536af0
add esp, 0x14
mov edx, 1
mov ecx, esi
push edi
push 0
call fcn.005369a0
mov edx, dword [esi + 0xc]
add esp, 8
mov eax, dword [esp + 0x30]
cmp edx, eax
jle 0x517366
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
call fcn.00523750
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
call fcn.00523750
jmp 0x517455
mov esi, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.0051cf40
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.00527810
mov eax, dword [ebp + 0xc]
jmp 0x51809d
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
mov dword [esp + 0x8c], edi
mov dword [esp + 0x3c], 0xffffffff
test ecx, ecx
je 0x51744d
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
test eax, eax
jle 0x517455
xor edi, edi
mov dword [esp + 0x38], eax
nop dword [eax + eax]
mov edx, dword [ecx + 0xc]
lea ecx, [esp + 0x8c]
mov edx, dword [edi + edx]
call fcn.0052a170
test eax, eax
jne 0x51742d
mov eax, dword [esp + 0x28]
add edi, 0x14
mov ecx, dword [ebp + 8]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x38]
jl 0x517400
jmp 0x517455
mov esi, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.0051cf40
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.00527810
xor edi, edi
jmp 0x5180f0
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0x14]
xor ecx, ecx
test byte [edx + 0x22], 0x10
je 0x5174c5
mov eax, dword [edx + 0xc]
xor edi, edi
mov dword [esp + 0x20], edi
cmp eax, 2
jl 0x5174ff
mov ecx, dword [edx + 0x10]
lea edx, [eax - 2]
mov dword [esp + 0x34], ecx
add ecx, 0x2f
shr edx, 1
inc edx
lea eax, [edx + edx]
mov dword [esp + 0x30], eax
nop word [eax + eax]
xor eax, eax
lea ecx, [ecx + 0x30]
cmp byte [ecx - 0x48], al
setne al
add edi, eax
xor eax, eax
cmp byte [ecx - 0x30], al
setne al
add dword [esp + 0x20], eax
sub edx, 1
jne 0x517490
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
cmp ecx, dword [edx + 0xc]
jl 0x517520
xor ecx, ecx
mov eax, dword [esp + 0x20]
add eax, edi
add ecx, eax
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x5175a6
mov edi, dword [esp + 0x38]
test edi, edi
je 0x517541
mov eax, dword [edx + 0xc]
sub eax, ecx
cmp edi, eax
je 0x517536
push edi
push eax
push 0
push dword [esp + 0x60]
push str.table__S_has__d_columns_but__d_values_were_supplied
push dword [esp + 0x2c]
call fcn.00547510
add esp, 0x18
jmp 0x51807d
test eax, eax
jle 0x5174bb
mov edx, dword [edx + 0x10]
lea eax, [ecx + ecx*2]
xor ecx, ecx
cmp byte [edx + eax*8 + 0x17], cl
mov edx, dword [esp + 0x14]
setne cl
jmp 0x5174bd
mov edx, dword [esp + 0x34]
lea eax, [ecx + ecx*2]
xor ecx, ecx
cmp byte [edx + eax*8 + 0x17], cl
mov edx, dword [esp + 0x14]
setne cl
jmp 0x5174bd
test edi, edi
jle 0x517541
mov eax, dword [edx + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
test byte [eax + 0xc], 0x80
je 0x51756b
inc dword [edi + 0x48]
mov edx, 7
mov eax, dword [edi + 0x48]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x74], eax
call fcn.005369a0
add esp, 8
mov eax, dword [edi + 0x44]
mov edx, dword [esp + 0x14]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x4c], eax
call fcn.00515d40
mov edx, dword [esp + 0x2c]
mov edi, eax
add esp, 8
cmp byte [edx + 0x1e], 0
lea ecx, [edi*4 + 4]
je 0x5176d5
mov dword [esp + 0x40], 0
jmp 0x51807d
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
je 0x5175c9
push eax
push ecx
push str._d_values_for__d_columns
push dword [esp + 0x24]
call fcn.00547510
add esp, 0x10
jmp 0x51807d
xor ecx, ecx
test eax, eax
jle 0x5175e2
nop
mov eax, dword [edi]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edi + 4]
cmp ecx, eax
jl 0x5175d0
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x517541
mov eax, edi
xor edi, edi
cmp edi, dword [edx + 0xc]
jge 0x51765a
mov eax, dword [eax]
mov ecx, dword [eax + ecx*8]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
nop dword [eax]
mov edx, dword [eax]
call fcn.005473b0
mov edx, dword [esp + 0x14]
test eax, eax
je 0x51763a
mov eax, dword [esp + 0x28]
inc edi
mov ecx, dword [esp + 0x30]
add eax, 0x18
mov dword [esp + 0x28], eax
cmp edi, dword [edx + 0xc]
jl 0x517610
mov ecx, dword [esp + 0x1c]
jmp 0x517655
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [eax + ecx*8 + 4], edi
mov eax, dword [esp + 0x50]
cmp edi, dword [edx + 8]
cmove eax, ecx
mov dword [esp + 0x50], eax
cmp edi, dword [edx + 0xc]
jl 0x51769e
mov eax, dword [ebp + 0x10]
mov edx, str._ROWID_
mov eax, dword [eax]
mov edi, dword [eax + ecx*8]
mov ecx, edi
call fcn.005473b0
test eax, eax
je 0x517692
mov edx, str.ROWID
mov ecx, edi
call fcn.005473b0
test eax, eax
je 0x517692
mov edx, 0x56f6e4
mov ecx, edi
call fcn.005473b0
test eax, eax
jne 0x5176b4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov eax, dword [ebp + 0x10]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [eax + 4]
jl 0x5175f2
jmp 0x517541
mov esi, dword [esp + 0x18]
push edi
push 0
push dword [esp + 0x5c]
push str.table__S_has_no_column_named__s
push esi
call fcn.00547510
add esp, 0x14
inc dword [esi + 0x40]
jmp 0x51807d
cmp byte [edx + 0xe2], 0
je 0x517720
movzx eax, word [edx + 0xe0]
cmp ecx, eax
jg 0x517720
mov eax, dword [edx + 0xec]
mov dword [esp + 0x40], eax
test eax, eax
je 0x517720
mov eax, dword [eax]
mov dword [edx + 0xec], eax
mov eax, dword [edx + 0xe4]
inc eax
mov dword [edx + 0xe4], eax
cmp eax, dword [edx + 0xe8]
jle 0x51771a
mov dword [edx + 0xe8], eax
mov edx, dword [esp + 0x40]
jmp 0x517745
push ecx
call fcn.0054a0f0
mov ecx, eax
add esp, 4
mov dword [esp + 0x40], ecx
test ecx, ecx
jne 0x51773b
mov eax, dword [esp + 0x24]
mov byte [eax + 0x1e], 1
mov edx, ecx
test ecx, ecx
je 0x51807d
xor ecx, ecx
test edi, edi
jle 0x517762
mov esi, dword [esp + 0x18]
nop
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x517750
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x5c], 0
je 0x517786
push dword [esp + 0x3c]
mov edx, 0x40
mov ecx, esi
call fcn.00536a10
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x68], eax
jmp 0x5177b7
cmp dword [ebp + 0xc], 0
je 0x5177ba
push dword [esp + 0x74]
mov edx, 4
mov ecx, esi
call fcn.00536a10
add esp, 4
mov dword [esp + 0x64], eax
mov edx, 0x1a
mov ecx, esi
push dword [esp + 0x2c]
call fcn.00536a10
mov dword [esp + 0x6c], eax
add esp, 4
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x48]
inc ecx
mov dword [edx + 0x48], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov edi, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 0x48], eax
test byte [ecx + 0x22], 0x10
je 0x5177ea
inc edi
inc eax
mov dword [edx + 0x48], eax
mov ecx, esi
call fcn.00536850
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
test byte [eax + 0x22], 0x10
je 0x517818
push dword [esp + 0x1c]
mov edx, 0xa
mov ecx, esi
push 0
call fcn.005369a0
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x50]
test ecx, ecx
js 0x517954
cmp dword [esp + 0x5c], 0
push edi
je 0x517897
push ecx
push dword [esp + 0x44]
mov edx, 0x1c
mov ecx, esi
call fcn.00536af0
add esp, 0xc
mov edx, dword [esp + 0x14]
test byte [edx + 0x22], 0x10
jne 0x517927
push edi
mov edx, 0x4a
mov ecx, esi
call fcn.00536a10
mov ecx, dword [esp + 0x48]
add esp, 4
mov edx, 0x35
mov dword [esp + 0x4c], eax
push 0
push edi
push ecx
mov ecx, esi
call fcn.00536af0
mov edx, dword [esi + 0xc]
add esp, 0xc
mov eax, dword [esp + 0x4c]
cmp edx, eax
jle 0x51793e
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
jmp 0x51793e
cmp dword [ebp + 0xc], 0
je 0x5178b5
mov eax, dword [esp + 0x64]
mov edx, 0xf
add eax, ecx
mov ecx, esi
push eax
call fcn.005369a0
add esp, 8
jmp 0x517840
mov edx, dword [ebp + 8]
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + eax*4]
call fcn.00524900
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
jne 0x5178db
mov eax, 0x5896d0
jmp 0x5178fe
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x1e], 0
je 0x5178f0
mov eax, 0x5896d0
jmp 0x5178fe
mov eax, dword [esi + 0x14]
add eax, 0xffffffec
add eax, ecx
je 0x517840
cmp byte [eax], 0xa
mov edx, dword [esp + 0x14]
jne 0x517844
test byte [edx + 0x22], 0x10
jne 0x517927
mov ecx, dword [esp + 0x44]
mov byte [eax], 0x35
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], 0
jmp 0x51798d
mov eax, dword [esi + 0xc]
mov edx, 0x49
add eax, 2
mov ecx, esi
push eax
push edi
call fcn.005369a0
add esp, 8
push edi
mov edx, 0x15
mov ecx, esi
call fcn.00536a10
mov edx, dword [esp + 0x18]
add esp, 4
jmp 0x517995
test byte [eax + 0x22], 0x10
je 0x517972
push edi
push 0
mov edx, 0xa
mov ecx, esi
call fcn.005369a0
mov edx, dword [esp + 0x1c]
add esp, 8
jmp 0x517995
mov ecx, dword [esp + 0x44]
mov edx, 0x35
push 0
push edi
push ecx
mov ecx, esi
call fcn.00536af0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x48], 1
xor ecx, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], ecx
cmp dword [edx + 0xc], ecx
jle 0x517a95
lea eax, [edi + 1]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x58], eax
add eax, ecx
mov dword [esp + 0x2c], eax
cmp ecx, dword [edx + 8]
jne 0x517a13
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x5179d9
mov ecx, esi
call fcn.00536b60
test eax, eax
jne 0x517a76
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
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
mov byte [esi + 0x6e], 0
jmp 0x517a76
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x517b03
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x20]
cmp byte [eax + edx + 0x17], 0
je 0x517afb
inc dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
push edx
mov edx, dword [eax + ecx + 4]
mov ecx, edi
call fcn.005249d0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x2c]
cmp edx, eax
je 0x517a76
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x517a76
push eax
push edx
mov edx, 0xf
call fcn.005369a0
add esp, 8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
inc ecx
add dword [esp + 0x20], 0x18
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], ecx
cmp ecx, dword [edx + 0xc]
jl 0x5179b7
test byte [edx + 0x22], 0x10
je 0x517ce3
mov edi, dword [edx + 0x30]
test edi, edi
je 0x517abb
mov eax, dword [esp + 0x24]
nop word [eax + eax]
cmp dword [edi], eax
je 0x517abb
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x517ab0
mov ecx, dword [esp + 0x18]
call fcn.00505260
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 0xc]
add eax, 2
mov dword [esp + 0x58], eax
cmp dword [esi + 0x10], edx
jg 0x517c41
mov ecx, esi
call fcn.00536b60
test eax, eax
je 0x517c3d
mov edx, 1
jmp 0x517c7d
mov edi, ecx
sub edi, dword [esp + 0x28]
jmp 0x517b1d
mov edx, dword [eax + 4]
xor edi, edi
test edx, edx
jle 0x517b28
mov eax, dword [eax]
add eax, 4
cmp dword [eax], ecx
je 0x517b1d
inc edi
add eax, 8
cmp edi, edx
jl 0x517b11
test edi, edi
js 0x517a34
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x38], 0
je 0x517a34
test eax, eax
je 0x517b40
cmp edi, dword [eax + 4]
jge 0x517a34
cmp dword [esp + 0x5c], 0
je 0x517b9f
mov eax, dword [esi + 0xc]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x10], eax
jg 0x517b66
mov ecx, esi
call fcn.00536b60
test eax, eax
jne 0x517a76
mov eax, dword [esp + 0x4c]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x517a76
cmp dword [ebp + 0xc], 0
je 0x517c02
mov eax, dword [esi + 0xc]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x10], eax
jg 0x517bc4
mov ecx, esi
call fcn.00536b60
test eax, eax
jne 0x517a76
mov eax, dword [esp + 0x4c]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x60]
add eax, edi
mov dword [ecx + 8], edx
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x517a76
mov eax, dword [ebp + 8]
lea ecx, [edi + edi*4]
mov edi, dword [esp + 0x2c]
push edi
mov eax, dword [eax + 0xc]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
call fcn.005249d0
add esp, 4
cmp eax, edi
je 0x517a76
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x517a76
push edi
push eax
jmp 0x517a69
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x81
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
cmp dword [esi + 0x14], 0
mov ecx, dword [esi]
je 0x517cd6
cmp byte [ecx + 0x1e], 0
jne 0x517cd6
test edx, edx
jns 0x517c93
mov edx, dword [esi + 0xc]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esi + 0x14]
push dword [edx + eax*4 + 0x10]
lea eax, [edx + eax*4]
movsx edx, byte [eax + 1]
mov dword [esp + 0x38], eax
call fcn.005363f0
mov eax, dword [esp + 0x38]
add esp, 4
test edi, edi
jne 0x517ccc
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [esp + 0x18]
mov byte [eax + 0x159], 1
jmp 0x517d3c
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf6
inc dword [edi + 0xc]
mov eax, dword [esp + 0x18]
mov byte [eax + 0x159], 1
jmp 0x517d3c
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x34]
mov eax, dword [esp + 0x58]
push dword [ebp + 0x14]
not eax
push 0
shr eax, 0x1f
push eax
push dword [esp + 0x54]
push dword [esp + 0x34]
push dword [esp + 0x60]
call fcn.00516170
mov edx, dword [esp + 0x34]
xor eax, eax
cmp dword [esp + 0x78], eax
mov ecx, dword [esp + 0x38]
sete al
push eax
push dword [esp + 0x6c]
push 0
push dword [esp + 0x6c]
push dword [esp + 0x4c]
push dword [esp + 0x78]
call fcn.00515f00
add esp, 0x38
mov eax, dword [esp + 0x24]
test byte [eax + 0xc], 0x80
je 0x517d91
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x517d59
mov ecx, esi
call fcn.00536b60
test eax, eax
jne 0x517d91
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x517daa
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
cmp dword [esp + 0x5c], 0
je 0x517e6c
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x517dcd
mov ecx, esi
call fcn.00536b60
test eax, eax
jne 0x517e06
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 0x42
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x68]
cmp edx, eax
jle 0x517e1b
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x517e32
mov ecx, esi
call fcn.00536b60
test eax, eax
jne 0x517ed8
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
jmp 0x517ed8
cmp dword [ebp + 0xc], 0
je 0x517ed8
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x517e8a
mov ecx, esi
call fcn.00536b60
test eax, eax
jne 0x517ec3
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x64]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x68]
cmp edx, eax
jle 0x517ed8
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x14]
test byte [eax + 0x22], 0x10
jne 0x517fae
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x517ef9
mov ecx, esi
call fcn.00536b60
test eax, eax
jne 0x517f33
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
jmp 0x517f37
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x517fae
lea eax, [edx + 1]
mov dword [esp + 0x48], eax
nop dword [eax]
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x517f63
mov ecx, esi
call fcn.00536b60
test eax, eax
jne 0x517f9b
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov eax, dword [esp + 0x30]
inc dword [esp + 0x48]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x517f50
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
test byte [eax + 0xc], 0x80
je 0x51807d
cmp byte [edi + 0x13], 0
jne 0x51807d
cmp dword [edi + 0x1a4], 0
jne 0x51807d
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x517fea
mov ecx, esi
call fcn.00536b60
test eax, eax
jne 0x518022
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov edx, 1
mov ecx, esi
call fcn.005355d0
mov eax, dword [esi]
cmp byte [eax + 0x1e], 0
jne 0x51807d
mov edi, dword [esi + 0x28]
xor esi, esi
mov eax, dword [edi + 0x10]
test eax, eax
je 0x51804b
mov eax, dword [eax + 0x48]
test eax, eax
js 0x51805e
jmp 0x518050
mov eax, 0x3b9aca00
cmp byte [esi + str.rows_inserted], 0
je 0x51805e
inc esi
cmp esi, eax
jle 0x518050
mov ecx, edi
call fcn.00537f80
mov dword [edi + 0x14], str.rows_inserted
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], 0x1030a02
mov esi, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.0051cf40
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.00527810
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5180ec
mov edi, dword [esp + 0x40]
mov edx, eax
mov ecx, esi
call fcn.00510d00
mov ecx, dword [ebp + 0xc]
test esi, esi
je 0x5180e1
cmp ecx, dword [esi + 0xf0]
jb 0x5180e1
cmp ecx, dword [esi + 0xf4]
jae 0x5180e1
mov eax, dword [esi + 0xec]
mov edx, dword [ebp + 0x10]
mov dword [ecx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
mov ecx, esi
call fcn.0051d590
jmp 0x5180fe
push ecx
call fcn.00549d90
add esp, 4
jmp 0x5180f0
mov edi, dword [esp + 0x40]
mov edx, dword [ebp + 0x10]
mov ecx, esi
call fcn.0051d590
test esi, esi
je 0x51812c
test edi, edi
je 0x51812c
cmp edi, dword [esi + 0xf0]
jb 0x51812c
cmp edi, dword [esi + 0xf4]
jae 0x51812c
mov eax, dword [esi + 0xec]
mov dword [edi], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call fcn.00549d90
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret