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

Disassembly:
push 0xffffffffffffffff
push 0x17f26c1
mov eax, dword fs:[0]
push eax
mov eax, 0x1878
call fcn.017b03b0
mov eax, dword [0x1845170]
xor eax, esp
mov dword [esp + 0x1874], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1845170]
xor eax, esp
push eax
lea eax, [esp + 0x188c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x189c]
push 0x180ffc4
mov dword [esp + 0x18], ebx
call fcn.0176ca30
add esp, 4
cmp dword [ebx + 0x1c], 0x10
jb 0x178ff02
mov eax, dword [ebx + 8]
jmp 0x178ff05
lea eax, [ebx + 8]
push eax
push str._QUERY_OF___s_
call fcn.0176ca30
push 0x180ff7c
call fcn.0176ca30
add esp, 0xc
push 0xe
mov esi, 0xf
xor edi, edi
push str._WITH__NOLOCK_
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
call fcn.01667500
mov dword [esp + 0x1894], edi
push 1
push 0x180d3ec
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
call fcn.01667500
mov byte [esp + 0x1894], 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
mov byte [esp + 0x1894], 2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
lea esi, [ebx + 0xe4]
push ecx
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.0178cd10
mov edx, dword [esp + 0x24]
cmp edx, edi
mov eax, dword [esi + 4]
je 0x17904b0
cmp edx, esi
jne 0x17904b0
mov ecx, dword [esp + 0x28]
cmp ecx, eax
sete al
test al, al
sete al
test al, al
je 0x1790179
cmp ecx, dword [edx + 4]
jne 0x178ffda
call fcn.0178aa00
mov eax, dword [ecx + 0x4c]
cmp eax, edi
lea ebp, [ecx + 0x48]
je 0x1790187
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1790187
push str.WHERE
lea ecx, [esp + 0xc8c]
push 0xc00
push ecx
call fcn.0167a070
add esp, 0xc
test eax, eax
je 0x1790027
call fcn.0176dcc0
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cmp esi, ecx
ja 0x1790143
mov ebx, ecx
cmp esi, ebx
ja 0x1790143
nop
cmp ebp, ebp
jne 0x1790143
cmp esi, ebx
sete al
test al, al
sete al
test al, al
je 0x1790148
cmp esi, ecx
jae 0x179013e
mov eax, 0x10
cmp dword [esi + 0x50], eax
jb 0x1790071
mov ecx, dword [esi + 0x3c]
jmp 0x1790074
lea ecx, [esi + 0x3c]
cmp dword [esi + 0x18], eax
lea edi, [esi + 4]
jb 0x1790080
mov eax, dword [edi]
jmp 0x1790082
mov eax, edi
push ecx
push eax
lea edx, [esp + 0xc90]
push edx
push str._s_s_s
mov eax, edx
push 0xc00
push eax
call fcn.0167a070
add esp, 0x18
test eax, eax
je 0x17900aa
call fcn.0176dcc0
cmp dword [esp + 0x48], 0
jne 0x17900d6
cmp dword [esi + 0x18], 0x10
jb 0x17900b9
mov edi, dword [edi]
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x17900c0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x3c]
call fcn.01667500
cmp esi, dword [ebp + 8]
jae 0x179013e
mov eax, dword [ebp + 8]
cmp dword [ebp + 4], eax
mov dword [esp + 0x1c], 0
ja 0x1790143
lea ecx, [eax - 0x54]
cmp ecx, eax
mov edx, ebp
mov dword [esp + 0x20], eax
ja 0x179013e
cmp ecx, dword [ebp + 4]
jb 0x179013e
add eax, 0xffffffac
cmp eax, dword [edx + 8]
jae 0x179013e
cmp esi, eax
je 0x1790148
lea ecx, [esp + 0xc88]
push ecx
push str._s_AND
mov edx, ecx
push 0xc00
push edx
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x179012f
call fcn.0176dcc0
mov ecx, dword [ebp + 8]
cmp esi, ecx
jae 0x179013e
add esi, 0x54
jmp 0x1790040
call fcn.0178ace0
call fcn.0178ad50
lea eax, [esp + 0xc88]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1790152
mov ebx, dword [esp + 0x14]
sub eax, edx
push eax
lea eax, [esp + 0xc8c]
push eax
lea ecx, [ebx + 0xc8]
call fcn.01667500
xor edi, edi
jmp 0x1790187
test byte [ebx + 0xf4], 0x11
je 0x1790187
call fcn.0176dcc0
test byte [ebx + 0xf4], 1
je 0x17904ba
cmp dword [ebx + 0xdc], edi
jbe 0x17904b5
push 0xbff
lea ecx, [esp + 0xc8d]
push 0
push ecx
mov byte [esp + 0xc94], 0
call fcn.017b03e0
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0xe8]
mov esi, dword [eax]
add esp, 0xc
add edi, 0xe4
mov edx, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edx
jmp 0x17901e5
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add eax, 0xe4
cmp edi, eax
jne 0x17904b0
cmp esi, dword [esp + 0x20]
sete al
test al, al
sete al
test al, al
je 0x17904ba
test edi, edi
je 0x17904b0
cmp esi, dword [edi + 4]
je 0x178ffd5
mov eax, dword [esi + 0xc]
test eax, eax
je 0x179049b
cmp eax, 1
je 0x179049b
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x1c], 0x10
jb 0x179023e
mov eax, dword [eax + 8]
jmp 0x1790241
add eax, 8
push eax
push str.UPDATE__s_SET
lea eax, [esp + 0x90]
push 0xc00
push eax
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x1790265
call fcn.0176dcc0
cmp esi, dword [edi + 4]
je 0x178ffd5
lea ebx, [esi + 0x10]
mov esi, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
cmp esi, eax
lea ebp, [ebx + 0x38]
ja 0x1790143
mov ecx, eax
cmp esi, ecx
mov dword [esp + 0x18], ecx
ja 0x1790143
cmp ebp, ebp
jne 0x1790143
cmp esi, ecx
je 0x17903db
cmp esi, eax
jae 0x179013e
mov eax, 0x10
cmp dword [esi + 0x50], eax
jb 0x17902b7
mov ecx, dword [esi + 0x3c]
jmp 0x17902ba
lea ecx, [esi + 0x3c]
cmp dword [esi + 0x18], eax
lea edi, [esi + 4]
jb 0x17902c6
mov eax, dword [edi]
jmp 0x17902c8
mov eax, edi
push ecx
push eax
lea ecx, [esp + 0x90]
push ecx
push str._s_s_s
mov edx, ecx
push 0xc00
push edx
call fcn.0167a070
add esp, 0x18
test eax, eax
je 0x17902f0
call fcn.0176dcc0
mov ecx, 0x10
cmp dword [esi + 0x50], ecx
jb 0x17902ff
mov eax, dword [esi + 0x3c]
jmp 0x1790302
lea eax, [esi + 0x3c]
cmp dword [esi + 0x18], ecx
jb 0x1790309
mov edi, dword [edi]
push eax
push edi
lea eax, [esp + 0xc90]
push eax
push str._s_s_s
mov ecx, eax
push 0xc00
push ecx
call fcn.0167a070
add esp, 0x18
test eax, eax
je 0x1790331
call fcn.0176dcc0
cmp esi, dword [ebp + 8]
jae 0x179013e
mov eax, dword [ebp + 8]
cmp dword [ebp + 4], eax
mov dword [esp + 0x2c], 0
ja 0x1790143
lea ecx, [eax - 0x54]
cmp ecx, eax
mov edx, ebp
mov dword [esp + 0x30], eax
ja 0x179013e
cmp ecx, dword [ebp + 4]
jb 0x179013e
add eax, 0xffffffac
cmp eax, dword [edx + 8]
jae 0x179013e
cmp esi, eax
je 0x17903db
lea edx, [esp + 0x88]
push edx
push 0x180ff50
mov eax, edx
push 0xc00
push eax
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x179039e
call fcn.0176dcc0
lea ecx, [esp + 0xc88]
push ecx
push 0x180ff50
mov edx, ecx
push 0xc00
push edx
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x17903c4
call fcn.0176dcc0
mov eax, dword [ebp + 8]
cmp esi, eax
jae 0x179013e
mov ecx, dword [esp + 0x18]
add esi, 0x54
jmp 0x1790290
lea eax, [esp + 0x88]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x17903e5
sub eax, edx
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, ebx
call fcn.01667500
lea eax, [esp + 0xc88]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1790410
sub eax, edx
push eax
lea ecx, [esp + 0xc8c]
lea esi, [ebx + 0x1c]
push ecx
mov ecx, esi
call fcn.01667500
mov edi, dword [esp + 0x14]
cmp dword [edi + 0xdc], 0
jbe 0x179045d
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x58]
push edx
mov ecx, ebx
call fcn.01673830
push 0xffffffffffffffff
push 0
add edi, 0xc8
push edi
mov ecx, ebx
call fcn.01673830
mov eax, 0x10
cmp dword [esi + 0x18], eax
jb 0x179046c
mov esi, dword [esi + 4]
jmp 0x179046f
add esi, 4
cmp dword [ebx + 0x18], eax
jb 0x1790479
mov eax, dword [ebx + 4]
jmp 0x179047c
lea eax, [ebx + 4]
push esi
push eax
push str._s___s_
call fcn.0176ca30
add esp, 0xc
mov byte [esp + 0x88], 0
mov byte [esp + 0xc88], 0
lea ecx, [esp + 0x24]
call fcn.0178aaa0
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x17901e1
call fcn.0178a990
call fcn.0176dcc0
mov ebx, dword [esp + 0x14]
test byte [ebx + 0xf4], 1
je 0x17906c1
cmp dword [ebx + 0xdc], 0
jbe 0x17906bc
cmp dword [ebx + 0x1c], 0x10
jb 0x17904e3
mov eax, dword [ebx + 8]
jmp 0x17904e6
lea eax, [ebx + 8]
push eax
push str.UPDATE__s_SET
lea eax, [esp + 0x90]
push 0xc00
push eax
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x179050a
call fcn.0176dcc0
mov eax, dword [ebx + 0xe8]
mov edi, dword [eax]
mov ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x1790520
lea ecx, [ebx + 0xe4]
cmp ecx, ecx
jne 0x17904b0
cmp edi, dword [esp + 0x20]
sete al
test al, al
sete al
test al, al
je 0x1790637
cmp edi, dword [ecx + 4]
je 0x178ffd5
cmp dword [edi + 0xc], 0
je 0x17905df
mov esi, dword [edi + 0x4c]
mov eax, dword [edi + 0x50]
cmp esi, eax
lea ebp, [edi + 0x48]
ja 0x1790143
mov ecx, eax
cmp esi, ecx
mov dword [esp + 0x18], ecx
ja 0x1790143
cmp ebp, ebp
jne 0x1790143
cmp esi, ecx
je 0x17905df
cmp esi, eax
jae 0x179013e
mov eax, 0x10
cmp dword [esi + 0x50], eax
jb 0x1790593
mov ecx, dword [esi + 0x3c]
jmp 0x1790596
lea ecx, [esi + 0x3c]
cmp dword [esi + 0x18], eax
jb 0x17905a0
mov eax, dword [esi + 4]
jmp 0x17905a3
lea eax, [esi + 4]
push ecx
push eax
lea edx, [esp + 0x90]
push edx
push str._s_s_s_
mov eax, edx
push 0xc00
push eax
call fcn.0167a070
add esp, 0x18
test eax, eax
je 0x17905cb
call fcn.0176dcc0
mov eax, dword [ebp + 8]
cmp esi, eax
jae 0x179013e
mov ecx, dword [esp + 0x18]
add esi, 0x54
jmp 0x1790570
cmp byte [edi + 0x59], 0
jne 0x178ffd5
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x59], 0
jne 0x1790611
mov eax, dword [ecx]
cmp byte [eax + 0x59], 0
jne 0x179060a
lea ebx, [ebx]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x59], 0
je 0x1790600
mov edi, ecx
jmp 0x1790520
mov eax, dword [edi + 4]
cmp byte [eax + 0x59], 0
jne 0x1790630
lea ebx, [ebx]
cmp edi, dword [eax + 8]
jne 0x1790630
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x59], 0
je 0x1790620
mov edi, eax
jmp 0x1790520
lea ecx, [esp + 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esp + eax + 0x87], 0x20
lea eax, [esp + 0x88]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1790657
sub eax, edx
push eax
lea edx, [esp + 0x8c]
lea esi, [ebx + 0x20]
push edx
mov ecx, esi
call fcn.01667500
cmp dword [ebx + 0xdc], 0
jbe 0x1790690
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0xc8]
push eax
mov ecx, esi
call fcn.01673830
cmp dword [esi + 0x18], 0x10
jb 0x17906a9
mov esi, dword [esi + 4]
push esi
push 0x1809dc4
call fcn.0176ca30
add esp, 8
jmp 0x17906c1
add esi, 4
push esi
push 0x1809dc4
call fcn.0176ca30
add esp, 8
jmp 0x17906c1
call fcn.0176dcc0
test byte [ebx + 0xf4], 2
je 0x17909ea
cmp dword [ebx + 0x1c], 0x10
jb 0x17906d9
mov eax, dword [ebx + 8]
jmp 0x17906dc
lea eax, [ebx + 8]
push eax
push str.INSERT_INTO__s_
lea ecx, [esp + 0x90]
push 0xc00
push ecx
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x1790700
call fcn.0176dcc0
mov eax, dword [ebx + 0xe8]
mov ebp, dword [eax]
mov edx, eax
mov dword [esp + 0x20], edx
mov edi, edi
lea esi, [ebx + 0xe4]
cmp esi, esi
jne 0x17904b0
cmp ebp, dword [esp + 0x20]
sete al
test al, al
sete al
test al, al
je 0x179080b
cmp ebp, dword [esi + 4]
je 0x178ffd5
mov esi, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x50]
cmp esi, eax
lea edi, [ebp + 0x48]
ja 0x1790143
mov ebx, eax
cmp esi, ebx
ja 0x1790143
cmp edi, edi
jne 0x1790143
cmp esi, ebx
je 0x17907b5
cmp esi, eax
jae 0x179013e
cmp dword [esi + 0x34], 1
je 0x17907a5
cmp dword [esi + 0x18], 0x10
jb 0x179077b
mov eax, dword [esi + 4]
jmp 0x179077e
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x8c]
push eax
push str._s_s_
mov ecx, eax
push 0xc00
push ecx
call fcn.0167a070
add esp, 0x14
test eax, eax
je 0x17907a5
call fcn.0176dcc0
mov eax, dword [edi + 8]
cmp esi, eax
jae 0x179013e
add esi, 0x54
jmp 0x1790756
cmp byte [ebp + 0x59], 0
jne 0x178ffd5
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x59], 0
jne 0x17907e5
mov eax, dword [ecx]
cmp byte [eax + 0x59], 0
jne 0x17907da
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x59], 0
je 0x17907d0
mov ebx, dword [esp + 0x14]
mov ebp, ecx
jmp 0x1790710
mov eax, dword [ebp + 4]
cmp byte [eax + 0x59], 0
jne 0x1790800
mov edi, edi
cmp ebp, dword [eax + 8]
jne 0x1790800
mov ebp, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x59], 0
je 0x17907f0
mov ebx, dword [esp + 0x14]
mov ebp, eax
jmp 0x1790710
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esp + eax + 0x87], 0x20
lea eax, [esp + 0x88]
push eax
push str._s__VALUES_
mov ecx, eax
push 0xc00
push ecx
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x1790847
call fcn.0176dcc0
mov eax, dword [esi + 4]
mov edx, dword [esi + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
mov ebp, eax
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + 0xe4]
cmp ecx, eax
jne 0x17904b0
cmp ebp, dword [esp + 0x18]
sete al
test al, al
sete al
test al, al
je 0x1790969
cmp ebp, dword [ecx + 4]
je 0x178ffd5
mov esi, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x50]
cmp esi, eax
lea edi, [ebp + 0x48]
ja 0x1790143
mov ebx, eax
cmp esi, ebx
ja 0x1790143
lea ebx, [ebx]
cmp edi, edi
jne 0x1790143
cmp esi, ebx
je 0x179090f
cmp esi, eax
jae 0x179013e
cmp dword [esi + 0x34], 1
je 0x17908ff
cmp dword [esi + 0x50], 0x10
jb 0x17908d5
mov eax, dword [esi + 0x3c]
jmp 0x17908d8
lea eax, [esi + 0x3c]
push eax
lea eax, [esp + 0x8c]
push eax
push str._s_s_
mov ecx, eax
push 0xc00
push ecx
call fcn.0167a070
add esp, 0x14
test eax, eax
je 0x17908ff
call fcn.0176dcc0
mov eax, dword [edi + 8]
cmp esi, eax
jae 0x179013e
add esi, 0x54
jmp 0x17908b0
cmp byte [ebp + 0x59], 0
jne 0x178ffd5
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x59], 0
jne 0x1790945
mov eax, dword [ecx]
cmp byte [eax + 0x59], 0
jne 0x179093a
lea ebx, [ebx]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x59], 0
je 0x1790930
mov ebx, dword [esp + 0x14]
mov ebp, ecx
jmp 0x1790860
mov eax, dword [ebp + 4]
cmp byte [eax + 0x59], 0
jne 0x1790960
mov edi, edi
cmp ebp, dword [eax + 8]
jne 0x1790960
mov ebp, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x59], 0
je 0x1790950
mov ebx, dword [esp + 0x14]
jmp 0x1790857
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esp + eax + 0x87], 0x20
lea eax, [esp + 0x88]
push eax
push 0x180ff14
mov ecx, eax
push 0xc00
push ecx
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x17909a5
call fcn.0176dcc0
lea eax, [esp + 0x88]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x17909b0
sub eax, edx
push eax
lea edx, [esp + 0x8c]
lea esi, [ebx + 0x3c]
push edx
mov ecx, esi
call fcn.01667500
cmp dword [esi + 0x18], 0x10
jb 0x17909d9
mov esi, dword [esi + 4]
jmp 0x17909dc
add esi, 4
push esi
push 0x1809dc4
call fcn.0176ca30
add esp, 8
mov dword [ebx + 0xf8], 0
mov eax, dword [ebx + 0xe8]
mov ecx, dword [eax]
mov edi, eax
mov edi, edi
lea esi, [ebx + 0xe4]
cmp esi, esi
jne 0x17904b0
cmp ecx, edi
sete al
test al, al
sete al
test al, al
je 0x1790a97
cmp ecx, dword [esi + 4]
je 0x178ffd5
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x1790a42
mov edx, dword [ecx + 0x50]
sub edx, eax
mov eax, 0x30c30c31
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [ebx + 0xf8], eax
cmp byte [ecx + 0x59], 0
jne 0x178ffd5
mov eax, dword [ecx + 8]
cmp byte [eax + 0x59], 0
jne 0x1790a71
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x59], 0
jne 0x1790a00
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x59], 0
je 0x1790a65
jmp 0x1790a00
mov eax, dword [ecx + 4]
cmp byte [eax + 0x59], 0
jne 0x1790a90
lea ebx, [ebx]
cmp ecx, dword [eax + 8]
jne 0x1790a90
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x59], 0
je 0x1790a80
mov ecx, eax
jmp 0x1790a00
mov eax, dword [ebx + 0xec]
cmp eax, 1
jbe 0x1790c4b
mov eax, dword [ebx + 0xf8]
cmp eax, dword [esp + 0x18a0]
je 0x1790c4b
push str.SELECT
lea ecx, [esp + 0x8c]
push 0xc00
push ecx
call fcn.0167a070
add esp, 0xc
test eax, eax
je 0x1790adc
call fcn.0176dcc0
mov eax, dword [esi + 4]
mov ebp, dword [eax]
mov edx, eax
mov dword [esp + 0x20], edx
jmp 0x1790af0
lea ecx, [ebx + 0xe4]
cmp ecx, ecx
jne 0x17904b0
cmp ebp, dword [esp + 0x20]
sete al
test al, al
sete al
test al, al
je 0x1790beb
cmp ebp, dword [ecx + 4]
je 0x178ffd5
mov esi, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x50]
cmp esi, eax
lea edi, [ebp + 0x48]
ja 0x1790143
mov ebx, eax
cmp esi, ebx
ja 0x1790143
cmp edi, edi
jne 0x1790143
cmp esi, ebx
je 0x1790b8f
cmp esi, eax
jae 0x179013e
cmp dword [esi + 0x18], 0x10
jb 0x1790b55
mov eax, dword [esi + 4]
jmp 0x1790b58
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x8c]
push eax
push str._s_s_
mov ecx, eax
push 0xc00
push ecx
call fcn.0167a070
add esp, 0x14
test eax, eax
je 0x1790b7f
call fcn.0176dcc0
mov eax, dword [edi + 8]
cmp esi, eax
jae 0x179013e
add esi, 0x54
jmp 0x1790b36
cmp byte [ebp + 0x59], 0
jne 0x178ffd5
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x59], 0
jne 0x1790bc5
mov eax, dword [ecx]
cmp byte [eax + 0x59], 0
jne 0x1790bba
lea ebx, [ebx]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x59], 0
je 0x1790bb0
mov ebx, dword [esp + 0x14]
mov ebp, ecx
jmp 0x1790af0
mov eax, dword [ebp + 4]
cmp byte [eax + 0x59], 0
jne 0x1790be0
mov edi, edi
cmp ebp, dword [eax + 8]
jne 0x1790be0
mov ebp, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x59], 0
je 0x1790bd0
mov ebx, dword [esp + 0x14]
mov ebp, eax
jmp 0x1790af0
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebx + 0x1c], 0x10
mov byte [esp + eax + 0x87], 0x20
jb 0x1790c0c
mov eax, dword [ebx + 8]
jmp 0x1790c0f
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push str._sFROM__s
mov ecx, eax
push 0xc00
push ecx
call fcn.0167a070
add esp, 0x14
test eax, eax
je 0x1790c36
call fcn.0176dcc0
lea eax, [esp + 0x88]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1790c40
jmp 0x1790c90
cmp dword [ebx + 0x1c], 0x10
jb 0x1790c56
mov eax, dword [ebx + 8]
jmp 0x1790c59
lea eax, [ebx + 8]
push eax
push str.SELECT__FROM__s
lea ecx, [esp + 0x90]
push 0xc00
push ecx
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x1790c7d
call fcn.0176dcc0
lea eax, [esp + 0x88]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1790c87
sub eax, edx
push eax
lea edx, [esp + 0x8c]
lea esi, [ebx + 0x58]
push edx
mov ecx, esi
call fcn.01667500
push 0xffffffffffffffff
push 0
lea edi, [ebx + 0x74]
push esi
mov ecx, edi
call fcn.01667420
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call fcn.01673830
cmp dword [ebx + 0xdc], 0
jbe 0x1790d23
push 0xffffffffffffffff
push 0
push esi
mov ecx, esi
call fcn.01667420
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.01673830
push 0xffffffffffffffff
push 0
lea ebp, [ebx + 0xc8]
push ebp
mov ecx, esi
call fcn.01673830
push 0xffffffffffffffff
push 0
push edi
mov ecx, edi
call fcn.01667420
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x58]
push edx
mov ecx, edi
call fcn.01673830
push 0xffffffffffffffff
push 0
push ebp
mov ecx, edi
call fcn.01673830
mov ebp, 0x10
cmp dword [esi + 0x18], ebp
jb 0x1790d32
mov esi, dword [esi + 4]
jmp 0x1790d35
add esi, 4
push esi
push 0x1809dc4
call fcn.0176ca30
add esp, 8
cmp dword [edi + 0x18], ebp
jb 0x1790d4d
mov edi, dword [edi + 4]
jmp 0x1790d50
add edi, 4
push edi
push 0x1809dc4
call fcn.0176ca30
add esp, 8
test byte [ebx + 0xf4], 0x10
je 0x1790dde
cmp dword [ebx + 0x1c], ebp
jb 0x1790d71
mov eax, dword [ebx + 8]
jmp 0x1790d74
lea eax, [ebx + 8]
push eax
push str.DELETE_FROM__s
lea eax, [esp + 0x90]
push 0xc00
push eax
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x1790d98
call fcn.0176dcc0
lea eax, [esp + 0x88]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1790da2
sub eax, edx
push eax
lea ecx, [esp + 0x8c]
lea esi, [ebx + 0x90]
push ecx
mov ecx, esi
call fcn.01667500
cmp dword [esi + 0x18], ebp
jb 0x1790dcd
mov esi, dword [esi + 4]
jmp 0x1790dd0
add esi, 4
push esi
push 0x1809dc4
call fcn.0176ca30
add esp, 8
cmp dword [ebx + 0xdc], 0
jbe 0x1790eda
cmp dword [esp + 0x48], 0
ja 0x1790df7
call fcn.0176dcc0
cmp dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x38]
jae 0x1790e05
lea eax, [esp + 0x38]
push eax
push str.SELECT_COUNT__s_
lea edx, [esp + 0x90]
push 0xc00
push edx
call fcn.0167a070
add esp, 0x10
test eax, eax
je 0x1790e29
call fcn.0176dcc0
cmp dword [ebx + 0x1c], ebp
jb 0x1790e33
mov eax, dword [ebx + 8]
jmp 0x1790e36
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push str._sFROM__s
mov ecx, eax
push 0xc00
push ecx
call fcn.0167a070
add esp, 0x14
test eax, eax
je 0x1790e5d
call fcn.0176dcc0
lea eax, [esp + 0x88]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1790e67
sub eax, edx
push eax
lea edx, [esp + 0x8c]
lea esi, [ebx + 0xac]
push edx
mov ecx, esi
call fcn.01667500
cmp dword [ebx + 0xdc], 0
jbe 0x1790ebf
push 0xffffffffffffffff
push 0
push esi
mov ecx, esi
call fcn.01667420
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.01673830
push 0xffffffffffffffff
push 0
add ebx, 0xc8
push ebx
mov ecx, esi
call fcn.01673830
cmp dword [esi + 0x18], ebp
jb 0x1790ec9
mov esi, dword [esi + 4]
jmp 0x1790ecc
add esi, 4
push esi
push 0x1809dc4
call fcn.0176ca30
add esp, 8
mov byte [esp + 0x1894], 1
cmp dword [esp + 0x4c], ebp
jb 0x1790ef5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.017af9e0
add esp, 4
mov esi, 0xf
xor edi, edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
mov byte [esp + 0x1894], 0
cmp dword [esp + 0x68], ebp
jb 0x1790f24
mov edx, dword [esp + 0x54]
push edx
call fcn.017af9e0
add esp, 4
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
mov dword [esp + 0x1894], 0xffffffff
cmp dword [esp + 0x84], ebp
jb 0x1790f52
mov eax, dword [esp + 0x70]
push eax
call fcn.017af9e0
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edi
mov byte [esp + 0x70], 0
mov ecx, dword [esp + 0x188c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1874]
xor ecx, esp
call fcn.017b0193
add esp, 0x1884
ret 8