Function at 0x10019a30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bd05
mov eax, dword fs:[0]
push eax
sub esp, 0xcc8
mov eax, dword [0x1008b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xca4], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xc74]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xca0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xcb8], eax
call fcn.10018070
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x10019a95
mov eax, dword [eax]
push eax
push edi
lea eax, [ebp - 0xc8c]
push str.response__s___s
push eax
call fcn.10017bd0
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xc60]
cmp eax, 0x10
jb 0x10019acd
inc eax
lea ecx, [ebp - 0xc74]
push eax
push dword [ebp - 0xc74]
call fcn.10004990
lea eax, [ebp - 0xc8c]
mov dword [ebp - 0xc60], 0xf
push eax
push ecx
lea ecx, [ebp - 0xc50]
mov dword [ebp - 0xc64], 0
mov byte [ebp - 0xc74], 0
mov dword [ebp - 0xc50], 0
mov dword [ebp - 0xc4c], 0
mov dword [ebp - 0xc48], 0
call fcn.1001c7a0
lea eax, [ebp - 0xc50]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.1001a3a0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xc50]
test esi, esi
je 0x10019b70
push dword [ebp - 0xc9c]
mov edx, dword [ebp - 0xc4c]
push ecx
mov ecx, esi
call fcn.10007730
mov ecx, dword [ebp - 0xc48]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.10006f60
lea ecx, [ebp - 0xc98]
call fcn.1001d590
mov byte [ebp - 4], 4
cmp dword [ebp - 0xc98], 0
setne al
or ebx, 0xffffffff
test al, al
je 0x10019c9f
mov esi, dword [ebp - 0xca4]
lea eax, [esi + 0x40]
push eax
mov dword [ebp - 0xcac], eax
call fcn.10030d82
add esp, 4
test eax, eax
je 0x10019bb9
push eax
call fcn.10031128
add esp, 4
mov byte [ebp - 0xca8], 1
mov byte [ebp - 4], 5
cmp byte [edi], 0
jne 0x10019bcd
xor ecx, ecx
jmp 0x10019bdb
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019bd2
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0xc98]
push edi
call fcn.100042b0
mov ecx, dword [ebp - 0xc98]
lea edx, [ebp - 0xc8c]
lea eax, [ecx + 0x18]
cmp eax, edx
je 0x10019c0f
push 0xffffffffffffffff
mov ecx, edx
push 0
push ecx
mov ecx, eax
call fcn.100043b0
mov ecx, dword [ebp - 0xc98]
push dword [ebp + 0x10]
add ecx, 0x30
push dword [ebp - 0xca0]
call fcn.100042b0
lea eax, [ebp - 0xc8c]
push eax
lea eax, [ebp - 0xc4c]
push eax
lea ecx, [esi + 0x38]
call fcn.1001db50
mov eax, dword [ebp - 0xc4c]
mov ecx, dword [ebp - 0xc94]
mov edx, dword [ebp - 0xc98]
test ecx, ecx
je 0x10019c50
lock inc dword [ecx + 4]
mov esi, dword [eax + 0x2c]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x28], edx
mov byte [ebp - 4], 7
test esi, esi
je 0x10019c80
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10019c80
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10019c80
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 8
push dword [ebp - 0xcac]
call fcn.10030da7
add esp, 4
test eax, eax
je 0x10019c9f
push eax
call fcn.10031128
add esp, 4
and dword [ebp - 0xccc], 0xfffffe00
mov dword [ebp - 0xcc8], 0
mov dword [ebp - 0xcc4], 0
mov dword [ebp - 0xcc0], 0
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0xc9c], esp
push edi
call fcn.1000d930
push 0x1007de4f
push str.request_channel
lea ecx, [ebp - 0xcd4]
mov byte [ebp - 4], 0xb
call fcn.1000eb80
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.1000dce0
sub esp, 0x18
lea ecx, [ebp - 0xc8c]
mov esi, esp
mov dword [ebp - 0xc9c], esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0xc78], 0x10
mov edx, dword [ebp - 0xc7c]
cmovae ecx, dword [ebp - 0xc8c]
call fcn.1000cf30
mov dword [esi], eax
push 0x1007de60
push str.response_channel
lea ecx, [ebp - 0xcd4]
mov byte [ebp - 4], 0xc
call fcn.1000eb80
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.1000dce0
mov ecx, dword [ebp - 0xc98]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xc9c], esp
add ecx, 0x30
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ecx + 0x14], 0x10
mov edx, dword [ecx + 0x10]
jb 0x10019daf
mov ecx, dword [ecx]
call fcn.1000cf30
mov dword [esi], eax
push 0x1007de70
push str.request_data
lea ecx, [ebp - 0xcd4]
mov byte [ebp - 4], 0xd
call fcn.1000eb80
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.1000dce0
cmp byte [edi], 0
mov dword [ebp - 0xc28], 0xf
mov dword [ebp - 0xc2c], 0
mov byte [ebp - 0xc3c], 0
jne 0x10019dfe
xor ecx, ecx
jmp 0x10019e0c
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019e03
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0xc3c]
call fcn.100042b0
lea eax, [ebp - 0xc74]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xcd4]
call fcn.1000f440
mov ecx, dword [ebp - 0xca4]
push 0
push eax
lea eax, [ebp - 0xc3c]
mov byte [ebp - 4], 0xf
push eax
call fcn.10018e90
mov ecx, dword [ebp - 0xc60]
mov esi, eax
mov dword [ebp - 0xc9c], esi
cmp ecx, 0x10
jb 0x10019e6e
inc ecx
push ecx
push dword [ebp - 0xc74]
lea ecx, [ebp - 0xc74]
call fcn.10004990
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xc28]
mov dword [ebp - 0xc60], 0xf
mov dword [ebp - 0xc64], 0
mov byte [ebp - 0xc74], 0
cmp eax, 0x10
jb 0x10019eab
inc eax
lea ecx, [ebp - 0xc3c]
push eax
push dword [ebp - 0xc3c]
call fcn.10004990
test esi, esi
mov dword [ebp - 0xca8], 0
sete al
test al, al
je 0x10019ec9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xcac], eax
jmp 0x10019ed3
mov dword [ebp - 0xcac], 0xa
mov eax, dword [ebp - 0xc98]
add eax, 0x64
push eax
mov dword [ebp - 0xcb4], eax
call fcn.10030d82
add esp, 4
test eax, eax
je 0x10019ef8
push eax
call fcn.10031128
add esp, 4
mov byte [ebp - 0xcb0], 1
mov esi, dword [ebp - 0xc94]
mov eax, dword [ebp - 0xc98]
mov ecx, eax
mov dword [ebp - 0xca0], eax
test esi, esi
je 0x10019f27
lock inc dword [esi + 4]
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0xca0], eax
mov dword [ebp - 0xc48], esi
mov dword [ebp - 0xc4c], ecx
lea eax, [ebp - 0xc34]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0xcac]
call fcn.1001d790
mov ecx, dword [ebp - 0xca0]
add esp, 4
add ecx, 0x94
movups xmm0, xmmword [eax]
lea eax, [ebp - 0xc4c]
push eax
lea eax, [ebp - 0xc6c]
push eax
lea eax, [ebp - 0xcb4]
push eax
movups xmmword [ebp - 0xc6c], xmm0
call fcn.1001d830
mov byte [ebp - 0xc8d], al
mov byte [ebp - 4], 0x13
test esi, esi
je 0x10019fa9
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x10019fa9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10019fa9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xcb4]
mov byte [ebp - 4], 0x10
call fcn.1001c490
lea eax, [ebp - 0xc8c]
mov dword [ebp - 0xc50], 0
push eax
push ecx
lea ecx, [ebp - 0xc50]
mov dword [ebp - 0xc4c], 0
mov dword [ebp - 0xc48], 0
call fcn.1001c7a0
mov esi, dword [ebp - 0xca4]
lea eax, [ebp - 0xc50]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.1001a6c0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xc50]
test eax, eax
je 0x1001a04f
push dword [ebp - 0xc9c]
mov edx, dword [ebp - 0xc4c]
push ecx
mov ecx, eax
call fcn.10007730
mov ecx, dword [ebp - 0xc48]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xc50]
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [ebp - 0xc50]
call fcn.10006f60
cmp byte [ebp - 0xc8d], 0
je 0x1001a075
mov eax, dword [ebp - 0xc98]
mov ecx, dword [ebp - 0xcb8]
add eax, 0x48
cmp ecx, eax
je 0x1001a075
push 0xffffffffffffffff
push 0
push eax
call fcn.100043b0
lea eax, [esi + 0x40]
push eax
call fcn.10030d82
add esp, 4
test eax, eax
je 0x1001a08e
push eax
call fcn.10031128
add esp, 4
mov eax, dword [ebp - 0xc98]
lea ecx, [esi + 0x38]
add eax, 0x18
push eax
call fcn.1001c300
lea eax, [esi + 0x40]
mov byte [ebp - 4], 0x15
push eax
call fcn.10030da7
add esp, 4
test eax, eax
je 0x1001a0bd
push eax
call fcn.10031128
add esp, 4
cmp byte [ebp - 0xc8d], 0
mov byte [ebp - 4], 0x10
jne 0x1001a2f1
push 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 0xc44], str.MQPR_SUCCESS
push 0
push eax
mov dword [ebp - 0xc40], str.MQPR_UNKNOWN_ERROR
mov dword [ebp - 0xc3c], str.MQPR_CHANNEL_NAME_ERROR
mov dword [ebp - 0xc38], str.MQPR_MULTI_CHANNEL_UNSUPPORTED
mov dword [ebp - 0xc34], str.MQPR_PUBLISH_DATA_EMPTY
mov dword [ebp - 0xc30], str.MQPR_NO_SUBER
mov dword [ebp - 0xc2c], str.MQPR_SUBER_NO_REFLEX
mov dword [ebp - 0xc28], str.MQPR_MULTI_SUBER
call fcn.100344b0
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x208
push 0
push eax
call fcn.100344b0
add esp, 0xc
lea eax, [ebp - 0xc24]
push 0x800
push 0
push eax
call fcn.100344b0
mov eax, dword [ebp - 0xc9c]
add esp, 0xc
mov esi, str.unknown
cmp eax, 6
ja 0x1001a177
mov esi, dword [ebp + eax*4 - 0xc44]
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str.Softwarepomqc3_requesterrorlog_ls
lea eax, [ebp - 0x424]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea ecx, [ebp - 0xc3c]
call fcn.1002b281
cmp dword [eax + 0x14], 0x10
jb 0x1001a1cd
mov eax, dword [eax]
push 0
push esi
push eax
push str._hs_Publish:__hs_dwWaitResult:__lu
lea eax, [ebp - 0xc24]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov eax, dword [ebp - 0xc28]
add esp, 0x18
cmp eax, 0x10
jb 0x1001a209
inc eax
lea ecx, [ebp - 0xc3c]
push eax
push dword [ebp - 0xc3c]
call fcn.10004990
cmp byte [edi], 0
mov dword [ebp - 0xc28], 0xf
mov dword [ebp - 0xc2c], 0
mov byte [ebp - 0xc3c], 0
jne 0x1001a22d
xor ecx, ecx
jmp 0x1001a23b
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a232
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0xc3c]
call fcn.100042b0
lea edx, [ebp - 0xc3c]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xc5c]
call fcn.100181b0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x1001a267
mov esi, dword [esi]
lea eax, [ebp - 0xc24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0xc24]
push eax
push 1
push esi
lea eax, [ebp - 0x424]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0xc48]
cmp eax, 8
jb 0x1001a2b6
inc eax
lea ecx, [ebp - 0xc5c]
push eax
push dword [ebp - 0xc5c]
call fcn.1001cff0
xor eax, eax
mov dword [ebp - 0xc48], 7
mov word [ebp - 0xc5c], ax
mov eax, dword [ebp - 0xc28]
mov dword [ebp - 0xc4c], 0
cmp eax, 0x10
jb 0x1001a2f1
inc eax
lea ecx, [ebp - 0xc3c]
push eax
push dword [ebp - 0xc3c]
call fcn.10004990
mov byte [ebp - 4], 0x17
cmp byte [ebp - 0xcb0], 0
je 0x1001a319
push dword [ebp - 0xcb4]
call fcn.10030da7
add esp, 4
test eax, eax
je 0x1001a319
push eax
call fcn.10031128
add esp, 4
lea ecx, [ebp - 0xcd4]
call fcn.1000dc10
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0xc94]
test esi, esi
je 0x1001a350
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1001a350
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1001a350
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0xc78]
cmp eax, 0x10
jb 0x1001a36e
inc eax
lea ecx, [ebp - 0xc8c]
push eax
push dword [ebp - 0xc8c]
call fcn.10004990
mov al, byte [ebp - 0xc8d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002eb22
mov esp, ebp
pop ebp
ret 0x14