Function at 0x433c40
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x103c
call fcn.0045ec70
push ebx
push ebp
mov ebp, dword [esp + 0x1048]
push esi
push edi
mov esi, 0x514f20
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x433c84
test cl, cl
je 0x433c80
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x433c84
add eax, 2
add esi, 2
test cl, cl
jne 0x433c5c
xor eax, eax
jmp 0x433c89
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x433eb6
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jne 0x433eb6
mov eax, dword [0x476ecf4]
test eax, eax
je 0x433cbc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x103c
ret
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
xor esi, esi
call fcn.0045a970
push eax
push 0x476ed38
lea eax, [esp + 0x858]
push str.SELECT_line1_line2_FROM_GATG__sAVVERSUS_WHERE_flonline1_AND_versus_c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edx, [esp + 0x84c]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x433e9e
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x24]
test al, al
jne 0x433e9e
mov al, byte [ebx + 4]
test al, al
jne 0x433e8b
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push 1
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00445280
mov ebp, dword [sym.imp.SHLWAPI.dll_StrTrimA]
lea ecx, [esp + 0x4c]
push 0x46e08c
push ecx
call ebp
lea edx, [esp + 0x38]
lea eax, [esp + 0x4c]
push edx
push 0x10
push 0x20
push eax
push 1
call fcn.0045ab10
mov edx, dword [ebx]
add esp, 0x14
lea eax, [esp + 0x14]
mov ecx, ebx
push 2
push eax
call dword [edx + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00445280
lea ecx, [esp + 0x4c]
push 0x46e08c
push ecx
call ebp
lea edx, [esp + 0x24]
lea eax, [esp + 0x4c]
push edx
push 0x10
push 0x20
push eax
push 1
call fcn.0045ab10
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0x68]
push 0x46e084
push eax
call ebp
add esp, 0x24
mov edi, 0x4846e4
lea esi, [esp + 0x4c]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x433e4f
test al, al
je 0x433e4b
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x433e4f
add esi, 2
add edi, 2
test al, al
jne 0x433e27
xor eax, eax
jmp 0x433e54
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x433e86
mov edi, dword [esp + 0x1054]
xor esi, esi
movsx eax, byte [esp + esi + 0x4c]
push eax
push str._02X
push edi
call ebp
add esp, 0xc
inc esi
add edi, 2
cmp esi, 0x20
jl 0x433e61
mov ecx, dword [esp + 0x1054]
mov byte [ecx + 0x40], 0
mov esi, 1
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
test ebx, ebx
je 0x433e9e
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x103c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x103c
ret