Function at 0x437900
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ecb8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5ec374]
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.00408b70
mov ecx, eax
test ecx, ecx
je 0x437c7c
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 0x437962
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.004249a0
add esp, 0x10
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00480720
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x4c]
push 0xfde9
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0047d500
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x4379b0
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004483a0
mov ecx, eax
call fcn.00448330
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x437a05
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4379f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437c86
push edx
push ecx
call fcn.0045673f
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 0x437a4d
call fcn.00480800
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x437c5c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x437c5c
push 0x5aa83c
push str.hash_id
call fcn.004810a0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x437a64
sub edx, dword [ebp - 0x2c]
mov ecx, edi
push edx
push eax
call fcn.0040c820
push 0x5aa83c
push str.soft_name
lea ecx, [ebp - 0x28]
call fcn.004810a0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x437a91
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x18]
push edx
push eax
call fcn.0040c820
push 0x5aa83c
push str.origin_path
lea ecx, [ebp - 0x28]
call fcn.004810a0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x437ac0
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x58]
push edx
push eax
call fcn.0040c820
push 0x5aa83c
push str.icon_path
lea ecx, [ebp - 0x28]
call fcn.004810a0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x437af0
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x30]
push edx
push eax
call fcn.0040c820
push 0
push 0x5ac6ec
lea ecx, [ebp - 0x28]
call fcn.00480f80
push 0
push 0
push str.timestamp
lea ecx, [ebp - 0x28]
mov dword [edi + 0x48], eax
call fcn.00480f10
push 0
push str.is_wow64
lea ecx, [ebp - 0x28]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
call fcn.00480fc0
test eax, eax
lea ecx, [ebp - 0x28]
push 0
setne al
push 0x5ad678
mov byte [edi + 0x70], al
call fcn.00480f80
push 0x5aa83c
push str.sub_key
lea ecx, [ebp - 0x28]
mov dword [edi + 0x74], eax
call fcn.004810a0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x437b70
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x78]
push edx
push eax
call fcn.0040c820
push 0x5aa83c
push str.name
lea ecx, [ebp - 0x28]
call fcn.004810a0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x437ba0
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x90]
push edx
push eax
call fcn.0040c820
push 0
push str.reg_type
lea ecx, [ebp - 0x28]
call fcn.00480fc0
push 0x5aa83c
push str.target_path
lea ecx, [ebp - 0x28]
mov dword [edi + 0xa8], eax
call fcn.004810a0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x437be6
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0xac]
push edx
push eax
call fcn.0040c820
push 0x5aa83c
push str.value
lea ecx, [ebp - 0x28]
call fcn.004810a0
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x437c17
sub edx, dword [ebp - 0x2c]
lea ecx, [edi + 0xc4]
push edx
push eax
call fcn.0040c820
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 1
call fcn.00480800
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x437c5c
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.0045674d
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004077c0
call fcn.0056a5ea
int3