Function at 0x4091fc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
push ebx
push esi
push edi
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 4], eax
mov eax, 0x410394
call fcn.0040aba4
mov dword [ebp - 0x7c], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.0040ac94
inc dword [ebp - 0x7c]
mov word [ebp - 0x88], 8
mov word [ebp - 0x88], 0x14
lea eax, [ebp - 8]
call fcn.004021e0
inc dword [ebp - 0x7c]
mov word [ebp - 0x88], 8
mov word [ebp - 0x88], 0x20
lea eax, [ebp - 0xc]
call fcn.004021e0
inc dword [ebp - 0x7c]
mov word [ebp - 0x88], 8
xor edx, edx
mov dword [ebp - 0xa4], edx
xor ecx, ecx
mov dword [ebp - 0xac], ecx
mov word [ebp - 0x88], 0x2c
cmp dword [ebp - 0xa0], 0
jne 0x40930a
push 0x10
call sub.CC3260MT.DLL___bnew_qui
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4092e0
mov word [ebp - 0x88], 0x44
lea eax, [ebp - 0x10]
call fcn.004021e0
push eax
inc dword [ebp - 0x7c]
call fcn.00408c10
pop ecx
lea edx, [ebp - 0x10]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00408378
mov word [ebp - 0x88], 0x38
mov ecx, dword [ebp - 0x14]
jmp 0x4092e3
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa4], ecx
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040ad70
mov eax, dword [ebp - 0xa4]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xa8], edx
jmp 0x409327
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0xa4]
call fcn.00408928
mov dword [ebp - 0xa8], eax
mov word [ebp - 0x88], 0x50
mov edx, str.SELECT__FROM_AFILIADOS_WHERE_CVE_ASOCIADO__:CVE_ASOCIADO
lea eax, [ebp - 0x18]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.0040ada0
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040ad70
mov ecx, dword [ebp - 0xa8]
add ecx, 0x248
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov ecx, dword [ebp - 0xa8]
add ecx, 0x248
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov word [ebp - 0x88], 0x5c
mov edx, 0x40f42d
lea eax, [ebp - 0x1c]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa8]
call sub.bdertl60.bpl__Dbtables_TQuery_ParamByName_qqrx17System_AnsiString
mov edx, dword [ebp - 4]
call sub.dbrtl60.bpl__Db_TParam_SetAsString_qqrx17System_AnsiString
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040ad70
mov eax, dword [ebp - 0xa8]
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
mov word [ebp - 0x88], 0x68
mov edx, 0x40f43a
lea eax, [ebp - 0x20]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa8]
call sub.dbrtl60.bpl__Db_TDataSet_FindField_qqrx17System_AnsiString
push eax
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040ad70
pop ecx
test ecx, ecx
je 0x409518
mov word [ebp - 0x88], 0x74
mov edx, 0x40f443
lea eax, [ebp - 0x24]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa8]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x28]
call fcn.004021e0
mov edx, eax
inc dword [ebp - 0x7c]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
lea edx, [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.0040ada0
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040ad70
cmp dword [ebp - 0x9c], 0
je 0x409867
mov word [ebp - 0x88], 0x80
mov edx, 0x40f44c
lea eax, [ebp - 0x2c]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa8]
call sub.dbrtl60.bpl__Db_TDataSet_FieldByName_qqrx17System_AnsiString
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x30]
call fcn.004021e0
mov edx, eax
inc dword [ebp - 0x7c]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x9c]
call fcn.0040ada0
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040ad70
jmp 0x409867
mov word [ebp - 0x88], 0x8c
lea eax, [ebp - 0x3c]
call fcn.004021e0
push eax
inc dword [ebp - 0x7c]
mov edx, 0x40f455
lea eax, [ebp - 0x38]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x34]
call fcn.004021e0
push eax
inc dword [ebp - 0x7c]
call fcn.00408c10
pop ecx
lea eax, [ebp - 0x34]
pop edx
pop ecx
call fcn.0040adc8
lea ecx, [ebp - 0x3c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Inifiles_TIniFile_]
call fcn.0040246c
mov dword [ebp - 0xac], eax
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040ad70
mov word [ebp - 0x88], 0x98
mov edx, str.ec.ejecomercial.com.mx
lea eax, [ebp - 0x48]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
push dword [eax]
lea eax, [ebp - 0x4c]
call fcn.004021e0
push eax
inc dword [ebp - 0x7c]
mov edx, 0x40f472
lea eax, [ebp - 0x44]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
push dword [eax]
mov edx, 0x40f467
lea eax, [ebp - 0x40]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xac]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 8]
call fcn.0040ada0
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0040ad70
mov word [ebp - 0x88], 0xa4
mov edx, str.ALTER_TABLE_AFILIADOS_ADD_SERVIDOR_CHAR_30___ADD_DIR_BASE_CHAR_255_
lea eax, [ebp - 0x50]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x50]
lea eax, [ebp - 0xc]
call fcn.0040ada0
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0040ad70
mov eax, dword [ebp - 0xa8]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov edx, dword [ebp - 0xa8]
add edx, 0x248
mov dword [ebp - 0xc0], edx
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx]
mov edx, dword [eax]
call dword [edx + 0x44]
mov ecx, dword [ebp - 0xa8]
add ecx, 0x248
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xa8]
call sub.bdertl60.bpl__Dbtables_TQuery_ExecSQL_qqrv
mov word [ebp - 0x88], 0xb0
mov edx, str.UPDATE_AFILIADOS_SET_SERVIDOR__:SERVIDOR__DIR_BASE__:DIR_BASE
lea eax, [ebp - 0x54]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x54]
lea eax, [ebp - 0xc]
call fcn.0040ada0
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0040ad70
mov eax, dword [ebp - 0xa8]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
mov edx, dword [ebp - 0xa8]
add edx, 0x248
mov dword [ebp - 0xc8], edx
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov edx, dword [eax]
call dword [edx + 0x44]
mov ecx, dword [ebp - 0xa8]
add ecx, 0x248
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov word [ebp - 0x88], 0xbc
mov edx, 0x40f516
lea eax, [ebp - 0x58]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa8]
call sub.bdertl60.bpl__Dbtables_TQuery_ParamByName_qqrx17System_AnsiString
mov edx, dword [ebp - 8]
call sub.dbrtl60.bpl__Db_TParam_SetAsString_qqrx17System_AnsiString
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0040ad70
mov edx, str.c:ServiciosAspAspelInternet
lea eax, [ebp - 0x68]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
push dword [eax]
lea eax, [ebp - 0x6c]
call fcn.004021e0
push eax
inc dword [ebp - 0x7c]
mov edx, str.Directorio
lea eax, [ebp - 0x64]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
push dword [eax]
mov edx, str.DirRemotoBase
lea eax, [ebp - 0x60]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xac]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
lea eax, [ebp - 0x6c]
push dword [eax]
mov word [ebp - 0x88], 0xc8
mov edx, str.DIR_BASE
lea eax, [ebp - 0x5c]
call fcn.0040ac5c
inc dword [ebp - 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa8]
call sub.bdertl60.bpl__Dbtables_TQuery_ParamByName_qqrx17System_AnsiString
pop edx
call sub.dbrtl60.bpl__Db_TParam_SetAsString_qqrx17System_AnsiString
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0040ad70
mov eax, dword [ebp - 0xa8]
call sub.bdertl60.bpl__Dbtables_TQuery_ExecSQL_qqrv
mov word [ebp - 0x88], 8
mov eax, dword [ebp - 0xa8]
call sub.dbrtl60.bpl__Db_TDataSet_GetActive_qqrv
test al, al
je 0x40988a
mov eax, dword [ebp - 0xa8]
call sub.dbrtl60.bpl__Db_TDataSet_Close_qqrv
cmp dword [ebp - 0xa0], 0
jne 0x4098a5
mov edx, 3
mov eax, dword [ebp - 0xa4]
call fcn.00408af0
jmp 0x4098b6
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa4]
call fcn.00408a64
cmp dword [ebp - 0xac], 0
je 0x4098f5
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x74], 0
je 0x4098f5
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx]
mov dword [ebp - 0x70], eax
mov word [ebp - 0x88], 0xe0
mov edx, 3
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x88], 0xd4
cmp word [ebp - 0x86], 0
je 0x409900
ret
mov word [ebp - 0x88], 0xec
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.0040ada0
mov eax, dword [ebp + 8]
mov word [ebp - 0x88], 0xf8
push eax
dec dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040ad70
dec dword [ebp - 0x7c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0040ad70
pop eax
mov word [ebp - 0x88], 0xec
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 0x98]
mov dword fs:[0], edx
mov edi, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xd4]
mov ebx, dword [ebp - 0xd0]
mov esp, ebp
pop ebp
ret 4