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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
push esi
mov esi, ecx
mov dword [esp + 0x24], 0
push edi
mov edi, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x78], edi
cmp dword [esi + 0x24], 0
mov eax, dword [esi]
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x40], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov byte [esp + 0x22], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], eax
jne 0x505c58
cmp byte [eax + 0x51], 0
jne 0x505c58
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x504b4a
test dword [ecx + 4], 0x200
je 0x504b4a
cmp dword [ecx + 0x34], 0
jne 0x504b4a
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x54], edx
mov edx, ecx
mov dword [ecx + 0x1c], 0
mov ecx, eax
push 1
call fcn.0050dce0
add esp, 4
mov dword [esp + 0x1c], 0
mov edx, edi
mov ecx, esi
call fcn.004fce60
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x504f69
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 0x50]
call fcn.0050d4a0
mov ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
add ecx, ecx
mov edx, 0x12
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, esi
push 0
push dword [edi]
call fcn.004f55c0
add esp, 0xc
test eax, eax
jne 0x504f69
mov eax, dword [edi + 0x24]
mov edx, edi
shr eax, 7
mov ecx, esi
and eax, 0xffffff01
mov dword [esp + 0x80], eax
lea eax, [esp + 0x84]
push eax
push 0
push 0x7d
call fcn.005192f0
add esp, 0xc
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xc]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.004f8c40
test eax, eax
jne 0x504f69
push dword [esp + 0x84]
mov edx, edi
mov ecx, esi
call fcn.004fcec0
add esp, 4
test eax, eax
jne 0x504f69
mov ecx, esi
call fcn.00510c40
mov dword [esp + 0x14], eax
test eax, eax
je 0x504f69
cmp byte [esi + 0x12], 0
jne 0x504c1e
or dword [eax + 0x98], 0x20
cmp dword [esp + 0x1c], 0
jne 0x504c30
cmp dword [esp + 0x6c], 0
jne 0x504c30
xor edx, edx
jmp 0x504c35
mov edx, 1
push dword [esp + 0x24]
mov ecx, esi
call fcn.004fbba0
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x504c68
push dword [esp + 0x24]
mov edx, edi
mov ecx, esi
push dword [ebp + 0x10]
push dword [esp + 0x24]
call fcn.00508050
add esp, 0xc
test eax, eax
jne 0x505bea
mov edx, dword [esp + 0x24]
mov ecx, esi
push edi
call fcn.00504840
mov ecx, dword [esi + 0x2c]
add esp, 4
mov dword [esp + 0x64], eax
lea eax, [ecx + 1]
mov edx, eax
mov dword [esp + 0x5c], eax
movsx eax, word [edi + 0x2a]
inc eax
mov dword [esp + 0x34], edx
add eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [edi + 0x38], 0
je 0x504ca6
lea edx, [ecx + 2]
inc eax
mov dword [esp + 0x34], edx
mov dword [esi + 0x2c], eax
test dword [edi + 0x24], 0x440
lea eax, [edx + 1]
mov edx, dword [ebp + 0xc]
sete byte [esp + 0x23]
mov dword [esp + 0x4c], eax
test edx, edx
je 0x504e1e
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x504ce2
nop dword [eax]
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x504cd0
xor edx, edx
mov dword [esp + 0x2c], edx
test eax, eax
jle 0x504e1e
movzx eax, word [edi + 0x2a]
mov dword [esp + 0x7c], eax
cwde
xor edi, edi
test eax, eax
jle 0x504d9d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [eax + edx*8]
mov eax, dword [esp + 0x18]
mov dword [esp + 0xbc], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
nop dword [eax]
mov edx, dword [eax]
mov ecx, dword [ecx]
call fcn.004b8800
test eax, eax
je 0x504d51
mov eax, dword [esp + 0x30]
inc edi
mov edx, dword [esp + 0x7c]
add eax, 0x14
movsx ecx, dx
cmp edi, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xbc]
jl 0x504d20
mov edx, dword [esp + 0x2c]
jmp 0x504d9d
mov eax, dword [esp + 0xbc]
xor ecx, ecx
mov edx, dword [esp + 0x2c]
cmp edx, edi
mov esi, dword [esp + 0x18]
mov dword [eax + 4], edi
movzx eax, byte [esp + 0x23]
cmove ecx, eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x23], cl
mov ecx, edx
movsx eax, word [eax + 0x28]
cmp edi, eax
lea eax, [edi + edi*4]
cmovne ecx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x60]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x504f55
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x2a]
cwde
cmp edi, eax
jl 0x504e01
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + edx*8]
mov edx, str._ROWID_
mov ecx, edi
call fcn.004b8800
test eax, eax
je 0x504de6
mov edx, str.ROWID
mov ecx, edi
call fcn.004b8800
test eax, eax
je 0x504de6
mov edx, 0x586790
mov ecx, edi
call fcn.004b8800
test eax, eax
jne 0x505013
cmp byte [esp + 0x80], 0
jne 0x505013
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov byte [esp + 0x23], 0
mov ecx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x2c], edx
movzx eax, word [ecx + 0x2a]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x7c], eax
cmp edx, dword [ecx + 4]
jl 0x504cf8
cmp dword [esp + 0x1c], 0
je 0x5051b4
mov ecx, dword [esp + 0x14]
mov edx, 0xd
inc dword [esi + 0x2c]
mov edi, dword [esi + 0x2c]
mov eax, dword [ecx + 0x6c]
mov dword [esp + 0x7c], eax
inc eax
push eax
push 0
push edi
call fcn.004d44f0
mov edx, dword [esp + 0x28]
xor eax, eax
add esp, 0xc
mov byte [esp + 0x90], 0xd
cmp byte [esp + 0x23], al
mov ecx, esi
mov dword [esp + 0x94], edi
cmovne eax, dword [esp + 0x4c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa0], 0
movsx eax, word [eax + 0x2a]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x90]
push eax
call fcn.00515790
mov ecx, dword [esp + 0x9c]
add esp, 4
mov dword [esp + 0x44], ecx
test eax, eax
jne 0x504f69
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x51], 0
jne 0x504f69
cmp dword [esi + 0x24], 0
jne 0x504f69
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.004d4b40
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x14]
call fcn.004d4f00
cmp dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
jne 0x5050e2
mov eax, dword [esi + 8]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x504f1f
cmp dword [esi + 0x74], eax
jne 0x504f14
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x504f14
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.004d42a0
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x30], eax
cmp dword [ecx + 0x38], 0
je 0x505034
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x505036
mov eax, dword [esi]
cmp dword [edx], eax
je 0x504f4c
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x504f41
mov eax, dword [esp + 0x30]
jmp 0x505036
lea eax, [edi + edi*4]
push dword [ecx + eax*4]
push str.cannot_INSERT_into_generated_column___s_
push esi
call fcn.004b86d0
add esp, 0xc
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x78]
call fcn.004fb520
mov eax, dword [esp + 0x54]
test eax, eax
je 0x504f8d
mov edx, eax
mov ecx, esi
call fcn.004eaee0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x504fe0
mov edx, dword [eax]
test edx, edx
je 0x504fa4
mov ecx, esi
call fcn.004eaee0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 4]
test edx, edx
je 0x504fb5
mov ecx, esi
call fcn.004e9db0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
test edx, edx
je 0x504fc6
mov ecx, esi
call fcn.004eaee0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x504fd7
mov ecx, esi
call fcn.004e9db0
mov eax, dword [ebp + 0x14]
mov edx, eax
mov ecx, esi
call fcn.004b52d0
test edi, edi
je 0x504ff2
push 1
mov edx, edi
mov ecx, esi
call fcn.0050dce0
add esp, 4
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.004fb1a0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x50500d
mov edx, eax
mov ecx, esi
call fcn.004b52d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
push dword [esp + 0x80]
push str.table__S_has_no_column_named__s
push esi
call fcn.004b86d0
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x504f69
xor edx, edx
mov edi, 1
cmp eax, edi
jle 0x5050ce
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov cl, byte [eax + 0x51]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x23], cl
dec eax
test edi, edi
cmovns eax, edi
test cl, cl
je 0x505065
mov eax, 0x5ab14c
jmp 0x505072
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x60
jne 0x5050a3
mov ecx, dword [esp + 0x24]
cmp dword [eax + 0xc], ecx
jne 0x5050ad
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x18]
cmp ecx, dword [eax + 0x1c]
je 0x5050e2
mov eax, dword [eax + 8]
test eax, eax
je 0x5050ad
cmp ecx, dword [eax + 0x2c]
je 0x5050e2
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x505095
jmp 0x5050ad
cmp cl, 0xa5
jne 0x5050ad
cmp dword [eax + 0x10], edx
je 0x5050e2
mov eax, dword [esp + 0x30]
inc edi
mov cl, byte [esp + 0x23]
cmp edi, eax
jl 0x505054
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x505202
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x505206
mov edx, dword [esi + 0x28]
mov ecx, esi
mov byte [esp + 0x22], 1
mov dword [esp + 0x40], edx
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
call fcn.004f0b60
mov edi, eax
call fcn.004f0b60
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, 0x64
mov dword [esp + 0x38], eax
call fcn.004d4620
mov eax, dword [esp + 0x9c]
mov edx, 0xe
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x48], eax
call fcn.004d45c0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, 0x5b
mov esi, eax
push edi
push dword [esp + 0x30]
push dword [esp + 0x4c]
call fcn.004d44f0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, 0x78
push dword [esp + 0x30]
push dword [esp + 0x44]
call fcn.004d4620
push dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, 0x79
push edi
push dword [esp + 0x50]
call fcn.004d44f0
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov edx, esi
call fcn.004d4690
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.004d4f00
mov esi, dword [esp + 0x60]
mov edx, edi
mov ecx, esi
call fcn.004f0b80
mov edx, dword [esp + 0x30]
call fcn.004f0b80
mov edi, dword [esp + 0x2c]
jmp 0x505202
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], esi
mov dword [esp + 0x40], 0xffffffff
test eax, eax
je 0x5051fc
mov edi, dword [eax]
lea ecx, [esp + 0x90]
mov edx, eax
mov dword [esp + 0x2c], edi
call fcn.004e89e0
test eax, eax
jne 0x504f69
jmp 0x505202
xor edi, edi
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 0xc], 0
jne 0x50525b
test edi, edi
jle 0x50525b
movsx eax, word [ecx + 0x28]
mov dword [esp + 0x38], eax
test eax, eax
js 0x50525b
test byte [ecx + 0x24], 0x60
je 0x50525b
lea edx, [eax - 1]
test edx, edx
js 0x50525b
mov eax, dword [esp + 0x18]
lea ecx, [edx + 1]
lea ecx, [edx + ecx*4]
mov eax, dword [eax + 4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x38]
nop dword [eax]
test byte [ecx], 0x60
lea eax, [eax - 1]
lea ecx, [ecx - 0x14]
cmove eax, dword [esp + 0x38]
sub edx, 1
mov dword [esp + 0x38], eax
jns 0x505240
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
movsx edi, word [eax + 0x2a]
test edi, edi
jle 0x50528c
mov ecx, dword [eax + 4]
mov edx, edi
add ecx, 0x10
xor esi, esi
test byte [ecx], 0x62
lea eax, [esi + 1]
lea ecx, [ecx + 0x14]
cmove eax, esi
mov esi, eax
sub edx, 1
jne 0x505271
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x60]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
test eax, eax
jne 0x5052c0
test edx, edx
je 0x5052dc
sub edi, dword [esp + 0x28]
cmp edx, edi
je 0x5052dc
push edx
push edi
push eax
push dword [esp + 0x84]
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.004b86d0
add esp, 0x18
jmp 0x504f69
mov eax, dword [eax + 4]
cmp edx, eax
je 0x5052dc
push eax
push edx
push str._d_values_for__d_columns
push esi
call fcn.004b86d0
add esp, 0x10
jmp 0x504f69
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x505319
cmp byte [esi + 0x12], 0
jne 0x505319
cmp dword [esi + 0x78], 0
jne 0x505319
inc dword [esi + 0x2c]
mov edx, 0x45
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x14]
push eax
push 0
mov dword [esp + 0x94], eax
call fcn.004d4620
add esp, 8
cmp dword [esp + 0x88], 0
jne 0x5053af
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
mov edx, edi
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x61
mov ecx, esi
call fcn.00507d30
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], eax
push 0
lea eax, [eax*4 + 8]
push eax
call fcn.004b55c0
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x504f69
mov edi, dword [edi + 8]
xor edx, edx
cmp dword [esp + 0x28], edx
jle 0x5053a5
nop dword [eax]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + edx*4], eax
inc edx
movzx ecx, word [edi + 0x34]
mov eax, dword [esi + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x2c], eax
mov edi, dword [edi + 0x14]
cmp edx, dword [esp + 0x28]
jl 0x505380
jmp 0x5053a8
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
mov dword [ecx + edx*4], eax
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x505425
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 0
je 0x5053cc
push dword [eax]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x504f60
cmp dword [eax + 0xc], 0
je 0x5053e5
push str.cannot_UPSERT_a_view
push esi
call fcn.004b86d0
add esp, 8
jmp 0x504f69
mov edx, dword [edi]
mov ecx, esi
call fcn.004fa050
test eax, eax
jne 0x504f69
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [edx + 0x34], ecx
cmp dword [edi], 0
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x14], edx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], eax
je 0x505425
push edi
mov ecx, esi
call fcn.0051c640
add esp, 4
cmp byte [esp + 0x22], 0
je 0x505450
push dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov edx, 0x25
mov ecx, edi
call fcn.004d45c0
mov dword [esp + 0x78], eax
add esp, 4
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x70], eax
jmp 0x505498
cmp dword [esp + 0x1c], 0
je 0x505498
push dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov edx, 0xe
mov ecx, edi
call fcn.004d45c0
mov dword [esp + 0x74], eax
add esp, 4
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
test eax, eax
js 0x505498
mov ecx, dword [esp + 0x44]
mov edx, 0x4d
push dword [esp + 0x34]
add ecx, eax
push ecx
mov ecx, edi
call fcn.004d4620
add esp, 8
mov ecx, dword [esp + 0x18]
xor edx, edx
mov edi, dword [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], edx
cmp ax, word [ecx + 0x2a]
jge 0x505670
mov dword [esp + 0x3c], eax
nop
movsx eax, word [ecx + 0x28]
cmp edx, eax
jne 0x5054dc
mov ecx, dword [esp + 0x14]
mov edx, 0x49
push edi
call fcn.004d45c0
jmp 0x50564e
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x28], ecx
movzx eax, word [ecx + 0x10]
test al, 0x62
je 0x5055a1
inc dword [esp + 0x30]
test al, 0x20
je 0x505503
dec edi
jmp 0x505655
test al, 0x40
je 0x505529
test byte [esp + 0x84], 1
je 0x505655
mov ecx, dword [esp + 0x14]
mov edx, 0x49
push edi
call fcn.004d45c0
jmp 0x50564e
cmp dword [ebp + 0xc], 0
jne 0x5055a7
cmp byte [esi + 0x17], 0
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
je 0x50559a
mov dword [esp + 0xa8], 0
mov ecx, 2
mov dword [esp + 0x98], 0x4eaf90
mov dword [esp + 0x94], fcn.004eb0b0
mov word [esp + 0xa4], cx
test eax, eax
je 0x50558b
mov edx, eax
lea ecx, [esp + 0x90]
call fcn.004e6330
cmp word [esp + 0xa4], 0
mov eax, dword [esp + 0x28]
je 0x50559a
push edi
mov edx, eax
mov ecx, esi
call fcn.004ef110
jmp 0x50564e
mov edx, eax
jmp 0x505646
cmp dword [ebp + 0xc], 0
je 0x5055e2
mov edx, dword [ebp + 0xc]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x5055d4
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, 4
nop
cmp dword [ecx], esi
je 0x5055cc
inc eax
add ecx, 8
cmp eax, edx
jl 0x5055c0
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
cmp eax, edx
jge 0x50552f
mov edx, dword [esp + 0x24]
jmp 0x5055f3
cmp dword [esp + 0x2c], 0
je 0x50552f
mov eax, edx
sub eax, dword [esp + 0x30]
cmp byte [esp + 0x22], 0
je 0x505613
mov ecx, dword [esp + 0x14]
mov edx, 0x59
push edi
push eax
push dword [esp + 0x48]
call fcn.004d44f0
add esp, 0xc
jmp 0x505651
cmp dword [esp + 0x1c], 0
je 0x50563b
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x4c]
je 0x505655
add eax, ecx
mov edx, 0x4e
mov ecx, dword [esp + 0x14]
push edi
push eax
call fcn.004d4620
add esp, 8
jmp 0x505651
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x54]
mov edx, dword [eax + edx*4 + 4]
push edi
mov ecx, esi
call fcn.004ef2d0
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
inc edx
add dword [esp + 0x3c], 0x14
inc edi
mov dword [esp + 0x24], edx
movsx eax, word [ecx + 0x2a]
cmp edx, eax
jl 0x5054c0
dec dword [esi + 0x38]
test byte [esp + 0x84], 1
mov eax, dword [esi + 0x38]
mov dword [esp + 0x44], eax
je 0x505810
movsx edx, word [ecx + 0x2a]
mov ecx, esi
inc edx
call fcn.004f0ba0
mov edi, eax
mov eax, dword [esp + 0x38]
push edi
test eax, eax
jns 0x5056b7
mov ecx, dword [esp + 0x18]
mov edx, 0x45
push 0xffffffffffffffff
call fcn.004d4620
add esp, 8
jmp 0x505758
cmp byte [esp + 0x26], 0
je 0x5056d6
mov ecx, dword [esp + 0x18]
mov edx, 0x59
push eax
push dword [esp + 0x48]
call fcn.004d44f0
add esp, 0xc
jmp 0x5056eb
lea edx, [eax + eax*4]
mov ecx, esi
mov eax, dword [esp + 0x58]
mov edx, dword [eax + edx*4 + 4]
call fcn.004ef2d0
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, 0x33
push edi
call fcn.004d45c0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, 0x45
mov dword [esp + 0x28], eax
push edi
push 0xffffffffffffffff
call fcn.004d4620
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 0x6c]
test ecx, ecx
jns 0x505727
lea ecx, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x505736
mov eax, 0x5ab14c
jmp 0x505743
mov eax, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, 0xf
push edi
call fcn.004d45c0
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [edi + 1]
mov edx, 0x4d
movsx eax, word [eax + 0x2c]
dec eax
push eax
push ecx
push dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
call fcn.004d44f0
mov ecx, dword [esp + 0x24]
add esp, 0xc
test byte [ecx + 0x24], 0x60
je 0x505797
push ecx
lea edx, [edi + 1]
mov ecx, esi
call fcn.00504660
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp dword [esp + 0x88], 0
jne 0x5057b3
lea eax, [edi + 1]
mov edx, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.00504570
add esp, 4
mov edx, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x44]
push dword [ebp + 0x10]
movsx eax, word [edx + 0x2a]
sub ecx, eax
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x7c]
mov ecx, esi
push 1
push 0
push 0x7d
call fcn.00519c80
mov ecx, dword [esp + 0x34]
add esp, 0x1c
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x505805
test edi, edi
je 0x505810
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x505810
movzx eax, al
mov dword [esi + eax*4 + 0x94], edi
inc byte [esi + 0x13]
jmp 0x505810
cmp eax, dword [esi + 0x1c]
jle 0x505810
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
cmp dword [esp + 0x88], 0
jne 0x505acf
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je 0x505845
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
mov edx, 0x48
push 0
call fcn.004d4620
mov edi, dword [esp + 0x20]
add esp, 8
mov ecx, dword [edi + 0x38]
jmp 0x505849
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test eax, eax
js 0x50591b
cmp byte [esp + 0x22], 0
je 0x505878
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, 0x59
push eax
push dword [esp + 0x48]
call fcn.004d44f0
add esp, 0xc
jmp 0x5058a5
cmp dword [esp + 0x1c], 0
jne 0x5058a5
mov edx, dword [esp + 0x54]
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 + 4]
cmp byte [edx], 0x77
jne 0x505897
test ecx, ecx
je 0x505928
push dword [esp + 0x34]
mov ecx, esi
call fcn.004ef2d0
add esp, 4
cmp dword [edi + 0x38], 0
mov edi, dword [esp + 0x14]
mov ecx, edi
jne 0x5058ee
push dword [esp + 0x34]
mov edx, 0x33
call fcn.004d45c0
add esp, 4
mov edx, 0x78
mov ecx, edi
mov esi, eax
push dword [esp + 0x64]
push dword [esp + 0x38]
push dword [esp + 0x50]
call fcn.004d44f0
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.004d4f00
mov esi, dword [esp + 0x60]
jmp 0x505906
mov eax, dword [edi + 0x6c]
mov edx, 0x32
add eax, 2
push eax
push dword [esp + 0x38]
call fcn.004d4620
add esp, 8
push dword [esp + 0x34]
mov edx, 0xf
mov ecx, edi
call fcn.004d45c0
add esp, 4
jmp 0x505963
test ecx, ecx
jne 0x50594c
cmp byte [esp + 0x80], cl
jne 0x50594c
push dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
mov edx, 0x78
push dword [esp + 0x38]
push dword [esp + 0x50]
call fcn.004d44f0
add esp, 0xc
mov edi, 1
jmp 0x505965
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, 0x48
push 0
call fcn.004d4620
add esp, 8
xor edi, edi
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x505982
push dword [esp + 0x34]
mov ecx, dword [esi + 8]
mov edx, 0x97
push eax
call fcn.004d4620
add esp, 8
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x24], 0x60
je 0x50599f
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.00504660
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp dword [ecx + 0x38], 0
je 0x505a2c
mov edi, dword [ecx + 0x40]
test edi, edi
je 0x5059bf
mov eax, dword [esp + 0x50]
cmp dword [edi], eax
je 0x5059bf
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x5059b4
mov edx, ecx
mov ecx, esi
call fcn.0051ea50
mov ecx, dword [esp + 0x14]
mov edx, 0xa
push 0xfffffffffffffff4
push edi
mov edi, dword [esp + 0x20]
push dword [esp + 0x64]
movsx eax, word [edi + 0x2a]
add eax, 2
push eax
push 1
call fcn.004d48b0
mov eax, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [eax + 0x6c]
test eax, eax
jle 0x505a19
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xb
movzx edx, cx
mov ecx, 2
cmove edx, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi + 0x74]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x505ad3
push dword [ebp + 0x14]
lea eax, [esp + 0x84]
mov edx, ecx
push 0
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov ecx, esi
push dword [ebp + 0x10]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [esp + 0x78]
push dword [esp + 0x88]
push dword [esp + 0x6c]
push dword [esp + 0x80]
call fcn.00505ca0
mov edx, dword [esp + 0x44]
add esp, 0x2c
mov ecx, esi
push 0
push 0
push dword [esp + 0x64]
push 0
call fcn.005031f0
add esp, 0x10
cmp dword [esp + 0x80], 0
je 0x505aa4
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xd8], 0
je 0x505aa4
xor eax, eax
jmp 0x505aa9
mov eax, 1
push eax
push edi
mov edi, dword [esp + 0x20]
mov ecx, esi
push 0
push dword [esp + 0x64]
mov edx, edi
push dword [esp + 0x6c]
push dword [esp + 0x7c]
push dword [esp + 0x60]
call fcn.00507af0
add esp, 0x1c
jmp 0x505ad3
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x505af2
mov ecx, dword [esp + 0x14]
mov edx, 0x52
push 1
push eax
call fcn.004d4620
add esp, 8
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x505b20
push dword [esp + 0x44]
movsx eax, word [edi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x54]
sub ecx, eax
sub ecx, 2
push ecx
push edi
push 2
push 0
push 0x7d
mov ecx, esi
call fcn.00519c80
add esp, 0x1c
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
not edx
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x505b42
push edx
mov edx, edi
call fcn.004d4bb0
add esp, 4
jmp 0x505b4b
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x22], 0
je 0x505ba8
push dword [esp + 0x70]
mov edx, 5
mov ecx, edi
push dword [esp + 0x44]
call fcn.004d4620
mov eax, dword [edi]
add esp, 8
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x505b7b
mov eax, 0x5ab14c
jmp 0x505b90
mov ecx, dword [esp + 0x74]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
push dword [esp + 0x40]
mov dword [eax + 8], edx
mov ecx, edi
mov edx, 0x74
call fcn.004d45c0
add esp, 4
jmp 0x505bee
cmp dword [esp + 0x1c], 0
je 0x505bee
mov edx, dword [esp + 0x70]
mov ecx, edi
call fcn.004d4690
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x505bcf
mov eax, 0x5ab14c
mov dword [eax + 8], edx
jmp 0x505bee
mov ecx, dword [esp + 0x74]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x505bee
mov edi, dword [esp + 0x14]
cmp byte [esi + 0x12], 0
jne 0x505c07
cmp dword [esi + 0x78], 0
jne 0x505c07
cmp dword [esi + 0x70], 0
je 0x505c07
mov ecx, esi
call fcn.00504920
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x504f69
push 1
push eax
mov edx, 0x50
mov ecx, edi
call fcn.004d4620
add esp, 8
mov edx, 1
mov ecx, edi
call fcn.004d65d0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x504f69
mov ecx, dword [edi + 0x74]
mov edx, str.rows_inserted
push 0
push 1
push 0xffffffffffffffff
call fcn.004d3840
jmp 0x504f66
mov edi, dword [ebp + 8]
jmp 0x504f6d