Function at 0x414500
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5badee
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x6877f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb0], 0
push eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xac], 4
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xb4], 4
push eax
push str.ConfigCheckTS
push str.SystemCurrentControlSet_servicesCtesHostSvcProviders
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x414671
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x40]
push 0x23
push str.ConfigCheckTS_exists_with_value__lu
mov dword [0x68df2c], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040a020
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x8c]
call fcn.00419ad0
mov esi, eax
mov byte [ebp - 4], 5
mov ecx, esi
push dword [0x68df2c]
call fcn.0041a040
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0041a330
push eax
mov byte [ebp - 4], 6
call fcn.00418b30
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 0x10
jb 0x41461d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414613
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147cd
push edx
push ecx
call fcn.00575155
add esp, 8
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00419ba0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4147b3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4147a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147d2
jmp 0x4147a9
push 4
lea eax, [ebp - 0xac]
mov dword [0x68df2c], 0
push eax
push 4
push str.ConfigCheckTS
push str.SystemCurrentControlSet_servicesCtesHostSvcProviders
push connect
mov dword [ebp - 0xac], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test eax, eax
jne 0x414788
push 0x24
push str.ConfigCheckTS_created_with_value__lu
call fcn.0040a020
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00419ad0
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, esi
push dword [0x68df2c]
call fcn.0041a040
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.0041a330
push eax
mov byte [ebp - 4], 2
call fcn.00418c70
mov edx, dword [ebp - 0x5c]
add esp, 4
cmp edx, 0x10
jb 0x414743
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414739
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147d7
push edx
push ecx
call fcn.00575155
add esp, 8
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00419ba0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4147b3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4147a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147dc
jmp 0x4147a9
push 0x2d
push str.SetRegistryDWORD_failed_in_RegConfigFileCheck
call fcn.0040a020
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
call fcn.00418bd0
add esp, 4
jmp 0x414760
push edx
push ecx
call fcn.00575155
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00574c7a
mov esp, ebp
pop ebp
ret
call fcn.0059b248
call fcn.0059b248
call fcn.0059b248
call fcn.0059b248
int3