Function at 0x404770
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x41a8a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [0x41a894]
inc dword [0x41b984]
inc dword [eax]
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x200]
mov dword [ebp - 0x17c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x7c], eax
mov word [ebp - 0x28], ax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x184]
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x124]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x1f8], 0xd
mov dword [ebp - 0x1f4], 0xc
mov dword [ebp - 0x1d4], 0x41a000
mov dword [ebp - 0x1d0], 0x41a020
mov dword [ebp - 0x1d8], str.select_SEI_SANNI___SEI_SMAXI___SEI_SMAXSGRI___SEI_SEUIL_GRANDS_RISQUES___:b0:b1_INTO_:b2___:b3___:b4:b5_FROM_SEI_WHERE_SEI_OIDSOC__:b6_AND_SEI_DAT____SELECT_MAX___SEI_DAT___FROM_SEI_WHERE_SEI_DAT___:b7_AND_SEI_OIDSOC__:b6__
mov dword [ebp - 0x1f0], 1
mov dword [ebp - 0x1ec], 0x251
mov dword [ebp - 0x1e8], 0x11000001
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x1e0], 0x413298
mov dword [ebp - 0x1dc], 0x45ee40
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x184], 0x41b978
mov dword [ebp - 0x154], 8
mov dword [ebp - 0x124], 0
mov dword [ebp - 0xf4], 0x45eeca
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x150], 8
mov dword [ebp - 0x120], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x14c], 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x178], 0x41b970
mov dword [ebp - 0x148], 8
mov dword [ebp - 0xe8], 0x45eec8
mov dword [ebp - 0x174], 0x41cb53
mov dword [ebp - 0x144], 0x25
mov dword [ebp - 0x170], 0x41cb80
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x16c], 0x41cb53
mov dword [ebp - 0x13c], 0x25
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1f8]
push 0x413208
push eax
push 0x41a02c
push 0
call sub.orasql12.dll_sqlcxt
add esp, 0x10
cmp dword [0x45ee4c], 0
je 0x404ab8
push 0x3ff
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncReset_8]
push str.CalcPRQ
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetPhase_8]
push str.RECHERCHE
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetEtape_8]
push str.SeuilApp
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetAction_8]
push str.CodeSoc
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetOccurName_8]
push 0x41cb53
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetOccurValue_8]
push str.SeuilAbs
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetSubOccurName_8]
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADErrorFonc_4]
mov eax, dword [0x41a894]
pop edi
pop esi
pop ebx
dec dword [eax]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407d45
mov esp, ebp
pop ebp
ret
movsd xmm0, qword [ebp - 0x208]
movsd qword [esi], xmm0
movsd xmm0, qword [ebp - 0x200]
movsd qword [edi], xmm0
cmp word [0x45eec8], 0xffff
jne 0x404c5d
xor eax, eax
mov dword [ebp - 0x1f8], 0xd
mov word [ebp - 0x34], ax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x184]
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1f8]
push 0x413208
push eax
push 0x41a02c
push 0
mov dword [ebp - 0x1f4], 0xc
mov dword [ebp - 0x1d4], 0x41a000
mov dword [ebp - 0x1d0], 0x41a020
mov dword [ebp - 0x1d8], str.select_PRR_SMAXSGRR_INTO_:b0:b1_FROM_PRR
mov dword [ebp - 0x1f0], 1
mov dword [ebp - 0x1ec], 0x27c
mov dword [ebp - 0x1e8], 0x11000001
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x1e0], 0x413298
mov dword [ebp - 0x1dc], 0x45ee40
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x184], 0x41b970
mov dword [ebp - 0x154], 8
mov dword [ebp - 0x124], 0
mov dword [ebp - 0xf4], 0x45eec8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x94], 0
call sub.orasql12.dll_sqlcxt
add esp, 0x10
cmp dword [0x45ee4c], 0
je 0x404c5d
push 0x3ff
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncReset_8]
push str.CalcPRQ
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetPhase_8]
push str.RECHERCHE
push 0x45ed40
call dword [sym.imp.CADArchit.dll__CADCtxtFoncSetEtape_8]
push str.SeuilAppGR
jmp 0x404a55
cmp word [0x45eeca], 0xffff
je 0x404c7d
movsd xmm0, qword [0x41b978]
ucomisd xmm0, qword [0x414a38]
lahf
test ah, 0x44
jp 0x404c85
movsd xmm0, qword [0x414a48]
mulsd xmm0, qword [0x414a50]
mov eax, dword [0x41a894]
mov ecx, dword [ebp - 4]
pop edi
pop esi
movsd qword [0x41b978], xmm0
xor ecx, ebp
movsd xmm0, qword [0x41b970]
mulsd xmm0, qword [0x414a50]
pop ebx
movsd qword [0x41b970], xmm0
dec dword [eax]
xor eax, eax
call fcn.00407d45
mov esp, ebp
pop ebp
ret