Function at 0x424d50
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x8fc
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0x46054d8
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esp + 0x910]
push 0x476ed38
push 0x476ed38
mov dword [esp + 0x34], edi
lea eax, [ebx + ebx*2]
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [esp + 0x91c]
lea edx, [eax + eax*4]
lea esi, [ecx*8]
sub esi, ecx
lea eax, [ecx + edx*4]
mov ecx, dword [esp + 0x928]
push ecx
push 0x476ed38
lea edx, [eax*8 + 0x6581fc]
lea eax, [ebx + ebx*2]
push edx
push 0x476ed38
lea eax, [eax + eax*8]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x124]
lea eax, [ebx + eax*8]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*2]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x65811c]
push eax
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push str.SELECT_hptg__sbdg0.bnora_hptg__sbdg0.bnenus_FROM_hptg__sbdg0_WHERE_hptg__sbdg0.bnsoci_s_AND_hptg__sbdg0.bnmatr_s_AND_hptg__sbdg0.bndata_d_AND_hptg__sbdg0.bnenus_IN__G1_G2__ORDER_BY_hptg__sbdg0.bnora
push edx
mov dword [esp + 0x64], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x34
lea eax, [esp + 0x10c]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ebp, eax
xor eax, eax
cmp ebp, edi
sete al
cmp eax, edi
mov dword [0x476ecf4], eax
jne 0x424f0e
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
test al, al
jne 0x424f0e
mov al, byte [ebp + 4]
test al, al
jne 0x424ef5
lea ecx, [esp + 0xb8]
lea edx, [esp + 0xdc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x10]
call fcn.0045f9d8
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push 2
mov dword [ecx], eax
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
call fcn.00445280
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov eax, dword [ebp]
add ecx, 3
inc esi
add edx, 4
mov dword [esp + 0x1c], ecx
mov ecx, ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], edx
call dword [eax + 0x20]
mov al, byte [ebp + 4]
test al, al
je 0x424e78
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
xor edi, edi
cmp ebp, edi
je 0x424f16
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
jmp 0x424f16
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
cmp eax, edi
jle 0x42506e
lea ecx, [esp + 0xdc]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x34], ecx
and edi, reloc.WSOCK32.dll_accept
jns 0x424f49
dec edi
or edi, 0xfffffffe
inc edi
jne 0x424f80
mov ebp, 0x47c818
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [ebp]
jne 0x424f77
test al, al
je 0x424f73
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [ebp + 1]
jne 0x424f77
add esi, 2
add ebp, 2
test al, al
jne 0x424f52
xor eax, eax
jmp 0x424f7c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x424fc6
cmp edi, 1
jne 0x42506e
mov ebp, 0x47c814
mov esi, ecx
mov cl, byte [esi]
mov dl, byte [ebp]
mov al, cl
cmp cl, dl
jne 0x424fb9
test al, al
je 0x424fb5
mov dl, byte [esi + 1]
mov cl, byte [ebp + 1]
mov al, dl
cmp dl, cl
jne 0x424fb9
add esi, 2
add ebp, 2
test al, al
jne 0x424f90
xor eax, eax
jmp 0x424fbe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42506e
test edi, edi
jne 0x424fd6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
jmp 0x425043
lea eax, [ebx + ebx*2]
lea edx, [eax + eax*8]
lea eax, [ebx + edx*8]
mov edx, dword [esp + 0x914]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
push eax
lea esi, [edx + ecx*8]
call fcn.0045d320
mov ebp, dword [esp + 0x928]
mov ecx, dword [esi*4 + 0x65867c]
mov edi, eax
push ebp
add edi, ecx
call fcn.0045d320
add esp, 8
cmp edi, eax
jg 0x425043
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push edx
call fcn.0045d320
mov edi, eax
mov eax, dword [esi*4 + 0x65867c]
push ebp
sub edi, eax
call fcn.0045d320
add esp, 8
cmp eax, edi
jl 0x4251e2
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
inc edi
add ecx, 3
add edx, 4
cmp edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
jl 0x424f3c
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4255dd
mov eax, dword [esp + 0x920]
push 0x476ed38
push 0x476ed38
push 0x476ed38
mov ecx, dword [esp + 0x3c]
push 0x476ed38
push 0x476ed38
push eax
push 0x476ed38
push eax
mov eax, dword [esp + 0x48]
push 0x476ed38
push eax
push 0x476ed38
push ecx
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea edx, [esp + 0x14c]
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.prvoce_IN__SELECT_hptg__svoc0.vxcvox_FROM_hptg__svoc0_WHERE_hptg__svoc0.vxragrA__AND_hptw__spre0.prds04__S
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x48
lea eax, [esp + 0x10c]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov esi, eax
xor eax, eax
test esi, esi
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x4255d5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test al, al
jne 0x4255d5
mov al, byte [esi + 4]
test al, al
jne 0x4251f7
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
cmp edi, 0x270f
mov dword [esp + 0x14], eax
jne 0x425164
cmp eax, edi
je 0x4251ef
lea eax, [ebx + ebx*2]
push edi
lea ecx, [eax + eax*8]
lea eax, [ebx + ecx*8]
mov ecx, dword [esp + 0x918]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
lea eax, [eax + eax*4]
lea ebp, [ecx + eax*8]
call fcn.0045d320
mov edx, dword [esp + 0x928]
mov ecx, dword [ebp*4 + 0x65867c]
mov edi, eax
push edx
add edi, ecx
call fcn.0045d320
add esp, 8
cmp edi, eax
jg 0x4251ce
mov eax, dword [esp + 0x14]
push eax
call fcn.0045d320
mov ecx, dword [esp + 0x928]
mov edi, eax
mov eax, dword [ebp*4 + 0x65867c]
push ecx
sub edi, eax
call fcn.0045d320
add esp, 8
cmp eax, edi
jl 0x4251ef
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov al, byte [esi + 4]
test al, al
je 0x425132
jmp 0x4251f7
mov dword [esp + 0x10], 1
jmp 0x4255dd
mov dword [esp + 0x10], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test esi, esi
je 0x42520a
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4255dd
mov esi, dword [esp + 0x920]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0
push esi
lea eax, [esp + 0x50]
push str._08d_06d
push eax
call edi
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x58]
push ecx
push edx
call fcn.0045be70
push 0
push esi
lea eax, [esp + 0x68]
push str._08d_06d
push eax
call edi
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x70]
push ecx
push edx
call fcn.0045be70
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
push ebp
push 0x476ed38
push eax
lea ecx, [esp + 0xb4]
push 0x476ed38
push ecx
lea edx, [esp + 0xdc]
push 0x476ed38
push edx
push 0x476ed38
push 0x476ed38
lea eax, [esp + 0x160]
push str.SELECT_qtevent_FROM_hrm1__sabsevent_WHERE_hrm1__sabsevent.dtstarteve__s_AND_hrm1__sabsevent.dtendeve__s_AND_hrm1__sabsevent.idcompany_s_AND_hrm1__sabsevent.idemploy_s
push eax
call edi
add esp, 0x5c
lea edx, [esp + 0x10c]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], 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 0x4255d5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
test al, al
jne 0x4255d5
mov al, byte [esi + 4]
test al, al
jne 0x425301
mov dword [esp + 0x10], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test esi, esi
je 0x425314
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4255dd
mov eax, dword [esp + 0x30]
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push ebp
push 0x476ed38
push eax
mov eax, dword [esp + 0x940]
push 0x476ed38
push eax
push 0x476ed38
push eax
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea ecx, [esp + 0x150]
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.statigp3G_AND_hfpr__srichgius.esitoapp_AND_hfpr__srichgius.codgiust_IN__SELECT_hptg__svoc0.vxcvox_FROM_hptg__svoc0_WHERE_hptg__svoc0.vxragrA_
push ecx
call edi
add esp, 0x4c
lea edx, [esp + 0x10c]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x4255d5
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test al, al
jne 0x4255d5
mov al, byte [ebp + 4]
test al, al
jne 0x4255be
mov eax, dword [ebp]
lea ecx, [esp + 0x58]
push 1
push ecx
mov ecx, ebp
call dword [eax + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
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 + 0x58]
call fcn.00445280
mov edx, dword [ebp]
lea eax, [esp + 0x68]
push 2
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x40]
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 + 0x68]
call fcn.00445280
lea ecx, [esp + 0x38]
push 2
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0045eb70
lea eax, [esp + 0x47]
push 2
lea ecx, [esp + 0x32]
push eax
push ecx
call fcn.0045eb70
lea edx, [esp + 0x38]
mov byte [esp + 0x3c], 0
push edx
call fcn.0045f57e
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push 2
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0045eb70
lea edx, [esp + 0x6b]
push 2
lea eax, [esp + 0x4e]
push edx
push eax
call fcn.0045eb70
lea ecx, [esp + 0x54]
mov byte [esp + 0x58], 0
push ecx
call fcn.0045f57e
add esp, 0x38
mov dword [esp + 0x28], eax
mov edi, str.00:00
lea esi, [esp + 0x38]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x4254ec
test al, al
je 0x4254e8
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x4254ec
add esi, 2
add edi, 2
test al, al
jne 0x4254c4
xor eax, eax
jmp 0x4254f1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x425533
mov edi, str.00:00
lea esi, [esp + 0x40]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x425526
test al, al
je 0x425522
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x425526
add esi, 2
add edi, 2
test al, al
jne 0x4254fe
xor eax, eax
jmp 0x42552b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4255b6
lea eax, [ebx + ebx*2]
lea edx, [eax + eax*8]
lea eax, [ebx + edx*8]
mov edx, dword [esp + 0x914]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
push eax
lea esi, [edx + ecx*8]
call fcn.0045d320
mov ecx, dword [esi*4 + 0x65867c]
mov edi, eax
add edi, ecx
mov ecx, dword [esp + 0x928]
push ecx
call fcn.0045d320
add esp, 8
cmp edi, eax
jg 0x4255a1
mov edx, dword [esp + 0x28]
push edx
call fcn.0045d320
mov edi, eax
mov eax, dword [esi*4 + 0x65867c]
sub edi, eax
mov eax, dword [esp + 0x928]
push eax
call fcn.0045d320
add esp, 8
cmp eax, edi
jl 0x4255b6
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x20]
mov al, byte [ebp + 4]
test al, al
je 0x4253d6
jmp 0x4255be
mov dword [esp + 0x10], 1
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x1c]
test ebp, ebp
je 0x4255dd
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
jmp 0x4255dd
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, 0x8fc
ret