Function at 0x412fc0
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [0x476ecf4]
sub esp, 0x848
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x412fe0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x848
ret
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x476ed38
lea eax, [esp + 0x5c]
push str.SELECT_webservice_wsurl_wsport_wsurn_wsmethod_wstimeout_FROM_GATC__sWEBSERVICE_WHERE_nwskind0
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x58]
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 0x4131c6
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x24]
test al, al
jne 0x4131c6
mov al, byte [ebx + 4]
test al, al
jne 0x4131b1
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
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, 0x45e3100
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 + 0x38]
call fcn.00445280
mov ebp, dword [sym.imp.SHLWAPI.dll_StrTrimA]
push 0x46e08c
push 0x45e3100
call ebp
mov eax, dword [ebx]
lea ecx, [esp + 0x28]
push 2
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, 0x45e3111
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 + 0x28]
call fcn.00445280
push 0x46e08c
push 0x45e3111
call ebp
mov eax, dword [ebx]
push 3
mov ecx, ebx
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [0x45e3214], eax
mov edx, dword [ebx]
lea eax, [esp + 0x48]
push 4
push eax
mov ecx, ebx
call dword [edx + 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, 0x45e3218
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 + 0x48]
call fcn.00445280
push 0x46e08c
push 0x45e3218
call ebp
mov eax, dword [ebx]
lea ecx, [esp + 0x18]
push 5
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, 0x45e3318
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
push 0x46e08c
push 0x45e3318
call ebp
mov eax, dword [ebx]
push 6
mov ecx, ebx
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [0x45e3344], eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x20]
mov al, byte [ebx + 4]
test al, al
je 0x41305b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
test ebx, ebx
je 0x4131ce
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
jmp 0x4131ce
mov dword [esp + 0x14], 0
push 3
push 0x476ed38
lea eax, [esp + 0x60]
push str.SELECT_nwskind_webservice_wsurl_wsport_wsurn_wsmethod_wstimeout_FROM_GATC__sWEBSERVICE_WHERE_nwskind__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x58]
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 0x413415
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x24]
test al, al
jne 0x413415
mov al, byte [ebx + 4]
test al, al
jne 0x4133d1
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x10]
call fcn.0045f9d8
mov edx, dword [ebx]
mov ebp, eax
lea eax, [esp + 0x18]
push 2
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov edi, dword [eax + 4]
lea ecx, [ebp + ebp*8]
xor eax, eax
lea ebp, [ebp + ecx*8]
or ecx, 0xffffffff
shl ebp, 3
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x523fb8]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x10], 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 + 0x18]
call fcn.00445280
mov ecx, dword [esp + 0x10]
push 0x46e08c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebx]
lea eax, [esp + 0x48]
push 3
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x523fc9]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], 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
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
call fcn.00445280
mov ecx, dword [esp + 0x10]
push 0x46e08c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebx]
push 4
mov ecx, ebx
call dword [edx + 0x10]
call fcn.0045f9d8
lea ecx, [esp + 0x28]
mov dword [ebp + 0x5240cc], eax
mov eax, dword [ebx]
push 5
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov edi, dword [eax + 4]
lea edx, [ebp + 0x5240d0]
mov dword [esp + 0x10], edx
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, 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 + 0x28]
call fcn.00445280
mov ecx, dword [esp + 0x10]
push 0x46e08c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebx]
lea eax, [esp + 0x38]
push 6
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x5241d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], 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
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
call fcn.00445280
mov ecx, dword [esp + 0x10]
push 0x46e08c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebx]
push 7
mov ecx, ebx
call dword [edx + 0x10]
call fcn.0045f9d8
mov dword [ebp + 0x5241fc], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
mov al, byte [ebx + 4]
test al, al
je 0x413238
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
test ebx, ebx
je 0x4133e4
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41341d
mov edi, 0x514f20
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 + 0x85c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41345b
mov dword [esp + 0x14], 0
mov ecx, dword [0x516f90]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edi, dword [eax + 4]
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 + 0x85c]
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 + 0x18]
call fcn.00445280
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x848
ret