Function at 0x40b820
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x580
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov ecx, dword [ebx + 0x2570]
lea eax, [ebp - 0x1f0]
xor esi, esi
push ecx
push ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call fcn.0040c130
add esp, 8
cmp eax, esi
mov dword [ebx + 0x2570], eax
jne 0x40b869
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax]
mov eax, dword [ebx + 0x4814]
mov dword [ebp - 0x10], edx
cmp dword [eax + 0x2c], 7
ja 0x40bae1
mov eax, 0x41
lea ecx, [ebp - 0x3b8]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x7c], eax
mov eax, 5
mov dword [ebp - 0x84], ecx
mov word [ebp - 0x4a], ax
mov word [ebp - 0x76], ax
lea eax, [ebp - 0x94]
lea edx, [ebp - 0x580]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x4808]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x80], esi
mov word [ebp - 0x4c], si
mov word [ebp - 0x78], si
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x40], si
mov word [ebp - 0x6c], si
mov word [ebp - 0x3e], si
mov word [ebp - 0x6a], si
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x68], esi
mov word [ebp - 0x38], si
mov word [ebp - 0x64], si
mov word [ebp - 0x36], si
mov word [ebp - 0x62], si
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x5c], esi
mov edx, dword [eax + 0x10]
add eax, 8
push edx
push eax
push ebx
call fcn.00413510
mov ecx, dword [0x461064]
lea eax, [ebp - 0x28]
push eax
push esi
push ecx
push esi
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x84]
push esi
mov eax, dword [ebx + 0x245c]
push edx
push 2
push esi
push 7
push 2
push 0xf2
push str.SELECT_PARAMETER__VALUE_____FROM_V_NLS_PARAMETERS_____WHERE__UPPER_PARAMETER__IN__NLS_SORT_NLS_CURRENCY_NLS_ISO_CURRENCY____________________NLS_DATE_LANGUAGE_NLS_NUMERIC_CHARACTERS____________________NLS_LANGUAGE_NLS_TERRITORY__
push 0x71
push esi
push eax
call sub.oraclient9.dll_upial7
add esp, 0x58
test eax, eax
mov eax, dword [ebx + 0x4808]
je 0x40b973
mov ecx, dword [eax + 0x10]
add eax, 8
push ecx
push eax
push ebx
call fcn.00413460
add esp, 0xc
jmp 0x40bd24
mov edx, dword [eax + 0x10]
add eax, 8
push edx
push eax
push ebx
call fcn.00413460
add esp, 0xc
mov ecx, 0x2b
xor eax, eax
jmp 0x40b990
mov ecx, dword [ebp - 0xc]
xor edi, edi
xor edx, edx
mov di, word [ebp + eax - 0x94]
mov dx, word [ebp + eax - 0xa4]
add edi, ecx
add eax, 2
add edi, edx
cmp eax, 0xe
mov dword [ebp - 0xc], edi
jl 0x40b98d
mov eax, edi
inc eax
push eax
push ebx
call fcn.00408a60
add esp, 8
cmp eax, esi
mov dword [ebp - 0x18], eax
je 0x40bd24
push 0xa4
push ebx
call fcn.00408a60
add esp, 8
cmp eax, esi
mov dword [ebp - 0x1c], eax
je 0x40bd24
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
xor ecx, ecx
mov edi, eax
mov cx, word [ebp + esi - 0x94]
lea esi, [ebp + edx - 0x3b8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 8]
mov dx, word [ebp + ecx - 0x94]
add eax, edx
mov edx, dword [str.__]
mov dword [eax], edx
xor edx, edx
mov dx, word [ebp + ecx - 0xa4]
add eax, 4
mov ecx, edx
mov edx, dword [ebp - 4]
mov edi, eax
lea esi, [ebp + edx - 0x580]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
mov dx, word [0x4675a4]
xor ecx, ecx
mov cx, word [ebp + esi - 0xa4]
add esi, 2
add eax, ecx
mov dword [ebp - 8], esi
mov word [eax], dx
mov edx, dword [ebp - 4]
add edx, 0x41
add eax, 2
cmp edx, 0x1c7
mov dword [ebp - 4], edx
jl 0x40b9ef
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebx + 0x250c]
push eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebx + 0x2508]
dec edx
push 0x3fff
push edx
push eax
push ecx
call sub.oranls9.dll_lxhcnv
add esp, 0x18
test eax, eax
je 0x40bd22
mov edx, dword [ebx + 0x250c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x2508]
push edx
push eax
push ecx
call sub.oranls9.dll_lxhlod
add esp, 0xc
test eax, eax
jne 0x40bc2e
jmp 0x40bd22
mov eax, dword [ebx + 0x4808]
mov dword [ebp - 0xec], 0x3e
push 3
lea edx, [eax + 8]
mov dword [ebp - 0xe4], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xe0], ecx
mov edx, dword [eax + 0x18]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xd8], 9
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], 0x2e
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0xec]
push eax
push ebx
mov dword [ebp - 0xc8], edx
call fcn.00412d50
add esp, 0xc
cmp eax, esi
je 0x40bb99
mov ecx, dword [ebx + 0x4808]
push 1
push eax
push 2
mov edx, dword [ecx + 0x10]
push edx
push ebx
call fcn.004116f0
push eax
push 1
push 1
push 0x7e8
push ebx
call fcn.004157b0
mov eax, dword [ebx + 0x2570]
push eax
push ebx
call fcn.0040c130
add esp, 0x30
xor ecx, ecx
cmp eax, esi
mov dword [ebx + 0x2570], eax
setne cl
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x250c]
mov eax, dword [ebx + 0x2508]
push edx
push eax
call sub.oranls9.dll_lxhcsn
mov esi, dword [ebp - 0x20]
mov edi, dword [ebx + 0x2508]
mov ecx, 0x84
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x250c]
mov edx, dword [ebx + 0x2508]
push ecx
push 0
push 0x4f
push eax
push edx
call sub.oranls9.dll_lxhnmod
add esp, 0x1c
test eax, eax
jne 0x40bbeb
mov esi, dword [ebp - 0x20]
mov edi, dword [ebx + 0x2508]
mov ecx, 0x84
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x1874]
mov dword [ebx + 0x1878], 0
test eax, eax
je 0x40bc2e
mov eax, dword [ebx + 0x2508]
test dword [eax + 0x1c], 0x40000
je 0x40bc1a
mov dword [ebx + 0x1878], 1
jmp 0x40bc2e
push 0
push 0x29a
push 1
push 2
push ebx
call fcn.00409560
add esp, 0x14
mov ecx, dword [ebx + 0x250c]
mov eax, dword [ebx + 0x2508]
push ecx
lea edx, [ebp - 0x150]
push 0x64
push edx
push 0x4f
push eax
call sub.oranls9.dll_lxhlinfo
mov ecx, dword [ebx + 0x250c]
lea edx, [ebp - 0x150]
push ecx
push 1
push edx
call sub.oranls9.dll_lxhnamemap
push ebx
mov dword [ebx + 0x4888], eax
call fcn.00433ef0
push ebx
call fcn.00408890
mov eax, dword [ebx + 0x2508]
push eax
push ebx
call fcn.00433dd0
add esp, 0x30
test eax, eax
jne 0x40bca8
push 0x4675a8
push 1
push 0x29b
push 1
push 2
push ebx
call fcn.00409560
push 0
push ebx
call fcn.00408d20
add esp, 0x20
mov ecx, dword [ebx + 0x2508]
push ecx
push ebx
call fcn.00408750
add esp, 8
test eax, eax
jne 0x40bcdd
push 0x4675ac
push 1
push 0x29b
push 1
push 2
push ebx
call fcn.00409560
push 0
push ebx
call fcn.00408d20
add esp, 0x20
mov eax, dword [ebx + 0x17f4]
test eax, eax
je 0x40bd22
push ebx
call fcn.00433c30
mov edx, dword [ebx + 0x2508]
push edx
push ebx
call fcn.00433af0
add esp, 0xc
test eax, eax
jne 0x40bd22
push 0x4675b0
push 1
push 0x29b
push 1
push 2
push ebx
call fcn.00409560
push 0
push ebx
call fcn.00408d20
add esp, 0x20
xor esi, esi
mov eax, dword [ebx + 0x4814]
cmp dword [eax + 0x2c], 7
ja 0x40be1c
mov eax, dword [ebp - 0x28]
cmp eax, esi
je 0x40bd45
push eax
push ebx
call fcn.0040f330
add esp, 8
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x40bd56
push eax
push ebx
call fcn.0040f330
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40bd67
push eax
push ebx
call fcn.0040f330
add esp, 8
mov edx, dword [ebx + 0x245c]
lea ecx, [ebp - 0x14]
push 0xffffffffffffffff
push ecx
push edx
call sub.oraclient9.dll_upiopn
add esp, 0xc
test eax, eax
jne 0x40bdfd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x245c]
push 1
push 2
push 0x61
push str.SELECT_VALUE_________FROM_V_NLS_PARAMETERS__________WHERE__UPPER_PARAMETER___NLS_DATE_FORMAT_
push eax
push ecx
call sub.oraclient9.dll_upiosd
add esp, 0x18
test eax, eax
jne 0x40bdfd
mov edi, dword [ebp - 0x10]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push esi
mov eax, dword [ebx + 0x245c]
push esi
push 0xffffffffffffffff
push esi
push esi
push 5
push 0x41
push edi
push 1
push edx
push eax
call sub.oraclient9.dll_upidfn
add esp, 0x30
test eax, eax
jne 0x40bdfd
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x245c]
push esi
push esi
push 1
push ecx
push edx
call sub.oraclient9.dll_upiefn
add esp, 0x14
test eax, eax
jne 0x40bdfd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x245c]
push eax
push ecx
call sub.oraclient9.dll_upicls
add esp, 8
test eax, eax
je 0x40be3a
mov edx, dword [ebx + 0x2570]
push edx
push ebx
call fcn.0040c130
add esp, 8
mov dword [ebx + 0x2570], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x250c]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x2508]
push eax
push 0x3c
push edi
push 0x4c
push ecx
call sub.oranls9.dll_lxhlinfo
add esp, 0x14
mov edx, dword [ebx + 0x2508]
test dword [edx + 0x1c], 0x4000000
je 0x40be54
push edi
call sub.oranls9.dll_lxsulen
add esp, 4
jmp 0x40be60
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, cl
mov byte [ebp - 8], al
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
inc al
shl al, 1
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x24]
and eax, 0xff
mov byte [ecx + edx], 0
push eax
push ebx
call fcn.00408a60
mov edi, eax
push 0x48
push ebx
mov dword [ebp - 4], edi
call fcn.00408a60
add esp, 0x10
cmp edi, esi
mov dword [ebx + 0x4800], eax
je 0x40bfad
cmp eax, esi
je 0x40bfad
push esi
push eax
call fcn.0046007c
mov ebx, dword [ebp - 4]
add esp, 8
sub eax, esi
je 0x40bf24
mov edi, dword [ebp + 8]
dec eax
je 0x40bf01
mov ecx, dword [edi + 0x2570]
push ecx
push edi
call fcn.0040c130
push esi
push 1
push 0x7e4
push edi
mov dword [edi + 0x2570], eax
call fcn.004157b0
mov eax, dword [edi + 0x2570]
add esp, 0x18
cmp eax, esi
jne 0x40bf8a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x2570]
push edx
push edi
call fcn.0040c130
add esp, 8
cmp eax, esi
mov dword [edi + 0x2570], eax
jne 0x40bf8a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x2c]
push edi
push 0x40c040
mov eax, dword [edi + 0x2508]
push eax
push esi
call sub.oracore9.dll_ldxini
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
push ecx
push ebx
push edx
push eax
push esi
call sub.oracore9.dll_ldxsto
push ebx
push esi
call sub.oracore9.dll_ldxmxsz
mov edx, eax
push ebx
push esi
mov dword [ebp - 0xc], edx
call sub.oracore9.dll_ldxmdsz
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add esp, 0x34
cmp eax, ecx
push ebx
push esi
jle 0x40bf79
call sub.oracore9.dll_ldxmdsz
jmp 0x40bf7e
call sub.oracore9.dll_ldxmxsz
mov edx, dword [edi + 0x2570]
add esp, 8
mov dword [edx + 4], eax
push ebx
push edi
call fcn.0040f330
mov eax, dword [edi + 0x4800]
push eax
push edi
call fcn.0040f330
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x92
push 1
push 2
push ebx
call fcn.00409560
mov ecx, dword [ebx + 0x2570]
push ecx
push ebx
call fcn.0040c130
add esp, 0x1c
xor edx, edx
cmp eax, esi
mov dword [ebx + 0x2570], eax
setne dl
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret