Function at 0x425600
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x848
push ebx
push ebp
push esi
push edi
push 0x46054d8
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [esp + 0x85c]
mov edi, dword [esp + 0x860]
push 0x476ed38
push 0x476ed38
lea eax, [ebp + ebp*2]
lea eax, [eax + eax*8]
lea eax, [ebp + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebp + ecx*2]
lea edx, [eax + eax*4]
lea eax, [edi + edx*4]
lea ebx, [eax*8 + 0x6581fc]
lea eax, [ebp + ebp*2]
lea eax, [eax + eax*8]
lea eax, [ebp + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebp + ecx*2]
lea edx, [eax + eax*4]
lea eax, [edi*8]
shl edx, 5
sub eax, edi
lea ecx, [edx + eax + 0x65811c]
mov eax, dword [esp + 0x874]
push eax
push 0x476ed38
push eax
push 0x476ed38
push ebx
push 0x476ed38
push ecx
push 0x476ed38
push 0x476ed38
mov dword [esp + 0x48], ecx
push 0x476ed38
push 0x476ed38
lea ecx, [esp + 0x8c]
push str.SELECT_hptw__spre0.prdall_hptw__spre0.pralle_FROM_hptw__spre0_WHERE_hptw__spre0.prsoci_s_AND_hptw__spre0.prmatr_s_AND_hptw__spre0.prdain__d_AND_hptw__spre0.prdafi__d_AND_hptw__spre0.prtipoOVP_AND_hptw__spre0.prds04__S
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x3c
lea edx, [esp + 0x58]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
xor eax, eax
test esi, esi
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x425a82
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
test al, al
jne 0x425a82
mov al, byte [esi + 4]
test al, al
jne 0x4257c4
lea eax, [ebp + ebp*2]
lea eax, [eax + eax*8]
lea eax, [ebp + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebp + ecx*2]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [esp + 0x24], eax
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x10]
call fcn.0045f9d8
mov edi, eax
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x10]
call fcn.0045f9d8
push edi
mov dword [esp + 0x24], eax
call fcn.0045d320
mov ecx, dword [esp + 0x28]
mov edi, eax
mov edx, dword [ecx*4 + 0x65867c]
sub edi, edx
mov edx, dword [esp + 0x874]
push edx
call fcn.0045d320
add esp, 8
cmp edi, eax
jg 0x4257a8
mov eax, dword [esp + 0x20]
push eax
call fcn.0045d320
mov ecx, dword [esp + 0x28]
mov edi, eax
mov edx, dword [ecx*4 + 0x65867c]
add edi, edx
mov edx, dword [esp + 0x874]
push edx
call fcn.0045d320
add esp, 8
cmp eax, edi
jle 0x4257bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov al, byte [esi + 4]
test al, al
je 0x425730
jmp 0x4257c4
mov dword [esp + 0x10], 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
test esi, esi
je 0x4257d7
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x425a8a
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x868]
push 0x476ed38
push 0x476ed38
push ebx
push 0x476ed38
push ecx
push 0x476ed38
push eax
push 0x476ed38
push eax
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea edx, [esp + 0x8c]
push str.SELECT_hfpr__srichgius.daora_hfpr__srichgius.aora_FROM_hfpr__srichgius_WHERE_hfpr__srichgius.dadata__s_AND_hfpr__srichgius.adata__s_AND_hfpr__srichgius.idcompany_s_AND_hfpr__srichgius.idemploy_s_AND_hfpr__srichgius.statigp3S_AND_hfpr__srichgius.esitoapp
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x3c
lea eax, [esp + 0x58]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x425a82
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
test al, al
jne 0x425a82
mov al, byte [ebx + 4]
test al, al
jne 0x425a6d
mov edx, dword [ebx]
lea eax, [esp + 0x38]
push 1
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
call fcn.00445280
mov edx, dword [ebx]
lea eax, [esp + 0x48]
push 2
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
call fcn.00445280
lea ecx, [esp + 0x28]
push 2
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0045eb70
lea eax, [esp + 0x37]
push 2
lea ecx, [esp + 0x26]
push eax
push ecx
call fcn.0045eb70
lea edx, [esp + 0x2c]
mov byte [esp + 0x30], 0
push edx
call fcn.0045f57e
mov dword [esp + 0x38], eax
lea eax, [esp + 0x4c]
push 2
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0045eb70
lea edx, [esp + 0x5b]
push 2
lea eax, [esp + 0x42]
push edx
push eax
call fcn.0045eb70
lea ecx, [esp + 0x48]
mov byte [esp + 0x4c], 0
push ecx
call fcn.0045f57e
add esp, 0x38
mov dword [esp + 0x20], eax
mov edi, str.00:00
lea esi, [esp + 0x28]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x425999
test al, al
je 0x425995
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x425999
add esi, 2
add edi, 2
test al, al
jne 0x425971
xor eax, eax
jmp 0x42599e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4259e0
mov edi, str.00:00
lea esi, [esp + 0x30]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x4259d3
test al, al
je 0x4259cf
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x4259d3
add esi, 2
add edi, 2
test al, al
jne 0x4259ab
xor eax, eax
jmp 0x4259d8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x425a65
lea eax, [ebp + ebp*2]
lea edx, [eax + eax*8]
lea eax, [ebp + edx*8]
mov edx, dword [esp + 0x860]
lea eax, [eax + eax*2]
lea eax, [ebp + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
push eax
lea esi, [edx + ecx*8]
call fcn.0045d320
mov ecx, dword [esi*4 + 0x65867c]
mov edi, eax
sub edi, ecx
mov ecx, dword [esp + 0x874]
push ecx
call fcn.0045d320
add esp, 8
cmp edi, eax
jg 0x425a51
mov edx, dword [esp + 0x20]
push edx
call fcn.0045d320
mov edi, eax
mov eax, dword [esi*4 + 0x65867c]
add edi, eax
mov eax, dword [esp + 0x874]
push eax
call fcn.0045d320
add esp, 8
cmp eax, edi
jle 0x425a65
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x20]
mov al, byte [ebx + 4]
test al, al
je 0x425885
jmp 0x425a6d
mov dword [esp + 0x10], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
test ebx, ebx
je 0x425a8a
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
jmp 0x425a8a
mov dword [esp + 0x10], 0xffffffff
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x848
ret