Function at 0x40545c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
mov dword [ebp - 0x88], eax
mov eax, 0x40dc5c
call fcn.0040aba4
xor edx, edx
mov dword [ebp - 0x90], edx
mov word [ebp - 0x74], 8
mov word [ebp - 0x74], 0x20
lea eax, [ebp - 4]
call fcn.004021e0
push eax
inc dword [ebp - 0x68]
mov edx, 0x40c71d
lea eax, [ebp - 0x18]
call fcn.0040ac5c
inc dword [ebp - 0x68]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
call fcn.004021e0
inc dword [ebp - 0x68]
call fcn.004082cc
lea eax, [ebp - 0x14]
pop edx
pop ecx
call fcn.0040adc8
dec dword [ebp - 0x68]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040ad70
mov word [ebp - 0x74], 0x14
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Inifiles_TIniFile_]
call fcn.0040246c
mov dword [ebp - 0x8c], eax
mov word [ebp - 0x74], 0x2c
mov edx, 0x40c745
lea eax, [ebp - 0x28]
call fcn.0040ac5c
inc dword [ebp - 0x68]
push dword [eax]
lea eax, [ebp - 8]
call fcn.004021e0
push eax
inc dword [ebp - 0x68]
lea eax, [ebp - 0x24]
call fcn.004021e0
push eax
inc dword [ebp - 0x68]
mov edx, dword [ebp - 0x88]
mov edx, dword [edx + 0x310]
lea eax, [ebp - 0x20]
call fcn.0040ad2c
mov edx, eax
inc dword [ebp - 0x68]
mov eax, str.NombreCatDef
pop ecx
call fcn.0040b0c8
lea eax, [ebp - 0x24]
push dword [eax]
mov edx, 0x40c72f
lea eax, [ebp - 0x1c]
call fcn.0040ac5c
inc dword [ebp - 0x68]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
dec dword [ebp - 0x68]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040ad70
mov word [ebp - 0x74], 0x14
mov word [ebp - 0x74], 0x38
mov edx, 0x40c757
lea eax, [ebp - 0x38]
call fcn.0040ac5c
inc dword [ebp - 0x68]
push dword [eax]
lea eax, [ebp - 0xc]
call fcn.004021e0
push eax
inc dword [ebp - 0x68]
lea eax, [ebp - 0x34]
call fcn.004021e0
push eax
inc dword [ebp - 0x68]
mov edx, dword [ebp - 0x88]
mov edx, dword [edx + 0x310]
lea eax, [ebp - 0x30]
call fcn.0040ad2c
mov edx, eax
inc dword [ebp - 0x68]
mov eax, 0x40c74f
pop ecx
call fcn.0040b0c8
lea eax, [ebp - 0x34]
push dword [eax]
mov edx, 0x40c746
lea eax, [ebp - 0x2c]
call fcn.0040ac5c
inc dword [ebp - 0x68]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
dec dword [ebp - 0x68]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040ad70
mov word [ebp - 0x74], 0x14
mov word [ebp - 0x74], 0x44
lea eax, [ebp - 0x3c]
call fcn.004021e0
mov edx, eax
inc dword [ebp - 0x68]
mov eax, dword [ebp - 0xc]
call fcn.00408f50
lea edx, [ebp - 0x3c]
lea eax, [ebp - 4]
call fcn.0040ada0
dec dword [ebp - 0x68]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0040ad70
mov word [ebp - 0x74], 0x50
lea eax, [ebp - 0x40]
call fcn.004021e0
mov ecx, eax
inc dword [ebp - 0x68]
lea edx, [ebp - 8]
mov eax, str.SELECT_CVE_CATEGORIA_FROM_CATEGORIAS_WHERE_NOMBRE___
call fcn.0040b0c8
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x10]
call fcn.004021e0
push eax
inc dword [ebp - 0x68]
mov edx, 0x40c78e
lea eax, [ebp - 0x44]
call fcn.0040ac5c
inc dword [ebp - 0x68]
lea edx, [ebp - 0x44]
pop ecx
pop eax
call fcn.0040adc8
dec dword [ebp - 0x68]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
cwde
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0040ad70
mov word [ebp - 0x74], 0x14
lea eax, [ebp - 0xc]
call fcn.0040274c
test al, al
jne 0x405845
push 0x10
call sub.CC3260MT.DLL___bnew_qui
pop ecx
mov dword [ebp - 0x48], eax
test eax, eax
je 0x40575a
mov word [ebp - 0x74], 0x68
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
call fcn.00408378
mov word [ebp - 0x74], 0x5c
mov edx, dword [ebp - 0x48]
jmp 0x40575d
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x90]
call fcn.004089c8
mov edx, str.CVE_CATEGORIA
lea eax, [ebp - 0x58]
call fcn.0040ac5c
inc dword [ebp - 0x68]
mov edx, dword [eax]
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
lea eax, [ebp - 0x54]
call fcn.004021e0
push eax
inc dword [ebp - 0x68]
mov edx, dword [ebp - 0x88]
mov edx, dword [edx + 0x310]
lea eax, [ebp - 0x50]
call fcn.0040ad2c
mov edx, eax
inc dword [ebp - 0x68]
mov eax, 0x40c799
pop ecx
call fcn.0040b0c8
lea eax, [ebp - 0x54]
push dword [eax]
mov word [ebp - 0x74], 0x74
mov edx, 0x40c790
lea eax, [ebp - 0x4c]
call fcn.0040ac5c
inc dword [ebp - 0x68]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
dec dword [ebp - 0x68]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x68]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0040ad70
mov word [ebp - 0x74], 8
mov word [ebp - 0x74], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 0
je 0x4058c1
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov dword [ebp - 0x5c], edx
mov word [ebp - 0x74], 0x8c
mov edx, 3
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x74], 0x80
cmp dword [ebp - 0x90], 0
je 0x4058fa
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_GetActive_qqrv
test al, al
je 0x4058ea
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0xc]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov edx, 3
mov eax, dword [ebp - 0x90]
call fcn.00408af0
cmp word [ebp - 0x72], 0
je 0x405902
ret
mov edx, dword [ebp - 0x84]
mov dword fs:[0], edx
mov edi, dword [ebp - 0xa0]
mov esi, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x98]
mov esp, ebp
pop ebp
ret