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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5bca
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x518f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
call fcn.004a35be
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4562e1
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x6c], esp
mov esi, esp
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x38], ebx
call fcn.004252a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00455c90
add esp, 4
cmp eax, ebx
je 0x456439
mov ecx, dword [ebp + 0x14]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x6c], esp
mov dword [ebp - 0x68], esi
call fcn.004a35be
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x456355
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x45638e
mov edx, ecx
movzx edi, dx
push edi
call fcn.004ab4f3
cmp eax, ebx
je 0x4563a8
push edi
push eax
mov ecx, esi
call fcn.00424cac
jmp 0x4563a8
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
call fcn.004b1cba
add esp, 4
push eax
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
mov ecx, esi
call fcn.0042522f
push ecx
mov bl, 4
mov byte [ebp - 4], bl
mov esi, esp
mov dword [ebp - 0x68], esp
mov dword [ebp - 0x68], esi
call fcn.004a35be
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4563d0
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.General
mov byte [ebp - 4], 5
test ecx, 0xffff0000
jne 0x456409
mov edx, ecx
movzx edi, dx
push edi
call fcn.004ab4f3
test eax, eax
je 0x456423
push edi
push eax
mov ecx, esi
call fcn.00424cac
jmp 0x456423
push str.General
call fcn.004b1cba
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.0042522f
mov byte [ebp - 4], bl
push 1
mov byte [ebp - 4], 2
call fcn.0046b810
add esp, 0x10
jmp 0x456f8c
push ebx
push ebx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 0x1c]
lea edx, [ebp - 0x54]
push edx
push ebx
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x456474
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x456fa3
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.004252a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4564a1
push ebx
lea edx, [ebp - 0x14]
push edx
call fcn.004246c3
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x4e3948
call fcn.0042462c
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.Wow6432Node
call fcn.0042462c
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 6
call fcn.0046ab90
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.00476a40
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00424d3a
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456515
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x10], ebx
jne 0x4565b4
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push ecx
push ecx
lea esi, [ebx - 0x10]
mov dword [ebp - 0x6c], esp
mov edi, esp
push esi
call fcn.004252a0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00456120
add esp, 8
cmp dword [ebx - 0xc], 0
mov byte [ebp - 0xd], 1
je 0x4565b4
push ecx
mov dword [ebp - 0x6c], esp
mov edi, esp
push esi
call fcn.004252a0
add esp, 4
add eax, 0x10
push 0x51eec4
mov dword [edi], eax
call fcn.0046a370
add esp, 8
test eax, eax
jne 0x4565b4
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.__RegDiff_PostScan_RecurseDirs:_new_key__adding_to_NewKeys:__s
call fcn.0042462c
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.General
call fcn.0042462c
push 1
mov byte [ebp - 4], 6
call fcn.0046b810
add esp, 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, 0x51eec4
call fcn.004249fe
mov eax, dword [ebp - 0x40]
push eax
call fcn.004b2522
add esp, 4
push 0xa28
mov dword [ebp - 0x34], eax
call fcn.004b2522
add esp, 4
mov edi, eax
push 0xa28
mov dword [ebp - 0x24], edi
call fcn.004b2522
add esp, 4
mov ebx, eax
xor esi, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], esi
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], 0xa28
test esi, esi
jne 0x456632
mov edx, dword [ebp + 0x1c]
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x3c]
push ecx
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x456ed3
push edi
push 0x514
push ebx
call fcn.004b5eb4
add esp, 0xc
call fcn.004736d0
jmp 0x45666f
cmp esi, 1
jne 0x456ed3
mov edx, dword [ebp + 0x1c]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x456ed3
push edi
push 0x514
push ebx
call fcn.004b5eb4
add esp, 0xc
call fcn.00473750
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x45676f
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x456680
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp + 8]
push edi
push eax
mov ecx, esi
call fcn.00485b50
add esp, 0xc
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4566e6
cmp dword [ebp - 0x30], 0
mov esi, dword [eax + 0x24]
mov byte [esi], 1
jne 0x456d19
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp - 0x44]
push ecx
push edx
mov ecx, edi
mov dword [ebp - 0x44], 0
call fcn.00455b90
add esp, 8
test al, al
je 0x456ebf
mov eax, dword [ebp - 0x44]
cmp eax, dword [esi + 8]
je 0x456ebf
mov edi, dword [ebp - 0x24]
push 4
push 1
call fcn.004b2493
add esp, 8
mov dword [ebp - 0x44], eax
call fcn.004a35be
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4562d7
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
push ecx
mov byte [ebp - 4], 0xa
mov esi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x70], esi
call fcn.004a35be
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4562d7
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xb
test edi, edi
je 0x45677b
test edi, 0xffff0000
jne 0x45677f
movzx edi, di
push edi
call fcn.004ab4f3
test eax, eax
je 0x456791
push edi
push eax
mov ecx, esi
call fcn.00424cac
jmp 0x456791
mov dword [ebp - 0x4c], 0
jmp 0x4566e6
xor eax, eax
jmp 0x456788
push edi
call fcn.004b1cba
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.0042522f
mov byte [ebp - 4], 0xc
mov esi, dword [ebp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x70], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4567c5
cmp eax, dword [esi]
jne 0x4567c5
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x456800
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x45700f
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004b173b
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00455ad0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00476950
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45683e
push edi
call fcn.004b1cba
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.0042522f
push edi
call fcn.004b2405
add esp, 4
mov ebx, dword [ebp - 0x30]
xor eax, eax
test ebx, ebx
jne 0x45684c
mov eax, 1
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
push 0
push 0
push 0
push 4
push esi
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
mov eax, 1
call fcn.00485e70
push esi
call fcn.004b2405
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x4568a5
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x70], esp
mov edi, esp
push eax
call fcn.004252a0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00456120
add esp, 8
mov byte [ebp - 0xd], 1
test ebx, ebx
jne 0x456cf6
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x24]
mov eax, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x28], ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4568c0
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esi + eax*2 - 0xa], cx
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x44]
push edx
mov edx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x28]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x456cf6
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x28]
mov ebx, dword [0x51ee8c]
push ecx
mov ecx, dword [ebp - 0x24]
push edx
push eax
call fcn.00464820
mov edx, dword [ebp - 0x38]
add esp, 0xc
test edx, edx
je 0x456ad5
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x44]
cmp ecx, 1
jne 0x456a7d
test eax, eax
jbe 0x456a7d
shr eax, 1
mov edi, eax
call fcn.004a35be
mov ecx, dword [ebp - 0x34]
push eax
push edi
push ecx
lea ecx, [ebp - 0x20]
call fcn.00425149
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 0xd
xor ebx, ebx
call fcn.004643a0
test eax, eax
je 0x4569aa
mov edx, edi
push edx
lea eax, [ebp - 0x5c]
push str._CAMEYO_VAR_
push eax
call fcn.004248d0
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00424d3a
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4569a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 1
mov edi, dword [ebp - 0x20]
cmp dword [edi - 4], 1
mov esi, dword [edi - 0xc]
jle 0x4569c4
mov ecx, esi
push ecx
lea ecx, [ebp - 0x20]
call fcn.00422574
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
lea edx, [esi + esi]
mov esi, dword [ebp - 0x1c]
push edx
push edi
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x456a1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x14]
push eax
push esi
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.RegDiff_PostScan_RecurseDirs:_failed_setting_ExportHive_SZ_value__s_s__LE_d
call fcn.0042462c
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.General
call fcn.0042462c
push 1
mov byte [ebp - 4], 0xd
call fcn.0046b810
add esp, 0x18
test ebx, ebx
je 0x456a5b
mov eax, dword [ebp + 0x14]
push edi
push esi
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.RegDiff_PostScan_RecurseDirs:_setting_variablized_SZ_value__s_s_s__ExportHive_
call fcn.0042462c
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.General
call fcn.0042462c
push 1
mov byte [ebp - 4], 0xd
call fcn.0046b810
add esp, 0x18
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456ad5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x456ad5
push eax
mov eax, dword [ebp - 0x34]
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x456ad5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x14]
push edx
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.RegDiff_PostScan_RecurseDirs:_failed_setting_ExportHive_value__s_s__LE_d
call fcn.0042462c
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.General
call fcn.0042462c
push 1
mov byte [ebp - 4], 0xa
call fcn.0046b810
add esp, 0x18
cmp dword [ebp - 0x28], 1
jne 0x456cf6
push 0x45
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp + 0x14]
call fcn.0042481b
mov byte [ebp - 4], 0x12
mov ebx, dword [ebp - 0x18]
mov eax, dword [eax]
push str.RegistryMACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall_
or ebx, 1
push eax
mov dword [ebp - 0x18], ebx
call fcn.004b19fe
add esp, 8
test eax, eax
je 0x456b69
push 0x51
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp + 0x14]
call fcn.0042481b
mov dword [ebp - 4], 0x13
mov eax, dword [eax]
push str.RegistryMACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
or ebx, 2
push eax
mov dword [ebp - 0x18], ebx
call fcn.004b19fe
add esp, 8
test eax, eax
je 0x456b69
push 0x4b
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp + 0x14]
call fcn.0042481b
mov eax, dword [eax]
push str.Registry_CurrentUser_SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
or ebx, 4
push eax
mov dword [ebp - 0x18], ebx
call fcn.004b19fe
add esp, 8
mov byte [ebp - 0xe], 0
test eax, eax
jne 0x456b6d
mov byte [ebp - 0xe], 1
test bl, 4
je 0x456b97
mov eax, dword [ebp - 0x60]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456b97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0x12
test bl, 2
je 0x456bc8
mov eax, dword [ebp - 0x64]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456bc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xa
test bl, 1
je 0x456bf9
mov eax, dword [ebp - 0x68]
and ebx, 0xfffffffe
add eax, 0xfffffff0
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456bf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xe], 0
je 0x456c4b
mov ecx, dword [ebp - 0x24]
push str.DisplayName
push ecx
call fcn.004b19fe
add esp, 8
test eax, eax
jne 0x456c4b
mov eax, dword [ebp + 0x14]
push 0x51eea8
push 0x51eea4
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x74], esp
mov ebx, esp
push eax
mov edi, 0x51eea0
call fcn.004252a0
mov edx, dword [ebp + 0x1c]
add esp, 4
add eax, 0x10
push edx
mov ecx, edi
mov dword [ebx], eax
call fcn.0043d582
add esp, 0x10
push 0x33
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp + 0x14]
call fcn.0042481b
mov eax, dword [eax]
push str.RegistryMACHINESystemCurrentControlSetServices_
push eax
call fcn.004b19fe
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x6c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456c8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x456cf6
mov ecx, dword [ebp - 0x24]
push str.DisplayName
push ecx
call fcn.004b19fe
add esp, 8
test eax, eax
jne 0x456cf6
mov edx, dword [ebp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.RegDiff_PostScan_RecurseDirs:_new_Service_found_in__s
call fcn.0042462c
push ecx
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.General
call fcn.0042462c
push 1
mov byte [ebp - 4], 0xa
call fcn.0046b810
push 0x4e5978
call fcn.004b1cba
add esp, 0x14
push eax
push 0x4e5978
mov ecx, 0x51eedc
call fcn.0042522f
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456d19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x30], 1
jne 0x456ebf
call fcn.004a35be
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4562d7
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
push ecx
mov byte [ebp - 4], 0x15
mov edi, esp
mov dword [ebp - 0x74], esp
mov dword [ebp - 0x70], edi
call fcn.004a35be
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4562d7
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x16
test esi, esi
je 0x456da0
test esi, 0xffff0000
jne 0x456da4
movzx esi, si
push esi
call fcn.004ab4f3
test eax, eax
je 0x456db6
push esi
push eax
mov ecx, edi
call fcn.00424cac
jmp 0x456db6
xor eax, eax
jmp 0x456dad
push esi
call fcn.004b1cba
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.0042522f
mov byte [ebp - 4], 0x17
mov esi, dword [ebp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x70], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x456dea
cmp eax, dword [esi]
jne 0x456dea
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x456e25
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x45700f
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004b173b
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.00455ad0
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x1c]
push ecx
call fcn.00493770
mov ebx, dword [ebp - 0x44]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x456e9f
mov eax, dword [ebp + 0x18]
push esi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x74], esp
mov edi, esp
push eax
call fcn.004252a0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x18
lea eax, [ebx - 0x10]
mov dword [ebp - 0x70], esp
mov edi, esp
push eax
call fcn.004252a0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push ecx
mov byte [ebp - 4], 0x15
call fcn.00456290
add esp, 0x18
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x456ebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x1c]
jmp 0x4565f5
inc esi
cmp esi, 1
mov dword [ebp - 0x30], esi
jle 0x4565f0
push edi
call fcn.004b2405
add esp, 4
push ebx
call fcn.004b2405
mov ecx, dword [ebp - 0x34]
add esp, 4
push ecx
call fcn.004b2405
mov eax, dword [ebp - 0x38]
add esp, 4
test eax, eax
je 0x456f0c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x456f69
mov edi, dword [eax + 0x14]
test edi, edi
je 0x456f69
lea ebx, [ebx]
mov ebx, dword [edi + 0x24]
cmp byte [ebx], 0
jne 0x456f62
push 4
push 1
call fcn.004b2493
mov edx, dword [ebx + 4]
mov ecx, dword [ebp + 0xc]
add esp, 8
push 0
push 0
push 0
mov esi, eax
push 4
or edx, 2
mov dword [esi], edx
mov eax, dword [edi + 8]
push esi
push eax
push ecx
mov eax, 1
call fcn.00485e70
push esi
call fcn.004b2405
add esp, 4
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x456f20
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x456f8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456faf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456ff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00422569
int3