Function at 0x404183
Capabilities:
Set registry value

Disassembly:
mov eax, 0x431137
call fcn.00411a58
sub esp, 0x54
push ebx
push esi
push edi
push str.C:Program_Files
lea ecx, [ebp - 0x28]
call fcn.00402566
xor ebx, ebx
push 0x434314
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00402517
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
push 0x17
push ebx
push 0x434304
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00403fff
cmp eax, ebx
jge 0x4041f5
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x404459
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x404459
push ebx
lea ecx, [ebp - 0x28]
call fcn.00401a34
push eax
lea ecx, [ebp - 0x60]
call fcn.00403a3e
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00401420
mov ecx, eax
call fcn.00403ac4
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x404236
push eax
call fcn.0041ef30
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401420
mov ecx, eax
call fcn.00403f33
push dword [eax]
lea ecx, [ebp - 0x18]
call fcn.00403b71
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x404260
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x4041dc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call fcn.00401420
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x34]
cmp dword [ebp - 0x10], ebx
jne 0x404294
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 1
call dword [eax + 8]
jmp 0x4041dc
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00403d78
push eax
push dword [ebp - 0x10]
call dword [edi + 0x44]
mov dword [ebp - 0x20], ebx
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00401420
mov ecx, eax
call fcn.00401808
push dword [eax]
lea ecx, [ebp - 0x20]
call fcn.00403b71
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4042e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401420
mov ecx, eax
call fcn.00401bd8
mov eax, dword [eax]
cmp eax, ebx
je 0x4042fe
mov edi, dword [eax]
jmp 0x404300
xor edi, edi
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x40430f
call fcn.004017db
mov dword [ebp - 0x2c], ebx
push str.C:Program_Files
lea ecx, [ebp - 0x1c]
call fcn.00402566
push str.HebcaNTClient_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00402517
push edi
call fcn.0041f110
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402517
call dword [0x4410b0]
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x34], eax
call fcn.00401a34
mov edi, eax
cmp edi, ebx
jne 0x404358
xor eax, eax
jmp 0x404380
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.00411b00
mov eax, esp
push dword [ebp - 0x34]
push esi
push edi
push eax
call fcn.0040118f
mov esi, dword [ebp - 0x18]
push eax
call fcn.0041efb0
mov ecx, dword [0x4435b0]
mov edx, dword [ecx]
push 1
push 0x4342ec
push eax
push ecx
call dword [edx + 0x40]
cmp eax, ebx
jne 0x4043d3
push dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401420
mov ecx, eax
call fcn.00403e4f
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x4043c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
call fcn.00401420
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040128b
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x4043ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x404400
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], ebx
jne 0x404294
lea eax, [ebp - 0x40]
push eax
push 0xf003f
push ebx
push str.SoftwareHebcaClientX_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 4
lea eax, [ebp - 0x3c]
push eax
push 4
push ebx
push str.bSetup
push dword [ebp - 0x40]
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 1
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x404457
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov bl, 1
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040128b
mov al, bl
lea esp, [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret