Function at 0x43b1c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5be8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5f537c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x34], 0
call fcn.00408cf0
mov ecx, eax
test ecx, ecx
je 0x43b53c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x43b222
mov esi, dword [esi]
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push esi
push str.SELECT_hash_id__soft_name__icon_path__op__timestamp__origin_path__is_wow64__key__sub_key__name__reg_type__value__target_path_FROM_operation_records_WHERE_hash_id___s_AND_op___d__ORDER_BY_timestamp_DESC_LIMIT_1
push eax
call fcn.004257a0
add esp, 0x10
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00485d60
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x4c]
push 0xfde9
push esi
push eax
mov byte [ebp - 4], 1
call fcn.004815a0
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x43b270
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0044c470
mov ecx, eax
call fcn.0044c400
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x43b2c5
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b2b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b546
push edx
push ecx
call fcn.0045a8df
mov eax, dword [ebp - 0x2c]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], cx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], 7
test eax, eax
jne 0x43b30d
call fcn.00485e40
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43b51c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43b51c
push 0x5b183c
push str.hash_id
call fcn.004866e0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43b324
sub edx, dword [ebp - 0x2c]
mov ecx, edi
push edx
push eax
call fcn.0040ca10
push 0x5b183c
push str.soft_name
lea ecx, [ebp - 0x28]
call fcn.004866e0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43b351
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x18]
push edx
push eax
call fcn.0040ca10
push 0x5b183c
push str.origin_path
lea ecx, [ebp - 0x28]
call fcn.004866e0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43b380
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x58]
push edx
push eax
call fcn.0040ca10
push 0x5b183c
push str.icon_path
lea ecx, [ebp - 0x28]
call fcn.004866e0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43b3b0
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x30]
push edx
push eax
call fcn.0040ca10
push 0
push 0x5b38b4
lea ecx, [ebp - 0x28]
call fcn.004865c0
push 0
push 0
push str.timestamp
lea ecx, [ebp - 0x28]
mov dword [edi + 0x48], eax
call fcn.00486550
push 0
push str.is_wow64
lea ecx, [ebp - 0x28]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
call fcn.00486600
test eax, eax
lea ecx, [ebp - 0x28]
push 0
setne al
push 0x5b4ab0
mov byte [edi + 0x70], al
call fcn.004865c0
push 0x5b183c
push str.sub_key
lea ecx, [ebp - 0x28]
mov dword [edi + 0x74], eax
call fcn.004866e0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43b430
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x78]
push edx
push eax
call fcn.0040ca10
push 0x5b183c
push str.name
lea ecx, [ebp - 0x28]
call fcn.004866e0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43b460
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x90]
push edx
push eax
call fcn.0040ca10
push 0
push str.reg_type
lea ecx, [ebp - 0x28]
call fcn.00486600
push 0x5b183c
push str.target_path
lea ecx, [ebp - 0x28]
mov dword [edi + 0xa8], eax
call fcn.004866e0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43b4a6
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0xac]
push edx
push eax
call fcn.0040ca10
push 0x5b183c
push str.value
lea ecx, [ebp - 0x28]
call fcn.004866e0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43b4d7
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0xc4]
push edx
push eax
call fcn.0040ca10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 1
call fcn.00485e40
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43b51c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045a8ed
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00407940
call fcn.0057097a
int3