Function at 0x45a070
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 0x4dcd9a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x522f10]
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.004aa2e3
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x45a0c1
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.00425484
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00459a70
add esp, 4
cmp eax, ebx
je 0x45a219
mov ecx, dword [ebp + 0x14]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x6c], esp
mov dword [ebp - 0x68], esi
call fcn.004aa2e3
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x45a135
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 0x45a16e
mov edx, ecx
movzx edi, dx
push edi
call fcn.004b2260
cmp eax, ebx
je 0x45a188
push edi
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x45a188
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
call fcn.004b8a1a
add esp, 4
push eax
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
mov ecx, esi
call fcn.00425413
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.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45a1b0
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 0x45a1e9
mov edx, ecx
movzx edi, dx
push edi
call fcn.004b2260
test eax, eax
je 0x45a203
push edi
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x45a203
push str.General
call fcn.004b8a1a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00425413
mov byte [ebp - 4], bl
push 1
mov byte [ebp - 4], 2
call fcn.0046f830
add esp, 0x10
jmp 0x45ad6c
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 0x45a254
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 0x45ad83
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00425484
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 0x45a281
push ebx
lea edx, [ebp - 0x14]
push edx
call fcn.0042488a
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x4eaa5c
call fcn.004247f3
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.Wow6432Node
call fcn.004247f3
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 6
call fcn.0046ebb0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.0047ad50
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00424f1e
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 0x45a2f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x10], ebx
jne 0x45a394
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.00425484
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00459f00
add esp, 8
cmp dword [ebx - 0xc], 0
mov byte [ebp - 0xd], 1
je 0x45a394
push ecx
mov dword [ebp - 0x6c], esp
mov edi, esp
push esi
call fcn.00425484
add esp, 4
add eax, 0x10
push 0x528efc
mov dword [edi], eax
call fcn.0046e390
add esp, 8
test eax, eax
jne 0x45a394
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.004247f3
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.General
call fcn.004247f3
push 1
mov byte [ebp - 4], 6
call fcn.0046f830
add esp, 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, 0x528efc
call fcn.00424b8d
mov eax, dword [ebp - 0x40]
push eax
call fcn.004b9282
add esp, 4
push 0xa28
mov dword [ebp - 0x34], eax
call fcn.004b9282
add esp, 4
mov edi, eax
push 0xa28
mov dword [ebp - 0x24], edi
call fcn.004b9282
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 0x45a412
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 0x45acb3
push edi
push 0x514
push ebx
call fcn.004bcb4d
add esp, 0xc
call fcn.00477c50
jmp 0x45a44f
cmp esi, 1
jne 0x45acb3
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 0x45acb3
push edi
push 0x514
push ebx
call fcn.004bcb4d
add esp, 0xc
call fcn.00477cd0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x45a54f
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a460
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp + 8]
push edi
push eax
mov ecx, esi
call fcn.0048b410
add esp, 0xc
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x45a4c6
cmp dword [ebp - 0x30], 0
mov esi, dword [eax + 0x24]
mov byte [esi], 1
jne 0x45aaf9
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp - 0x44]
push ecx
push edx
mov ecx, edi
mov dword [ebp - 0x44], 0
call fcn.00459970
add esp, 8
test al, al
je 0x45ac9f
mov eax, dword [ebp - 0x44]
cmp eax, dword [esi + 8]
je 0x45ac9f
mov edi, dword [ebp - 0x24]
push 4
push 1
call fcn.004b91f3
add esp, 8
mov dword [ebp - 0x44], eax
call fcn.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45a0b7
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.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45a0b7
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 0x45a55b
test edi, 0xffff0000
jne 0x45a55f
movzx edi, di
push edi
call fcn.004b2260
test eax, eax
je 0x45a571
push edi
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x45a571
mov dword [ebp - 0x4c], 0
jmp 0x45a4c6
xor eax, eax
jmp 0x45a568
push edi
call fcn.004b8a1a
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.00425413
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 0x45a5a5
cmp eax, dword [esi]
jne 0x45a5a5
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x45a5e0
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 0x45adef
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.004b849e
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004598b0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0047ac60
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45a61e
push edi
call fcn.004b8a1a
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.00425413
push edi
call fcn.004b9165
add esp, 4
mov ebx, dword [ebp - 0x30]
xor eax, eax
test ebx, ebx
jne 0x45a62c
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.0048b730
push esi
call fcn.004b9165
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x45a685
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.00425484
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00459f00
add esp, 8
mov byte [ebp - 0xd], 1
test ebx, ebx
jne 0x45aad6
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 0x45a6a0
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 0x45aad6
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x28]
mov ebx, dword [0x528ec4]
push ecx
mov ecx, dword [ebp - 0x24]
push edx
push eax
call fcn.00468840
mov edx, dword [ebp - 0x38]
add esp, 0xc
test edx, edx
je 0x45a8b5
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x44]
cmp ecx, 1
jne 0x45a85d
test eax, eax
jbe 0x45a85d
shr eax, 1
mov edi, eax
call fcn.004aa2e3
mov ecx, dword [ebp - 0x34]
push eax
push edi
push ecx
lea ecx, [ebp - 0x20]
call fcn.0042532d
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 0xd
xor ebx, ebx
call fcn.004683c0
test eax, eax
je 0x45a78a
mov edx, edi
push edx
lea eax, [ebp - 0x5c]
push str._CAMEYO_VAR_
push eax
call fcn.00424a97
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00424f1e
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 0x45a785
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 0x45a7a4
mov ecx, esi
push ecx
lea ecx, [ebp - 0x20]
call fcn.0042257b
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 0x45a7ff
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.004247f3
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.General
call fcn.004247f3
push 1
mov byte [ebp - 4], 0xd
call fcn.0046f830
add esp, 0x18
test ebx, ebx
je 0x45a83b
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.004247f3
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.General
call fcn.004247f3
push 1
mov byte [ebp - 4], 0xd
call fcn.0046f830
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 0x45a8b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45a8b5
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 0x45a8b5
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.004247f3
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.General
call fcn.004247f3
push 1
mov byte [ebp - 4], 0xa
call fcn.0046f830
add esp, 0x18
cmp dword [ebp - 0x28], 1
jne 0x45aad6
push 0x45
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp + 0x14]
call fcn.004249e2
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.004b8761
add esp, 8
test eax, eax
je 0x45a949
push 0x51
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp + 0x14]
call fcn.004249e2
mov dword [ebp - 4], 0x13
mov eax, dword [eax]
push str.RegistryMACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
or ebx, 2
push eax
mov dword [ebp - 0x18], ebx
call fcn.004b8761
add esp, 8
test eax, eax
je 0x45a949
push 0x4b
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp + 0x14]
call fcn.004249e2
mov eax, dword [eax]
push str.Registry_CurrentUser_SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
or ebx, 4
push eax
mov dword [ebp - 0x18], ebx
call fcn.004b8761
add esp, 8
mov byte [ebp - 0xe], 0
test eax, eax
jne 0x45a94d
mov byte [ebp - 0xe], 1
test bl, 4
je 0x45a977
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 0x45a977
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 0x45a9a8
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 0x45a9a8
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 0x45a9d9
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 0x45a9d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xe], 0
je 0x45aa2b
mov ecx, dword [ebp - 0x24]
push str.DisplayName
push ecx
call fcn.004b8761
add esp, 8
test eax, eax
jne 0x45aa2b
mov eax, dword [ebp + 0x14]
push 0x528ee0
push 0x528edc
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x74], esp
mov ebx, esp
push eax
mov edi, 0x528ed8
call fcn.00425484
mov edx, dword [ebp + 0x1c]
add esp, 4
add eax, 0x10
push edx
mov ecx, edi
mov dword [ebx], eax
call fcn.00440d0f
add esp, 0x10
push 0x33
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp + 0x14]
call fcn.004249e2
mov eax, dword [eax]
push str.RegistryMACHINESystemCurrentControlSetServices_
push eax
call fcn.004b8761
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 0x45aa6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x45aad6
mov ecx, dword [ebp - 0x24]
push str.DisplayName
push ecx
call fcn.004b8761
add esp, 8
test eax, eax
jne 0x45aad6
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.004247f3
push ecx
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.General
call fcn.004247f3
push 1
mov byte [ebp - 4], 0xa
call fcn.0046f830
push 0x4ece08
call fcn.004b8a1a
add esp, 0x14
push eax
push 0x4ece08
mov ecx, 0x528f14
call fcn.00425413
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 0x45aaf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x30], 1
jne 0x45ac9f
call fcn.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45a0b7
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.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45a0b7
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 0x45ab80
test esi, 0xffff0000
jne 0x45ab84
movzx esi, si
push esi
call fcn.004b2260
test eax, eax
je 0x45ab96
push esi
push eax
mov ecx, edi
call fcn.00424e90
jmp 0x45ab96
xor eax, eax
jmp 0x45ab8d
push esi
call fcn.004b8a1a
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.00425413
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 0x45abca
cmp eax, dword [esi]
jne 0x45abca
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x45ac05
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 0x45adef
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.004b849e
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.004598b0
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x1c]
push ecx
call fcn.0049b1b0
mov ebx, dword [ebp - 0x44]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45ac7f
mov eax, dword [ebp + 0x18]
push esi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x74], esp
mov edi, esp
push eax
call fcn.00425484
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.00425484
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.0045a070
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 0x45ac9f
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 0x45a3d5
inc esi
cmp esi, 1
mov dword [ebp - 0x30], esi
jle 0x45a3d0
push edi
call fcn.004b9165
add esp, 4
push ebx
call fcn.004b9165
mov ecx, dword [ebp - 0x34]
add esp, 4
push ecx
call fcn.004b9165
mov eax, dword [ebp - 0x38]
add esp, 4
test eax, eax
je 0x45acec
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x45ad49
mov edi, dword [eax + 0x14]
test edi, edi
je 0x45ad49
lea ebx, [ebx]
mov ebx, dword [edi + 0x24]
cmp byte [ebx], 0
jne 0x45ad42
push 4
push 1
call fcn.004b91f3
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.0048b730
push esi
call fcn.004b9165
add esp, 4
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x45ad00
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 0x45ad6c
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 0x45ad8f
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 0x45adb2
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 0x45add8
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.00422570
int3