Function at 0x57c0b3
Capabilities:
Reference sql statements

Disassembly:
push 0x138
mov eax, 0x61b850
call fcn.005cb937
mov eax, dword [ebp + 8]
push 1
mov edi, ecx
push eax
xor ebx, ebx
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x100], edx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], ebx
call fcn.0057c9a8
push edi
mov dword [ebp - 4], ebx
call fcn.0057bfdf
cmp dword [ebp - 0x38], ebx
jne 0x57c110
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004055c2
xor eax, eax
call fcn.005cb9ba
ret 4
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00581ad8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x57c130
lea eax, [ebp - 0x48]
push eax
push str.SELECT__FROM_msgSource_WHERE__nIdxLink_s
mov ecx, 0x400
lea edx, [ebp - 0x30]
call fcn.0054aa9f
pop ecx
pop ecx
push ebx
mov esi, edi
mov byte [ebp - 4], 2
call fcn.0057df31
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x108], esp
mov esi, 0x641040
push esi
call fcn.0040518c
mov ecx, edi
call fcn.00579249
cmp eax, ebx
jne 0x57c193
push edi
call fcn.0057df8f
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004055c2
lea edi, [ebp - 0xf4]
call fcn.00581b18
jmp 0x57c0fb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x108], esp
push esi
call fcn.0040518c
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00581b63
push edi
call fcn.0057df8f
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0xc8]
push 0x18
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x100]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0xf8], ebx
je 0x57c210
push dword [ebp - 0xf8]
lea ebx, [ebp - 0xf8]
call fcn.004a3b00
mov edi, dword [ebp - 0x104]
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov dword [ebp - 0xfc], 1
xor ebx, ebx
jmp 0x57c215
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [ebp - 0x84]
call fcn.0040518c
mov dword [ebp - 4], 5
test byte [ebp - 0xfc], 1
je 0x57c246
mov ecx, dword [ebp - 0xf8]
and dword [ebp - 0xfc], 0xfffffffe
add ecx, 0xfffffff0
call fcn.00405172
mov ecx, dword [ebp - 0x100]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [ebp - 0x68]
call fcn.0040518c
push edi
mov byte [ebp - 4], 6
call fcn.0057e663
push edi
mov dword [ebp - 0x100], eax
call fcn.0057e6da
push edi
call fcn.0057e751
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10c], esp
push str.BinData
mov dword [ebp - 0xf8], eax
call fcn.0040518c
lea eax, [edi + 0xa0]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00577ca8
mov byte [ebp - 4], 7
cmp dword [ebp - 0x100], ebx
jne 0x57c2d5
cmp dword [ebp - 0xf8], ebx
jne 0x57c2dd
lea eax, [ebp - 0x84]
push eax
call fcn.00581f6b
pop ecx
lea eax, [ebp - 0x68]
push eax
call fcn.00581f6b
pop ecx
jmp 0x57c486
cmp dword [ebp - 0xf8], ebx
je 0x57c32e
cmp dword [ebp - 0xf8], 1
je 0x57c32e
lea esi, [ebp - 0x144]
call fcn.00578e34
push eax
mov byte [ebp - 4], 0xa
push dword [edi + 0xf8]
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x100]
lea edi, [ebp - 0x84]
call fcn.00576d87
add esp, 0xc
push ebx
push 1
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004055c2
mov esi, 0x641040
jmp 0x57c3bb
push esi
lea ecx, [ebp - 0x144]
call fcn.0040518c
mov byte [ebp - 4], 8
cmp dword [ebp - 0xf8], 1
jne 0x57c34f
lea eax, [ebp - 0xa0]
jmp 0x57c366
push esi
lea ecx, [ebp - 0x128]
call fcn.0040518c
mov byte [ebp - 4], 9
or dword [ebp - 0xfc], 2
lea ecx, [ebp - 0x144]
push ecx
push ebx
push dword [ebp - 0x100]
mov ecx, eax
lea edi, [ebp - 0x84]
call fcn.00576d87
add esp, 0xc
mov dword [ebp - 4], 8
test byte [ebp - 0xfc], 2
je 0x57c3a9
and dword [ebp - 0xfc], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0x128]
call fcn.004055c2
push ebx
push 1
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 7
call fcn.004055c2
cmp dword [ebp - 0xf8], ebx
je 0x57c403
cmp dword [ebp - 0xf8], 1
je 0x57c403
lea esi, [ebp - 0x128]
call fcn.00578e34
push eax
mov eax, dword [ebp - 0x104]
mov byte [ebp - 4], 0xd
push dword [eax + 0xf8]
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x100]
lea edi, [ebp - 0x68]
call fcn.00576d87
add esp, 0xc
mov ecx, esi
jmp 0x57c47a
push esi
lea ecx, [ebp - 0x144]
call fcn.0040518c
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xf8], 1
jne 0x57c424
lea eax, [ebp - 0xa0]
jmp 0x57c43b
push esi
lea ecx, [ebp - 0x128]
call fcn.0040518c
mov byte [ebp - 4], 0xc
or dword [ebp - 0xfc], 4
lea ecx, [ebp - 0x144]
push ecx
push ebx
push dword [ebp - 0x100]
mov ecx, eax
lea edi, [ebp - 0x68]
call fcn.00576d87
add esp, 0xc
mov dword [ebp - 4], 0xb
test byte [ebp - 0xfc], 4
je 0x57c474
push ebx
push 1
lea ecx, [ebp - 0x128]
call fcn.004055c2
lea ecx, [ebp - 0x144]
push ebx
push 1
mov byte [ebp - 4], 7
call fcn.004055c2
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x108], ebx
je 0x57c54c
push str.UPDATE_msgSource_SET__strText
call fcn.0040556d
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403e6f
mov edi, 0x647d7c
push edi
call fcn.005c3140
pop ecx
push eax
push edi
lea esi, [ebp - 0x30]
call fcn.00403f16
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x144]
push 0x66b4cc
push eax
call fcn.004049b4
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 4], 0xe
call fcn.00404922
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.00403e6f
push ebx
push 1
lea ecx, [ebp - 0x128]
call fcn.004055c2
push ebx
push 1
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 7
call fcn.004055c2
mov esi, str._WHERE__nIdxLink
push esi
call fcn.005c3140
pop ecx
push eax
push esi
lea esi, [ebp - 0x30]
call fcn.00403f16
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.00403e6f
jmp 0x57c651
push str.INSERT_INTO_msgSource___nIdxLink___strText
call fcn.0040556d
mov esi, str.___strHeader
push esi
call fcn.005c3140
pop ecx
push eax
push esi
lea esi, [ebp - 0x30]
call fcn.00403f16
mov esi, str.__VALUES__
push esi
call fcn.005c3140
pop ecx
push eax
push esi
lea esi, [ebp - 0x30]
call fcn.00403f16
push 0x66b538
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00404922
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00403e6f
push ebx
push 1
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 7
call fcn.004055c2
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x84]
push eax
mov ecx, esi
call fcn.00403e6f
mov edi, 0x647d7c
push edi
call fcn.005c3140
pop ecx
push eax
push edi
call fcn.00403f16
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x144]
push 0x66b538
push eax
call fcn.004049b4
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 4], 0x11
call fcn.00404922
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00403e6f
push ebx
push 1
lea ecx, [ebp - 0x128]
call fcn.004055c2
push ebx
push 1
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 7
call fcn.004055c2
mov esi, 0x64164c
push esi
call fcn.005c3140
pop ecx
push eax
push esi
lea esi, [ebp - 0x30]
call fcn.00403f16
mov esi, dword [ebp - 0x104]
push 1
call fcn.0057df31
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10c], esp
push 0x641040
call fcn.0040518c
mov ecx, esi
call fcn.00579249
cmp eax, ebx
jne 0x57c6d9
xor esi, esi
push dword [ebp - 0x104]
call fcn.0057df8f
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0xa0]
call fcn.004055c2
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.004055c2
push ebx
push edi
lea ecx, [ebp - 0x84]
call fcn.004055c2
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.004055c2
lea edi, [ebp - 0xf4]
call fcn.00581b18
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004055c2
mov eax, esi
jmp 0x57c108
lea eax, [ebp - 0x30]
push eax
lea ebx, [ebp - 0xf4]
call fcn.00581b3f
xor esi, esi
inc esi
xor ebx, ebx
jmp 0x57c680