Function at 0x44f0f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64d593
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
mov eax, dword [0x6ed0a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x84]
mov ecx, ebx
call fcn.0044fca0
sub esp, 0xc
lea ecx, [ebp - 0xa8]
call fcn.0044fdb0
add esi, 0x3c
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x44f14d
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0xa8]
call fcn.00450200
cmp dword [ebp - 0x78], 0
jne 0x44fc71
mov esi, dword [ebp - 0xa8]
lea eax, [ebp - 0x2dc]
push 0x6e144c
shl esi, 5
lea ecx, [ebp - 0xa8]
add esi, dword [ebp - 0xa0]
push eax
call fcn.0044ffd0
cmp dword [eax], esi
je 0x44fc71
push 0x6e144c
lea ecx, [ebp - 0xa8]
call fcn.00450060
mov edx, eax
mov dword [ebp - 0x2cc], edx
movzx ecx, word [edx + 0xe]
test cx, cx
je 0x44fc71
cmp ecx, 4
jne 0x44fc71
mov ecx, dword [edx]
xor eax, eax
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2d8], eax
test ecx, ecx
jle 0x44fc71
mov edi, eax
shl edi, 4
add edi, dword [edx + 8]
movzx eax, word [edi + 0xe]
test ax, ax
je 0x44fc5c
cmp eax, 3
jne 0x44fc5c
mov esi, dword [edi]
lea eax, [ebp - 0x35c]
push 0x6e1440
shl esi, 5
mov ecx, edi
add esi, dword [edi + 8]
push eax
call fcn.0044ffd0
cmp dword [eax], esi
je 0x44fc50
push 0x6e1440
mov ecx, edi
call fcn.00450060
mov al, byte [eax + 0xe]
shr al, 5
test al, 1
je 0x44fc50
mov esi, dword [edi]
lea eax, [ebp - 0x360]
push 0x6e1450
shl esi, 5
mov ecx, edi
add esi, dword [edi + 8]
push eax
call fcn.0044ffd0
cmp dword [eax], esi
je 0x44fc50
push 0x6e1450
mov ecx, edi
call fcn.00450060
mov al, byte [eax + 0xe]
shr al, 5
test al, 1
je 0x44fc50
mov esi, dword [edi]
lea eax, [ebp - 0x364]
push str.type
shl esi, 5
mov ecx, edi
add esi, dword [edi + 8]
push eax
call fcn.0044ffd0
cmp dword [eax], esi
je 0x44fc50
push str.type
mov ecx, edi
call fcn.00450060
mov al, byte [eax + 0xe]
shr al, 5
test al, 1
je 0x44fc50
mov esi, dword [edi]
lea eax, [ebp - 0x37c]
push str.path
shl esi, 5
mov ecx, edi
add esi, dword [edi + 8]
push eax
call fcn.0044ffd0
cmp dword [eax], esi
je 0x44fc50
push str.path
mov ecx, edi
call fcn.00450060
mov ax, word [eax + 0xe]
shr ax, 0xa
test al, 1
je 0x44fc50
push 0x208
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.00612090
xor eax, eax
mov dword [ebp - 0x2b8], reloc.WS2_32.dll_bind
add esp, 0xc
mov dword [ebp - 0xac], eax
cmp byte [0x6f1884], al
jne 0x44f353
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x44f346
push 0x6f1880
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0xac]
mov byte [0x6f1884], 1
cmp dword [0x6f1880], 0
mov ecx, 0x200
push 0x6e1440
cmovne eax, ecx
mov ecx, edi
mov dword [ebp - 0xac], eax
call fcn.00450060
push 0x6e1450
mov ecx, edi
mov esi, dword [eax]
mov dword [ebp - 0x2c4], esi
call fcn.00450060
mov eax, dword [eax]
test eax, eax
jne 0x44f39a
mov dword [ebp - 0x2b8], accept
jmp 0x44f3e0
cmp eax, 1
jne 0x44f3ab
mov dword [ebp - 0x2b8], reloc.WS2_32.dll_accept
jmp 0x44f3e0
cmp eax, 2
jne 0x44f3bc
mov dword [ebp - 0x2b8], reloc.WS2_32.dll_bind
jmp 0x44f3e0
cmp eax, 3
jne 0x44f3cd
mov dword [ebp - 0x2b8], reloc.WS2_32.dll_closesocket
jmp 0x44f3e0
cmp eax, 4
jne 0x44fc1e
mov dword [ebp - 0x2b8], reloc.WS2_32.dll_getpeername
push str.type
mov ecx, edi
call fcn.00450060
push str.path
mov ecx, edi
mov eax, dword [eax]
mov dword [ebp - 0x2c0], eax
call fcn.00450060
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x44f40e
mov eax, dword [eax + 8]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044ec30
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2b8]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0044bcc0
mov esi, dword [edi]
lea eax, [ebp - 0x378]
push 0x6e1464
shl esi, 5
mov ecx, edi
add esi, dword [edi + 8]
push eax
mov byte [ebp - 0x2d4], 0
call fcn.0044ffd0
cmp dword [eax], esi
je 0x44f487
push 0x6e1464
mov ecx, edi
call fcn.00450060
mov al, byte [eax + 0xe]
shr al, 3
test al, 1
je 0x44f487
push 0x6e1464
mov ecx, edi
call fcn.00450060
cmp word [eax + 0xe], 0xa
sete byte [ebp - 0x2d4]
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x2b8]
call fcn.0044bce0
cmp dword [ebp - 0x2c0], 1
jne 0x44f56e
lea eax, [ebp - 0x2c0]
mov byte [ebp - 0x2b9], 0
push eax
mov eax, dword [ebp - 0xac]
or eax, 1
mov dword [ebp - 0x2c0], 0
push eax
push 0
lea eax, [ebp - 0x2b4]
push eax
push dword [ebp - 0x2b8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ecx, byte [ebp - 0x2b9]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x2d0], ecx
mov eax, dword [ebp - 0x2c0]
test eax, eax
je 0x44f50a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x2c4]
test cl, cl
mov ecx, ebx
je 0x44f542
mov dword [ebp - 0x300], eax
lea eax, [ebp - 0x300]
push eax
mov dword [ebp - 0x2fc], 1
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x384]
jmp 0x44fc07
mov dword [ebp - 0x308], eax
lea eax, [ebp - 0x308]
push eax
mov dword [ebp - 0x304], 0
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x38c]
jmp 0x44fc07
mov esi, dword [edi]
lea eax, [ebp - 0x374]
push str.name
shl esi, 5
mov ecx, edi
add esi, dword [edi + 8]
push eax
call fcn.0044ffd0
cmp dword [eax], esi
je 0x44fbd8
push str.name
mov ecx, edi
call fcn.00450060
mov ax, word [eax + 0xe]
shr ax, 0xa
test al, 1
je 0x44fbd8
push str.name
mov ecx, edi
call fcn.00450060
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x44f5c7
mov eax, dword [eax + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044ec30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c0]
cmp eax, 2
jne 0x44f6e6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x2c0]
push eax
mov eax, dword [ebp - 0xac]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
or eax, 1
push eax
push 0
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x2d0], 0
push eax
push dword [ebp - 0x2b8]
mov byte [ebp - 0x2b9], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2dc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44f66c
test esi, esi
je 0x44f665
lea eax, [ebp - 0x2d0]
push eax
push 0
lea eax, [ebp - 0x2dc]
push eax
push 0
push esi
push dword [ebp - 0x2c0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44f66c
mov byte [ebp - 0x2b9], 1
mov eax, dword [ebp - 0x2c0]
test eax, eax
je 0x44f67d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x2b9], 0
mov ecx, ebx
mov eax, dword [ebp - 0x2c4]
je 0x44f6ba
mov dword [ebp - 0x310], eax
lea eax, [ebp - 0x310]
push eax
mov dword [ebp - 0x30c], 1
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x394]
jmp 0x44fbb9
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0x318]
push eax
mov dword [ebp - 0x314], 0
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x39c]
jmp 0x44fbb9
cmp eax, 3
jne 0x44f8e1
mov esi, dword [edi]
lea eax, [ebp - 0x370]
push 0x6e1468
shl esi, 5
mov ecx, edi
add esi, dword [edi + 8]
push eax
call fcn.0044ffd0
cmp dword [eax], esi
je 0x44f8ad
push 0x6e1468
mov ecx, edi
call fcn.00450060
mov al, byte [eax + 0xe]
shr al, 5
test al, 1
je 0x44f8ad
push 0x6e1468
mov ecx, edi
call fcn.00450060
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x2e0], eax
test esi, esi
je 0x44f879
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2c0], 0
push eax
push 0
push esi
lea ecx, [ebp - 0x2b8]
call fcn.0044bd50
mov ecx, dword [ebp - 0x2c0]
cmp ecx, 4
je 0x44f795
mov eax, 4
sub eax, ecx
cmp eax, 2
je 0x44f795
lea eax, [ecx - 4]
cmp eax, 2
jne 0x44f879
push ecx
call fcn.0060f4f3
add esp, 4
mov edi, eax
push dword [ebp - 0x2c0]
push 0
push edi
call fcn.00612090
add esp, 0xc
lea eax, [ebp - 0x2c0]
lea ecx, [ebp - 0x2b8]
push eax
push edi
push esi
call fcn.0044bd50
test al, al
je 0x44f870
xor ecx, ecx
lea esi, [ebp - 0x2e0]
cmp dword [ebp - 0x2c0], 4
mov edx, edi
sete cl
lea ecx, [ecx*2 + 2]
sub ecx, 4
jb 0x44f801
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x44f806
add edx, 4
add esi, 4
sub ecx, 4
jae 0x44f7f0
cmp ecx, 0xfffffffc
je 0x44f833
mov al, byte [edx]
cmp al, byte [esi]
jne 0x44f870
cmp ecx, 0xfffffffd
je 0x44f833
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x44f870
cmp ecx, 0xfffffffe
je 0x44f833
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x44f870
cmp ecx, 0xffffffff
je 0x44f833
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
jne 0x44f870
push edi
call fcn.0060f4fc
mov eax, dword [ebp - 0x2c4]
add esp, 4
mov dword [ebp - 0x320], eax
mov ecx, ebx
lea eax, [ebp - 0x320]
mov dword [ebp - 0x31c], 1
push eax
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x3a4]
jmp 0x44fbb9
push edi
call fcn.0060f4fc
add esp, 4
mov eax, dword [ebp - 0x2c4]
mov ecx, ebx
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x328]
push eax
mov dword [ebp - 0x324], 0
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x3ac]
jmp 0x44fbb9
mov eax, dword [ebp - 0x2c4]
mov ecx, ebx
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x330]
push eax
mov dword [ebp - 0x32c], 0xb
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x3b4]
jmp 0x44fbb9
cmp eax, 4
jne 0x44fa88
mov esi, dword [edi]
lea eax, [ebp - 0x36c]
push 0x6e1468
shl esi, 5
mov ecx, edi
add esi, dword [edi + 8]
push eax
call fcn.0044ffd0
cmp dword [eax], esi
je 0x44fa54
push 0x6e1468
mov ecx, edi
call fcn.00450060
mov ax, word [eax + 0xe]
shr ax, 0xa
test al, 1
je 0x44fa54
push 0x6e1468
mov ecx, edi
call fcn.00450060
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x44f943
mov eax, dword [eax + 8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044ec30
mov byte [ebp - 4], 3
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x28]
cmovae edx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
mov ecx, edx
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44f970
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push esi
lea ecx, [ebp - 0x2b8]
call fcn.0044bdd0
test al, al
mov ecx, ebx
mov eax, dword [ebp - 0x2c4]
je 0x44f9c9
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x338]
push eax
mov dword [ebp - 0x334], 1
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x3bc]
jmp 0x44f9f0
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x340]
push eax
mov dword [ebp - 0x33c], 0
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x3ec]
push ecx
push eax
mov ecx, ebx
call fcn.004503a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x44fbc2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fa31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fc98
push edx
push ecx
call fcn.0060f4b5
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.0044b3a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0044b3a0
jmp 0x44fc50
mov eax, dword [ebp - 0x2c4]
mov ecx, ebx
mov dword [ebp - 0x348], eax
lea eax, [ebp - 0x348]
push eax
mov dword [ebp - 0x344], 0xb
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x3c4]
jmp 0x44fbb9
cmp eax, 5
jne 0x44fb8a
mov esi, dword [edi]
lea eax, [ebp - 0x368]
push 0x6e1468
shl esi, 5
mov ecx, edi
add esi, dword [edi + 8]
push eax
call fcn.0044ffd0
cmp dword [eax], esi
je 0x44fb59
push 0x6e1468
mov ecx, edi
call fcn.00450060
mov ax, word [eax + 0xe]
shr ax, 0xa
test al, 1
je 0x44fb59
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 5
mov ecx, ebx
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x350], eax
lea eax, [ebp - 0x350]
push eax
mov dword [ebp - 0x34c], 0xc
call fcn.00450380
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x3cc]
mov ecx, ebx
push eax
call fcn.004503a0
lea ecx, [ebp - 0x40]
call fcn.0044c8e0
lea ecx, [ebp - 0x70]
call fcn.0044c8e0
lea ecx, [ebp - 0x28]
call fcn.0044b3a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0044b3a0
jmp 0x44fc50
mov eax, dword [ebp - 0x2c4]
mov ecx, ebx
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x358]
push eax
mov dword [ebp - 0x354], 0xb
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x3d4]
jmp 0x44fbb9
mov eax, dword [ebp - 0x2c4]
mov ecx, ebx
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2e8]
push eax
mov dword [ebp - 0x2e4], 0xd
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x3dc]
push ecx
push eax
mov ecx, ebx
call fcn.004503a0
lea ecx, [ebp - 0x28]
call fcn.0044b3a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0044b3a0
jmp 0x44fc50
mov eax, dword [ebp - 0x2c4]
mov ecx, ebx
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x2f0]
push eax
mov dword [ebp - 0x2ec], 0xe
call fcn.00450380
push eax
add eax, 0x10
push eax
lea eax, [ebp - 0x3e4]
push ecx
push eax
mov ecx, ebx
call fcn.004503a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0044b3a0
jmp 0x44fc50
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x2f8], esi
push eax
mov ecx, ebx
mov dword [ebp - 0x2f4], 0xb
call fcn.00450380
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x3f4]
mov ecx, ebx
push eax
call fcn.004503a0
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [ebp - 0x2cc]
mov eax, dword [ebp - 0x2d8]
inc eax
mov dword [ebp - 0x2d8], eax
cmp eax, ecx
jl 0x44f1d7
lea ecx, [ebp - 0xa8]
call fcn.0044fd40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060f4a4
mov esp, ebp
pop ebp
ret
call fcn.0061405c
int3