Function at 0x41e7d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8dfc
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x524ee0]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x88], 0
call fcn.00444480
mov dword [ebp - 4], 0
call fcn.00418a30
mov ecx, dword [0x526474]
mov edx, 0x405e0759
test al, al
cmove ecx, edx
mov dword [0x526474], ecx
push str.success
lea ecx, [ebp - 0xac]
call fcn.00444440
lea eax, [ebp - 0xac]
push eax
push 0x4dfc64
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.00444920
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0
call fcn.00444690
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x8c], eax
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 2
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x98], ebx
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 3
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x9c], edi
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x94], esi
mov ecx, dword [ebp - 0x84]
push str.hive
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 6
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x80]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
lea eax, [edx - 0x10]
mov dword [ebp - 0x6c], eax
add ecx, 0xfffffff0
lea eax, [edx - 0x10]
mov byte [ebp - 4], 7
mov dword [ebp - 0x70], ecx
cmp eax, ecx
je 0x41e99e
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x7c], eax
jl 0x41e98f
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x41e98f
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004047d0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x7c]
add esp, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e981
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6c]
add eax, 0x10
mov dword [ebp - 0x8c], eax
jmp 0x41e99e
push dword [edx - 0xc]
lea ecx, [ebp - 0x8c]
push edx
call fcn.00409670
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e9bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x8c]
add eax, 0xfffffff0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx]
mov dword [ebp - 0x7c], esp
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x80]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x6c], eax
jl 0x41e9fc
cmp edx, dword [ecx]
jne 0x41e9fc
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x6c]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x41ea44
mov eax, dword [edx]
push 2
push dword [ecx + 4]
mov ecx, edx
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x70], ecx
test ecx, ecx
jne 0x41ea15
call fcn.00409970
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [edx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [ebp - 0x70]
add eax, 0x10
push eax
call fcn.004a98f5
add esp, 0x10
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
add eax, 0x10
mov dword [ecx], eax
call fcn.00416540
add esp, 4
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x41eb81
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x70]
push str.writeReg_hive_error_
push eax
call fcn.0040b7a0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 8
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 9
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.00444920
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 9
call fcn.00444690
cmp dword [ebp - 0x54], 0x10
jb 0x41eae0
push dword [ebp - 0x68]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eb01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eb21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eb3e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eb5b
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eb78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x41f3c0
mov ecx, dword [ebp - 0x84]
push 0x4e0098
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x78]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], ecx
cmp eax, ecx
je 0x41ec15
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x41ec00
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x41ec00
push dword [ebp - 0x6c]
call fcn.004047d0
add esp, 4
mov dword [ebp - 0x6c], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x41ebf5
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6c]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x98], ebx
jmp 0x41ec15
push dword [edx - 0xc]
lea ecx, [ebp - 0x98]
push edx
call fcn.00409670
mov ebx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ec36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x84]
push 0x4e009c
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x70]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x6c], ecx
cmp eax, ecx
je 0x41ecca
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x41ecb5
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x41ecb5
push dword [ebp - 0x78]
call fcn.004047d0
add esp, 4
mov dword [ebp - 0x78], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41ecaa
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x78]
lea edi, [eax + 0x10]
mov dword [ebp - 0x9c], edi
jmp 0x41ecca
push dword [edx - 0xc]
lea ecx, [ebp - 0x9c]
push edx
call fcn.00409670
mov edi, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x84]
xor eax, eax
push 0x4e0150
mov dword [ebp - 0x6c], eax
call fcn.00444a00
mov ecx, eax
call fcn.00445a00
mov ecx, dword [ebp - 0x84]
push 0x4e0150
test al, al
je 0x41ed2d
call fcn.00444a00
mov ecx, eax
call fcn.004450d0
mov dword [ebp - 0x90], eax
jmp 0x41edfd
call fcn.00444a00
mov ecx, eax
call fcn.00445a70
test al, al
je 0x41f1f6
mov ecx, dword [ebp - 0x84]
push 0x4e0150
mov dword [ebp - 0x6c], 1
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x74]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], ecx
cmp eax, ecx
je 0x41eddc
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x41edc7
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x41edc7
push dword [ebp - 0x78]
call fcn.004047d0
add esp, 4
mov dword [ebp - 0x78], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41edbc
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x78]
lea esi, [eax + 0x10]
mov dword [ebp - 0x94], esi
jmp 0x41eddc
push dword [edx - 0xc]
lea ecx, [ebp - 0x94]
push edx
call fcn.00409670
mov esi, dword [ebp - 0x94]
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41edfd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x84]
push 0x4e00a4
call fcn.00445a20
test al, al
je 0x41ee2a
mov ecx, dword [ebp - 0x84]
push 0x4e00a4
call fcn.00444a00
mov ecx, eax
call fcn.004450d0
jmp 0x41ee2c
xor eax, eax
mov ecx, 0x2001f
mov dword [ebp - 0x70], 0xf003f
cmp eax, 0x20
jne 0x41ee4b
mov ecx, 0x2021f
mov dword [ebp - 0x70], 0xf023f
jmp 0x41ee5c
cmp eax, 0x40
jne 0x41ee5c
mov ecx, 0x2011f
mov dword [ebp - 0x70], 0xf013f
lea eax, [ebp - 0x88]
push eax
push ecx
push 0
push ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x41ee93
push 0
lea eax, [ebp - 0x88]
push eax
push 0
push dword [ebp - 0x70]
push 0
push 0
push 0
push ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41efe6
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0043fd80
add esp, 8
push eax
lea eax, [ebp - 0x7c]
push str.writeReg_RegOpenKeyEx_or_RegCreateKeyEx_
push eax
mov byte [ebp - 4], 0x11
call fcn.0040b7a0
add esp, 0xc
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eedf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x14
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x15
call fcn.00444920
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x14
call fcn.00444690
cmp dword [ebp - 0x54], 0x10
jb 0x41ef41
push dword [ebp - 0x68]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ef62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ef82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ef9f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41efbc
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eb78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x41f3c0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x41effa
push 4
lea eax, [ebp - 0x90]
push eax
push 4
jmp 0x41f011
cmp eax, 1
jne 0x41f173
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41f173
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0043fd80
add esp, 8
push eax
lea eax, [ebp - 0x6c]
push str.writeReg_RegSetValueEx_
push eax
mov byte [ebp - 4], 0x16
call fcn.0040b7a0
add esp, 0xc
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x18
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f06c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x19
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x1a
call fcn.00444920
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x19
call fcn.00444690
cmp dword [ebp - 0x54], 0x10
jb 0x41f0ce
push dword [ebp - 0x68]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f0ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f10f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f12c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f149
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eb78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x41f3c0
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov dword [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f196
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f1b3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f1d0
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f3c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41f3c0
push str.writeReg_invalid_value_type
lea ecx, [ebp - 0x6c]
call fcn.00401ff0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xe
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xf
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x10
call fcn.00444920
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xf
call fcn.00444690
cmp dword [ebp - 0x54], 0x10
jb 0x41f269
push dword [ebp - 0x68]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f28a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f2aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f2c7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f2e4
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eb78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x41f3c0
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x41f3db
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x34]
call fcn.004465d0
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 0x1f
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x90], eax
mov ecx, dword [0x526340]
mov byte [ebp - 4], 0x20
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 7
idiv ecx
cmp edx, 3
jne 0x41f42c
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x34]
call fcn.00449500
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0x21
jb 0x41f44d
mov edx, dword [edx]
sub esp, 0x18
mov edi, esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [edx], 0
jne 0x41f46c
xor ecx, ecx
jmp 0x41f47a
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f471
sub ecx, ebx
push ecx
push edx
mov ecx, edi
call fcn.00401460
lea eax, [ebp - 0x74]
push eax
call fcn.004512c0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x22
call fcn.00402ab0
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x21
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f4bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x10
mov byte [ebp - 4], 0x20
jb 0x41f4d4
push dword [ebp - 0x68]
call fcn.004a831e
add esp, 4
call fcn.004188e0
test al, al
jne 0x41f513
mov edx, dword [0x526340]
xor ecx, ecx
mov eax, dword [ebp + ecx*4 - 0x3c]
add eax, dword [ebp + ecx*4 - 0x40]
add ecx, 6
add eax, dword [ebp + ecx*4 - 0x5c]
add eax, dword [ebp + ecx*4 - 0x60]
add eax, dword [ebp + ecx*4 - 0x64]
add eax, dword [ebp + ecx*4 - 0x68]
imul eax, eax, 0xf7
add edx, eax
cmp ecx, 0x3c
jb 0x41f4e5
mov dword [0x526340], edx
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0x90]
mov eax, 8
mov word [edi], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41f53a
call fcn.00409970
add esi, 0xfffffff0
mov dword [edi + 8], eax
mov byte [ebp - 4], 0x1f
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f55b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 0
mov dword [ebp - 0x34], 0x4dfc5c
jb 0x41f577
push dword [ebp - 0x30]
call fcn.004a831e
add esp, 4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.004466d0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.00444690
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.004a8b24
mov esp, ebp
pop ebp
ret