Function at 0x406060
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb38
mov eax, dword [0x41a8a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x4e2
mov dword [ebp - 0xb30], eax
xor edi, edi
lea eax, [ebp - 0x4e8]
push edi
push eax
call fcn.00407d60
mov eax, dword [0x41a894]
lea esi, [edi + 1]
inc dword [0x41b9a4]
xor ebx, ebx
push 0x414a70
mov dword [ebp - 0xb1c], 0xd
inc dword [eax]
mov eax, dword [str.SELECT_DISTINCT_TIE_._OID___TIE_._TIE_OIDTRT___TIE_._TIE_IDTIE___TIE_._TIE_CDERSP___TIE_._TIE_RAISOC___TIE_._TIE_OIDGRP___TIE_._TIE_IDGRP___TIE_._TIE_TYPTIE___TIE_._TIE_ACECT___TIE_._TIE_AGENT___TIE_._TIE_PANAT___TIE_._TIE_FLGSURV___TIE_._TIE_SURV___TIE_._TIE_SOLID___TIE_._TIE_LIEDOM___TIE_NACE___TIE_IDCEN___TIE_._TIE_ZONDO___TIE_._TIE_PADOM___TIE_._TIE_GRPDO___TIE_._TIE_ORGSST___TIE_._TIE_ZONAT___TIE_._TIE_GRECT___TIE_._TIE_GRPSI___TIE_._TIE_INDNAN___TIE_._TIE_RATING___TIE_._TIE_RATN1___TIE_._TIE_RATN2___TIE_._TIE_NATSOU___TIE_._TIE_ORGEX___TIE_._TIE_CA___TIE_._TIE_RES___TIE_._TIE_NBEMP___TIE_._TIE_RETAIL___TIE_._TIE_CCBRATED___TIE_._TIE_CCBRATEC___TIE_._TIE_CCBTHRESGCE___TIE_._TIE_CCBTHRESTBE___TIE_._TIE_CONSENT___TIE_._TIE_RATIO___TIE_CATLI___TIE_._TIE_IDNATIONAL___TIE_TYPENT___TIE_FLGPME___TIE_._TIE_FLGINSERT___TIE_._TIMESTAMP_FROM_TIE___EGP_WHERE_EGP_IDTIE__TIE_IDTIE_AND_EGP_OIDTRT__TIE_OIDTRT_AND___TIE_TYPTIE__I_OR_TIE_TYPTIE__C___AND_TIE_OIDTRT__:b0_ORDER_BY_TIE_IDTIE]
mov dword [ebp - 0xafc], eax
xor eax, eax
mov word [ebp - 0x5a0], ax
mov word [ebp - 0x544], ax
lea eax, [ebp - 0xaa8]
mov dword [ebp - 0xaf0], eax
lea eax, [ebp - 0x9f0]
mov dword [ebp - 0xaec], eax
lea eax, [ebp - 0x938]
mov dword [ebp - 0xae8], eax
lea eax, [ebp - 0x880]
mov dword [ebp - 0xae4], eax
lea eax, [ebp - 0x7c8]
mov dword [ebp - 0xae0], eax
lea eax, [ebp - 0x710]
mov dword [ebp - 0xadc], eax
lea eax, [ebp - 0x658]
mov dword [ebp - 0xad8], eax
lea eax, [ebp - 0x5a0]
mov dword [ebp - 0xad4], eax
lea eax, [ebp - 0x544]
mov dword [ebp - 0xad0], eax
lea eax, [ebp - 0xb1c]
push eax
push 0x41a254
push ebx
mov dword [ebp - 0xb18], 1
mov dword [ebp - 0xaf8], 0x41a228
mov dword [ebp - 0xaf4], 0x41a248
mov dword [ebp - 0xb14], 1
mov dword [ebp - 0xb10], 0x18
mov dword [ebp - 0xb0c], 0x11000001
mov dword [ebp - 0xaac], ebx
mov dword [ebp - 0xb04], 0x414ae8
mov dword [ebp - 0xb00], 0x45ee40
mov dword [ebp - 0xb08], ebx
mov dword [ebp - 0xab4], ebx
mov dword [ebp - 0xaa8], 0x41cb00
mov dword [ebp - 0x9f0], 0x25
mov dword [ebp - 0x938], ebx
mov dword [ebp - 0x880], ebx
mov dword [ebp - 0x7c8], ebx
mov dword [ebp - 0x710], ebx
call sub.orasql12.dll_sqlcxt
add esp, 0x1c
cmp dword [0x45ee4c], ebx
je 0x406261
push 0x45ee40
push str.Open_Curseur_Tiers_Ind
lea eax, [ebp - 0x4e8]
push eax
push dword [0x41b9a4]
push dword [0x41a894]
push 0x2cc
push str.MAIN_TraiteTiersInd
push str.CADPos01GenCADPos01main.c
call dword [sym.imp.CADArchit.dll__CADErrorTechSql_32]
push ebx
push str.Technical_Error_returned
lea eax, [ebp - 0x4e8]
push eax
push dword [0x41b9a4]
push dword [0x41a894]
push 0x2cd
push str.MAIN_TraiteTiersInd
push str.CADPos01GenCADPos01main.c
call dword [sym.imp.CADArchit.dll__CADErrorTech_32]
mov ecx, dword [0x41a894]
mov eax, esi
pop edi
pop esi
pop ebx
dec dword [ecx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407d45
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.CADCommon.dll__CADFiltreSqlCode_4]
push 0
call esi
test eax, eax
jne 0x407392
xor eax, eax
mov dword [ebp - 0xb1c], 0xd
mov dword [ebp - 0xb18], 0x2e
mov dword [ebp - 0xaf8], 0x41a228
mov dword [ebp - 0xaf4], 0x41a248
mov dword [ebp - 0xb14], 0x1f4
mov dword [ebp - 0xb10], 0x2b
mov dword [ebp - 0xb0c], 0x11000001
mov dword [ebp - 0xaac], 0
mov dword [ebp - 0xb04], 0x414ae8
mov dword [ebp - 0xb00], 0x45ee40
mov dword [ebp - 0xb08], 0
mov dword [ebp - 0xab8], 0
mov dword [ebp - 0xab0], 2
mov dword [ebp - 0xaa8], 0x428000
mov dword [ebp - 0x9f0], 0x25
mov dword [ebp - 0x938], 0x1c0
mov dword [ebp - 0x880], 0x41cc40
mov dword [ebp - 0x7c8], 0x5c
mov dword [ebp - 0x710], 0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x5a0], eax
mov dword [ebp - 0x544], eax
mov dword [ebp - 0xaa4], 0x428025
mov dword [ebp - 0x9ec], 0x25
mov dword [ebp - 0x934], 0x1c0
mov dword [ebp - 0x87c], 0x41cc42
mov dword [ebp - 0x7c4], 0x5c
mov dword [ebp - 0x70c], eax
mov dword [ebp - 0x654], eax
mov dword [ebp - 0xaa0], 0x42804a
mov dword [ebp - 0x9e8], 0x1f
mov dword [ebp - 0x930], 0x1c0
mov dword [ebp - 0x878], 0x41cc44
mov dword [ebp - 0x7c0], 0x5c
mov dword [ebp - 0x708], eax
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x59c], eax
mov dword [ebp - 0x540], eax
mov dword [ebp - 0xa9c], 0x428069
mov dword [ebp - 0x9e4], 0xb
mov dword [ebp - 0x92c], 0x1c0
mov dword [ebp - 0x874], 0x41cc46
mov dword [ebp - 0x7bc], 0x5c
mov dword [ebp - 0x704], eax
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0xa98], 0x428074
mov dword [ebp - 0x9e0], 0x2e
mov dword [ebp - 0x928], 0x1c0
mov dword [ebp - 0x870], 0x41cc48
mov dword [ebp - 0x7b8], 0x5c
mov dword [ebp - 0x700], eax
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x598], eax
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0xa94], 0x4280a2
mov dword [ebp - 0x9dc], 0x25
mov dword [ebp - 0x924], 0x1c0
mov dword [ebp - 0x86c], 0x41cc4a
mov dword [ebp - 0x7b4], 0x5c
mov dword [ebp - 0x6fc], eax
mov dword [ebp - 0x644], eax
mov dword [ebp - 0xa90], 0x4280c7
mov dword [ebp - 0x9d8], 0x1f
mov dword [ebp - 0x920], 0x1c0
mov dword [ebp - 0x868], 0x41cc4c
mov dword [ebp - 0x7b0], 0x5c
mov dword [ebp - 0x6f8], eax
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x594], eax
mov dword [ebp - 0x538], eax
mov dword [ebp - 0xa8c], 0x4280e6
mov dword [ebp - 0x9d4], 2
mov dword [ebp - 0x91c], 0x1c0
mov dword [ebp - 0x864], 0x41cc4e
mov dword [ebp - 0x7ac], 0x5c
mov dword [ebp - 0x6f4], eax
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0xa88], 0x4280e8
mov dword [ebp - 0x9d0], 6
mov dword [ebp - 0x918], 0x1c0
mov dword [ebp - 0x860], 0x41cc50
mov dword [ebp - 0x7a8], 0x5c
mov dword [ebp - 0x6f0], eax
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x590], eax
mov dword [ebp - 0x534], eax
mov dword [ebp - 0xa84], 0x4280ee
mov dword [ebp - 0x9cc], 6
mov dword [ebp - 0x914], 0x1c0
mov dword [ebp - 0x85c], 0x41cc52
mov dword [ebp - 0x7a4], 0x5c
mov dword [ebp - 0x6ec], eax
mov dword [ebp - 0x634], eax
mov dword [ebp - 0xa80], 0x4280f4
mov dword [ebp - 0x9c8], 3
mov dword [ebp - 0x910], 0x1c0
mov dword [ebp - 0x858], 0x41cc54
mov dword [ebp - 0x7a0], 0x5c
mov dword [ebp - 0x6e8], eax
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x58c], eax
mov dword [ebp - 0x530], eax
mov dword [ebp - 0xa7c], 0x4280f7
mov dword [ebp - 0x9c4], 2
mov dword [ebp - 0x90c], 0x1c0
mov dword [ebp - 0x854], 0x41cc56
mov dword [ebp - 0x79c], 0x5c
mov dword [ebp - 0x6e4], eax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0xa78], 0x4280f9
mov dword [ebp - 0x9c0], 2
mov dword [ebp - 0x908], 0x1c0
mov dword [ebp - 0x850], 0x41cc58
mov dword [ebp - 0x798], 0x5c
mov dword [ebp - 0x6e0], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x588], eax
mov dword [ebp - 0x52c], eax
mov dword [ebp - 0xa74], 0x4280fb
mov dword [ebp - 0x9bc], 2
mov dword [ebp - 0x904], 0x1c0
mov dword [ebp - 0x84c], 0x41cc5a
mov dword [ebp - 0x794], 0x5c
mov dword [ebp - 0x6dc], eax
mov dword [ebp - 0x624], eax
mov dword [ebp - 0xa70], 0x4280fd
mov dword [ebp - 0x9b8], 0x1a
mov dword [ebp - 0x900], 0x1c0
mov dword [ebp - 0x848], 0x41cc5c
mov dword [ebp - 0x790], 0x5c
mov dword [ebp - 0x6d8], eax
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x584], eax
mov dword [ebp - 0x528], eax
mov dword [ebp - 0xa6c], 0x428117
mov dword [ebp - 0x9b4], 6
mov dword [ebp - 0x8fc], 0x1c0
mov dword [ebp - 0x844], 0x41cc5e
mov dword [ebp - 0x78c], 0x5c
mov dword [ebp - 0x6d4], eax
mov dword [ebp - 0x61c], eax
mov dword [ebp - 0xa68], 0x42811d
mov dword [ebp - 0x9b0], 0x15
mov dword [ebp - 0x8f8], 0x1c0
mov dword [ebp - 0x840], 0x41cc60
mov dword [ebp - 0x788], 0x5c
mov dword [ebp - 0x6d0], eax
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x580], eax
mov dword [ebp - 0x524], eax
mov dword [ebp - 0xa64], 0x428132
mov dword [ebp - 0x9ac], 2
mov dword [ebp - 0x8f4], 0x1c0
mov dword [ebp - 0x83c], 0x41cc62
mov dword [ebp - 0x784], 0x5c
mov dword [ebp - 0x6cc], eax
mov dword [ebp - 0x614], eax
mov dword [ebp - 0xa60], 0x428134
mov dword [ebp - 0x9a8], 3
mov dword [ebp - 0x8f0], 0x1c0
mov dword [ebp - 0x838], 0x41cc64
mov dword [ebp - 0x780], 0x5c
mov dword [ebp - 0x6c8], eax
mov dword [ebp - 0x610], eax
mov dword [ebp - 0x57c], eax
mov dword [ebp - 0x520], eax
mov dword [ebp - 0xa5c], 0x428137
mov dword [ebp - 0x9a4], 2
mov dword [ebp - 0x8ec], 0x1c0
mov dword [ebp - 0x834], 0x41cc66
mov dword [ebp - 0x77c], 0x5c
mov dword [ebp - 0x6c4], eax
mov dword [ebp - 0x60c], eax
mov dword [ebp - 0xa58], 0x428139
mov dword [ebp - 0x9a0], 2
mov dword [ebp - 0x8e8], 0x1c0
mov dword [ebp - 0x830], 0x41cc68
mov dword [ebp - 0x778], 0x5c
mov dword [ebp - 0x6c0], eax
mov dword [ebp - 0x608], eax
mov dword [ebp - 0x578], eax
mov dword [ebp - 0x51c], eax
mov dword [ebp - 0xa54], 0x42813b
mov dword [ebp - 0x99c], 2
mov dword [ebp - 0x8e4], 0x1c0
mov dword [ebp - 0x82c], 0x41cc6a
mov dword [ebp - 0x774], 0x5c
mov dword [ebp - 0x6bc], eax
mov dword [ebp - 0x604], eax
mov dword [ebp - 0xa50], 0x42813d
mov dword [ebp - 0x998], 3
mov dword [ebp - 0x8e0], 0x1c0
mov dword [ebp - 0x828], 0x41cc6c
mov dword [ebp - 0x770], 0x5c
mov dword [ebp - 0x6b8], eax
mov dword [ebp - 0x600], eax
mov dword [ebp - 0x574], eax
mov dword [ebp - 0x518], eax
mov dword [ebp - 0xa4c], 0x428140
mov dword [ebp - 0x994], 2
mov dword [ebp - 0x8dc], 0x1c0
mov dword [ebp - 0x824], 0x41cc6e
mov dword [ebp - 0x76c], 0x5c
mov dword [ebp - 0x6b4], eax
mov dword [ebp - 0x5fc], eax
mov dword [ebp - 0xa48], 0x428142
mov dword [ebp - 0x990], 2
mov dword [ebp - 0x8d8], 0x1c0
mov dword [ebp - 0x820], 0x41cc70
mov dword [ebp - 0x768], 0x5c
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 0x5f8], eax
mov dword [ebp - 0x570], eax
mov dword [ebp - 0x514], eax
mov dword [ebp - 0xa44], 0x428144
mov dword [ebp - 0x98c], 6
mov dword [ebp - 0x8d4], 0x1c0
mov dword [ebp - 0x81c], 0x41cc72
mov dword [ebp - 0x764], 0x5c
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x5f4], eax
mov dword [ebp - 0xa40], 0x42814a
mov dword [ebp - 0x988], 6
mov dword [ebp - 0x8d0], 0x1c0
mov dword [ebp - 0x818], 0x41cc74
mov dword [ebp - 0x760], 0x5c
mov dword [ebp - 0x6a8], eax
mov dword [ebp - 0x5f0], eax
mov dword [ebp - 0x56c], eax
mov dword [ebp - 0x510], eax
mov dword [ebp - 0xa3c], 0x428150
mov dword [ebp - 0x984], 6
mov dword [ebp - 0x8cc], 0x1c0
mov dword [ebp - 0x814], 0x41cc76
mov dword [ebp - 0x75c], 0x5c
mov dword [ebp - 0x6a4], eax
mov dword [ebp - 0x5ec], eax
mov dword [ebp - 0xa38], 0x428156
mov dword [ebp - 0x980], 2
mov dword [ebp - 0x8c8], 0x1c0
mov dword [ebp - 0x810], 0x41cc78
mov dword [ebp - 0x758], 0x5c
mov dword [ebp - 0x6a0], eax
mov dword [ebp - 0x5e8], eax
mov dword [ebp - 0x568], eax
mov dword [ebp - 0x50c], eax
mov dword [ebp - 0xa34], 0x428158
mov dword [ebp - 0x97c], 2
mov dword [ebp - 0x8c4], 0x1c0
mov dword [ebp - 0x80c], 0x41cc7a
mov dword [ebp - 0x754], 0x5c
mov dword [ebp - 0x69c], eax
mov dword [ebp - 0x5e4], eax
mov dword [ebp - 0xa30], 0x428160
mov dword [ebp - 0x978], 8
mov dword [ebp - 0x8c0], 0x1c0
mov dword [ebp - 0x808], 0x41cc7c
mov dword [ebp - 0x750], 0x5c
mov dword [ebp - 0x698], eax
mov dword [ebp - 0x5e0], eax
mov dword [ebp - 0x564], eax
mov dword [ebp - 0x508], eax
mov dword [ebp - 0xa2c], 0x428168
mov dword [ebp - 0x974], 8
mov dword [ebp - 0x8bc], 0x1c0
mov dword [ebp - 0x804], 0x41cc7e
mov dword [ebp - 0x74c], 0x5c
mov dword [ebp - 0x694], eax
mov dword [ebp - 0x5dc], eax
mov dword [ebp - 0xa28], 0x428170
mov dword [ebp - 0x970], 8
mov dword [ebp - 0x8b8], 0x1c0
mov dword [ebp - 0x800], 0x41cc80
mov dword [ebp - 0x748], 0x5c
mov dword [ebp - 0x690], eax
mov dword [ebp - 0x5d8], eax
mov dword [ebp - 0x560], eax
mov dword [ebp - 0x504], eax
mov dword [ebp - 0xa24], 0x428178
mov dword [ebp - 0x96c], 2
mov dword [ebp - 0x8b4], 0x1c0
mov dword [ebp - 0x7fc], 0x41cc82
mov dword [ebp - 0x744], 0x5c
mov dword [ebp - 0x68c], eax
mov dword [ebp - 0x5d4], eax
mov dword [ebp - 0xa20], 0x42817a
mov dword [ebp - 0x968], 6
mov dword [ebp - 0x8b0], 0x1c0
mov dword [ebp - 0x7f8], 0x41cc84
mov dword [ebp - 0x740], 0x5c
mov dword [ebp - 0x688], eax
mov dword [ebp - 0x5d0], eax
mov dword [ebp - 0x55c], eax
mov dword [ebp - 0x500], eax
mov dword [ebp - 0xa1c], 0x428180
mov dword [ebp - 0x964], 6
mov dword [ebp - 0x8ac], 0x1c0
mov dword [ebp - 0x7f4], 0x41cc86
mov dword [ebp - 0x73c], 0x5c
mov dword [ebp - 0x684], eax
mov dword [ebp - 0x5cc], eax
mov dword [ebp - 0xa18], 0x428186
mov dword [ebp - 0x960], 2
mov dword [ebp - 0x8a8], 0x1c0
mov dword [ebp - 0x7f0], 0x41cc88
mov dword [ebp - 0x738], 0x5c
mov dword [ebp - 0x680], eax
mov dword [ebp - 0x5c8], eax
mov dword [ebp - 0x558], eax
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0xa14], 0x428188
mov dword [ebp - 0x95c], 2
mov dword [ebp - 0x8a4], 0x1c0
mov dword [ebp - 0x7ec], 0x41cc8a
mov dword [ebp - 0x734], 0x5c
mov dword [ebp - 0x67c], eax
mov dword [ebp - 0x5c4], eax
mov dword [ebp - 0xa10], 0x42818a
mov dword [ebp - 0x958], 2
mov dword [ebp - 0x8a0], 0x1c0
mov dword [ebp - 0x7e8], 0x41cc8c
mov dword [ebp - 0x730], 0x5c
mov dword [ebp - 0x678], eax
mov dword [ebp - 0x5c0], eax
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x5bc], eax
mov dword [ebp - 0x670], eax
mov dword [ebp - 0x5b8], eax
mov dword [ebp - 0x550], eax
mov dword [ebp - 0x4f4], eax
mov dword [ebp - 0x66c], eax
mov dword [ebp - 0x5b4], eax
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x5b0], eax
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 0x664], eax
mov dword [ebp - 0x5ac], eax
mov dword [ebp - 0x660], eax
mov dword [ebp - 0x5a8], eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x65c], eax
mov dword [ebp - 0x5a4], eax
lea eax, [ebp - 0xaa8]
mov dword [ebp - 0xaf0], eax
lea eax, [ebp - 0x9f0]
mov dword [ebp - 0xaec], eax
lea eax, [ebp - 0x938]
mov dword [ebp - 0xae8], eax
lea eax, [ebp - 0x880]
mov dword [ebp - 0xae4], eax
lea eax, [ebp - 0x7c8]
mov dword [ebp - 0xae0], eax
lea eax, [ebp - 0x710]
mov dword [ebp - 0xadc], eax
lea eax, [ebp - 0x658]
mov dword [ebp - 0xad8], eax
lea eax, [ebp - 0x5a0]
mov dword [ebp - 0xad4], eax
lea eax, [ebp - 0x544]
push 0x414a70
mov dword [ebp - 0xad0], eax
lea eax, [ebp - 0xb1c]
push eax
push 0x41a254
mov dword [ebp - 0xa0c], 0x42818c
mov dword [ebp - 0x954], 2
mov dword [ebp - 0x89c], 0x1c0
mov dword [ebp - 0x7e4], 0x41cc8e
mov dword [ebp - 0x72c], 0x5c
mov dword [ebp - 0xa08], 0x42818e
mov dword [ebp - 0x950], 2
mov dword [ebp - 0x898], 0x1c0
mov dword [ebp - 0x7e0], 0x41cc90
mov dword [ebp - 0x728], 0x5c
mov dword [ebp - 0xa04], 0x428190
mov dword [ebp - 0x94c], 0x15
mov dword [ebp - 0x894], 0x1c0
mov dword [ebp - 0x7dc], 0x41cc92
mov dword [ebp - 0x724], 0x5c
mov dword [ebp - 0xa00], 0x4281a5
mov dword [ebp - 0x948], 2
mov dword [ebp - 0x890], 0x1c0
mov dword [ebp - 0x7d8], 0x41cc94
mov dword [ebp - 0x720], 0x5c
mov dword [ebp - 0x9fc], 0x4281a7
mov dword [ebp - 0x944], 2
mov dword [ebp - 0x88c], 0x1c0
mov dword [ebp - 0x7d4], 0x41cc96
mov dword [ebp - 0x71c], 0x5c
mov dword [ebp - 0x9f8], 0x4281a9
mov dword [ebp - 0x940], 2
mov dword [ebp - 0x888], 0x1c0
mov dword [ebp - 0x7d0], 0x41cc98
mov dword [ebp - 0x718], 0x5c
mov dword [ebp - 0x9f4], 0x4281ab
mov dword [ebp - 0x93c], 0x15
mov dword [ebp - 0x884], 0x1c0
mov dword [ebp - 0x7cc], 0x41cc9a
mov dword [ebp - 0x714], 0x5c
push 0
call sub.orasql12.dll_sqlcxt
add esp, 0x10
push dword [0x45ee4c]
call esi
mov esi, eax
mov dword [ebp - 0xb38], esi
cmp esi, 2
je 0x407343
mov eax, dword [0x45eea8]
sub eax, edi
mov edi, dword [0x45eea8]
mov dword [ebp - 0xb2c], eax
mov dword [ebp - 0xb34], edi
cmp esi, 1
ja 0x4071f7
mov dword [ebp - 0xb24], 0
test eax, eax
jle 0x40713d
mov edx, 0x41cc40
mov esi, 0x428000
mov dword [ebp - 0xb20], edx
mov dword [ebp - 0xb28], esi
movsd xmm0, qword [ebp + 0x18]
sub esp, 0x18
mov ecx, 0x70
mov edi, 0x45eb60
rep movsd dword es:[edi], dword [esi]
movsd qword [esp + 0x10], xmm0
mov esi, edx
movsd xmm0, qword [ebp + 0x10]
mov ecx, 0x17
movsd qword [esp + 8], xmm0
mov edi, 0x45eb00
movsd xmm0, qword [ebp + 0x20]
inc ebx
movsd qword [esp], xmm0
push dword [ebp - 0xb30]
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
call fcn.004021b0
add esp, 0x20
cmp eax, 1
je 0x4072bf
push str.Calcul_Position_risue
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetPhase_8]
push str.Position_Tiers_Individuel
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetEtape_8]
push str.Position_Tiers_Individuel
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetAction_8]
push str.Tiers
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetOccurName_8]
push 0x45ebaa
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetOccurValue_8]
mov eax, 0x51eb851f
mov ecx, ebx
imul ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
jne 0x4070f7
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCommit_4]
cmp eax, 1
je 0x407298
mov eax, dword [ebp - 0xb24]
mov esi, dword [ebp - 0xb28]
inc eax
mov edx, dword [ebp - 0xb20]
add esi, 0x1c0
add edx, 0x5c
mov dword [ebp - 0xb24], eax
mov dword [ebp - 0xb28], esi
mov dword [ebp - 0xb20], edx
cmp eax, dword [ebp - 0xb2c]
jl 0x407021
mov esi, dword [ebp - 0xb38]
mov edi, dword [ebp - 0xb34]
cmp esi, 1
jne 0x407285
mov eax, 0x1100
mov dword [ebp - 0xb1c], 0xd
mov word [ebp - 0xb0a], ax
lea eax, [ebp - 0xb1c]
push 0x414a70
push eax
push 0x41a254
push 0
mov dword [ebp - 0xb18], 0x2e
mov dword [ebp - 0xaf8], 0x41a228
mov dword [ebp - 0xaf4], 0x41a248
mov dword [ebp - 0xb14], esi
mov dword [ebp - 0xb10], 0xf2
mov dword [ebp - 0xb04], 0x414ae8
mov dword [ebp - 0xb00], 0x45ee40
mov dword [ebp - 0xb08], 0
call sub.orasql12.dll_sqlcxt
add esp, 0x10
cmp dword [0x45ee4c], 0
je 0x407285
push 0x45ee40
push str.Close_Curseur:c_tiers_non_groupe
lea eax, [ebp - 0x4e8]
push eax
push dword [0x41b9a4]
push dword [0x41a894]
push 0x4dd
jmp 0x407365
mov eax, 0x1100
mov dword [ebp - 0xb1c], 0xd
mov word [ebp - 0xb0a], ax
lea eax, [ebp - 0xb1c]
push 0x414a70
push eax
push 0x41a254
push 0
mov dword [ebp - 0xb18], 0x2e
mov dword [ebp - 0xaf8], 0x41a228
mov dword [ebp - 0xaf4], 0x41a248
mov dword [ebp - 0xb14], 1
mov dword [ebp - 0xb10], 0x101
mov dword [ebp - 0xb04], 0x414ae8
mov dword [ebp - 0xb00], 0x45ee40
mov dword [ebp - 0xb08], 0
call sub.orasql12.dll_sqlcxt
add esp, 0x10
cmp dword [0x45ee4c], 0
jne 0x40731f
test esi, esi
jne 0x407392
mov esi, dword [sym.imp.CADCommon.dll__CADFiltreSqlCode_4]
jmp 0x406273
push 0x45ee40
push str.Commit_Failed
lea eax, [ebp - 0x4e8]
push eax
push dword [0x41b9a4]
push dword [0x41a894]
push 0x4c1
jmp 0x407365
push 0
push 0x45ebaa
lea eax, [ebp - 0x4e8]
push eax
call dword [sym.imp.CADArchit.dll__CADSetCtxtTechIntegerValue_12]
push 0
push str.Technical_Error_returned
lea eax, [ebp - 0x4e8]
push eax
push dword [0x41b9a4]
push dword [0x41a894]
push 0x4b0
push str.MAIN_TraiteTiersInd
push str.CADPos01GenCADPos01main.c
call dword [sym.imp.CADArchit.dll__CADErrorTech_32]
mov eax, dword [0x41a894]
pop edi
pop esi
pop ebx
dec dword [eax]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407d45
mov esp, ebp
pop ebp
ret
push 0x45ee40
push str.Close_Curseur:c_tiers_non_groupe
lea eax, [ebp - 0x4e8]
push eax
push dword [0x41b9a4]
push dword [0x41a894]
push 0x4f9
jmp 0x407365
push 0x45ee40
push str.Fetch_Curseur:c_tiers_non_groupe
lea eax, [ebp - 0x4e8]
push eax
push dword [0x41b9a4]
push dword [0x41a894]
push 0x497
push str.MAIN_TraiteTiersInd
push str.CADPos01GenCADPos01main.c
call dword [sym.imp.CADArchit.dll__CADErrorTechSql_32]
mov eax, dword [0x41a894]
pop edi
pop esi
pop ebx
dec dword [eax]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407d45
mov esp, ebp
pop ebp
ret
mov eax, dword [0x41a894]
mov ecx, dword [ebp - 4]
pop edi
pop esi
dec dword [eax]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00407d45
mov esp, ebp
pop ebp
ret