Function at 0x431d40
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [0x476ecf4]
sub esp, 0x86c
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x431d60
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x86c
ret
lea eax, [esp + 0x54]
push 0
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.004265e0
add esp, 0x24
test eax, eax
jne 0x431da1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x86c
ret
lea edx, [esp + 0x2c]
push edx
call fcn.0045f57e
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
lea eax, [esp + 0x38]
push eax
call fcn.0045f57e
lea edx, [esp + 0x38]
lea ecx, [eax + esi*4]
push edx
mov word [esp + 0x24], cx
call fcn.0045f57e
mov word [esp + 0x26], ax
lea eax, [esp + 0x48]
push eax
call fcn.0045f57e
lea ecx, [esp + 0x50]
mov word [esp + 0x2e], ax
push ecx
call fcn.0045f57e
lea edx, [esp + 0x4c]
mov word [esp + 0x34], ax
push edx
call fcn.0045f57e
mov word [esp + 0x3a], ax
lea eax, [esp + 0x40]
push eax
call fcn.0045f57e
mov ebp, dword [esp + 0x89c]
mov word [esp + 0x40], ax
mov ebx, dword [esp + 0x8a0]
add esp, 0x1c
lea eax, [ebp + ebp*2]
lea ecx, [eax + eax*8]
lea eax, [ebp + ecx*8]
lea ecx, [ebx + ebx*4]
lea edx, [eax + eax*2]
lea eax, [ebp + edx*2]
lea eax, [eax + eax*4]
shl eax, 5
mov dword [esp + 0x14], eax
add eax, ebx
lea edx, [eax + ecx*8 + 0x672db8]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.0045ccb0
add esp, 0x14
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + ebp*2]
mov edi, str.FFFF
lea eax, [eax + eax*8]
lea eax, [ebp + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebp + ecx*2]
or ecx, 0xffffffff
shl eax, 5
add eax, ebx
lea edx, [eax + eax*4 + 0x672bf8]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x4c], edx
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
mov edx, dword [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + ebx*2]
mov edi, 0x514f20
lea eax, [edx + ecx*2 + 0x672af8]
or ecx, 0xffffffff
mov dword [esp + 0x14], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + ebp*2]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + eax*8]
mov edi, 0x514f20
lea eax, [ebp + ecx*8]
lea eax, [eax + eax*2]
lea ebp, [ebp + eax*2]
xor eax, eax
lea ecx, [ebp + ebp*4]
shl ecx, 4
add ecx, ebx
lea ebp, [ecx*2 + 0x672bb8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
mov edi, 0x514f20
shl ecx, 4
add edx, ecx
lea ebx, [ebx + edx + 0x6728d8]
mov esi, ebx
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x431f76
test al, al
je 0x431f72
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x431f76
add esi, 2
add edi, 2
test al, al
jne 0x431f4e
xor eax, eax
jmp 0x431f7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4320d6
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 5
jle 0x4320d6
push 0x4836d0
push ebx
call fcn.0045f6d0
mov esi, eax
add esp, 8
test esi, esi
je 0x4320d6
push 5
lea edx, [esp + 0x48]
push ebx
push edx
call fcn.0045eb70
inc esi
push 1
lea eax, [esp + 0x22]
push esi
push eax
mov byte [esp + 0x61], 0
call fcn.0045eb70
lea ecx, [esp + 0x2a]
lea edx, [esp + 0x5c]
push ecx
push edx
push 0x476ed38
lea eax, [esp + 0xa0]
push str.SELECT_ntrans_FROM_GATC__sFWLIST_WHERE_fwdesc_s_and_fwkind_s
push eax
mov byte [esp + 0x3f], 0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x2c
lea edx, [esp + 0x7c]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x64], 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 0x4320d6
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x24]
test al, al
jne 0x4320d6
mov al, byte [ebx + 4]
test al, al
jne 0x4320c3
mov eax, dword [ebx]
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00445280
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x12]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
test ebx, ebx
je 0x4320d6
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x86c
ret