Function at 0x44c120
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a7851
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov eax, dword [esp + 0x254]
xor ebx, ebx
mov esi, ecx
push 0x206
lea ecx, [esp + 0x3e]
push ebx
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ebx
mov word [esp + 0x44], bx
call int.0048bd10
add esp, 0xc
mov dword [esp + 0x24], ebx
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push 0x4b3a8c
mov dword [esp + 0x25c], ebx
push 0x80000002
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x44c235
mov eax, dword [0x4da734]
mov edi, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov ecx, 0x4da734
mov dword [esp + 0x24], edi
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x24c], 1
mov edx, dword [0x4dbcdc]
mov ecx, dword [edx - 0xc]
cmp ecx, ebx
je 0x44c278
lea eax, [edx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
je 0x44c291
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x44c266
mov ebp, dword [eax]
cmp ebp, dword [esi]
jne 0x44c266
call fcn.0040d0b0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x44c228
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov edi, dword [esp + 0x14]
add ebp, 0x10
mov dword [esp + 0x1c], ebp
jmp 0x44c291
push 0x4bc5c4
push 0x598
push 0x4bc5e0
push 0x4bc508
lea edi, [esi + 0x9fc]
mov dword [esi + 0x9f4], 2
call fcn.0040e820
add esp, 0x10
jmp 0x44c4d4
push edx
mov ebx, ecx
lea eax, [esp + 0x20]
call fcn.0040cfc0
mov edi, dword [esp + 0x14]
jmp 0x44c28b
push 0x4bc52c
mov ebx, 0x10
lea eax, [esp + 0x20]
call fcn.0040cfc0
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push ebp
push edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x44c2c5
xor eax, eax
cmp edi, ebx
je 0x44c2b9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], esi
je 0x44c327
mov eax, dword [esp + 0x28]
push ebp
push 0x5aa
push 0x4bc5e0
push 0x4bc508
lea edi, [eax + 0x9fc]
mov dword [eax + 0x9f4], 2
call fcn.0040e820
lea eax, [ebp - 0x10]
add esp, 0x10
mov byte [esp + 0x24c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44c315
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x44c4d4
push eax
jmp 0x44c4ce
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x3c]
push eax
push ebx
push str.tS7vc
push esi
mov dword [esp + 0x48], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ebx, 2
jne 0x44c377
mov eax, dword [esp + 0x34]
cmp eax, 1
je 0x44c361
cmp eax, ebx
jne 0x44c377
mov eax, dword [esp + 0x30]
test eax, eax
je 0x44c3a8
test al, 1
jne 0x44c377
shr eax, 1
cmp word [esp + eax*2 + 0x36], 0
je 0x44c3af
mov eax, dword [esp + 0x28]
push str.tS7vc
push 0x5b2
push 0x4bc5e0
push 0x4bc508
lea edi, [eax + 0x9fc]
mov dword [eax + 0x9f4], ebx
call fcn.0040e820
add esp, 0x10
jmp 0x44c4a5
mov word [esp + 0x38], 0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040b6b0
mov byte [esp + 0x24c], bl
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
jl 0x44c502
cmp eax, ecx
jg 0x44c502
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x44c3f9
push 1
push 0x4b72a4
lea edx, [esp + 0x20]
push edx
call fcn.0043fad0
push 0x16
push 0x4bc67c
lea eax, [esp + 0x20]
push eax
call fcn.0043fad0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44c47d
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [edx]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
mov dword [esp + 0x2c], 1
je 0x44c479
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x44c46c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x44c46c
call fcn.0040d0b0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x44c461
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x20]
add ebx, 0x10
mov dword [ecx], ebx
jmp 0x44c479
mov ebx, dword [ecx - 0xc]
mov eax, dword [esp + 0x20]
push ecx
call fcn.0040cfc0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x24c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44c4a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x24c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44c4c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x44c4d4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00488fa3
add esp, 0x23c
ret 4
push 0x80070057
call fcn.00401050
int3