Function at 0x64b2c0
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x780
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, edx
mov ebx, ecx
push edi
mov edx, 0x64
lea ecx, [esp + 0x620]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], 0x382
call fcn.00654230
mov ecx, 1
call fcn.0065fea0
cmp eax, ebp
jne 0x64b9ec
cmp esi, ebp
je 0x64b9e7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64b326
sub eax, edx
mov dword [esp + 0x94], eax
je 0x64b9e7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64b341
sub eax, edx
cmp eax, 0x40
ja 0x64b9e7
cmp byte [esi], 0x2a
jne 0x64b377
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64b360
sub eax, edx
cmp eax, 1
je 0x64b9e7
mov ebp, 1
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov ecx, 0x14
lea edi, [esp + 0x370]
rep stosd dword es:[edi], eax
mov ecx, 0x14
lea edi, [esp + 0x278]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x100]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x168]
rep stosd dword es:[edi], eax
mov edx, 0x64
lea ecx, [esp + 0x3c0]
mov word [esp + 0x90], ax
call fcn.006522e0
mov edx, 3
lea ecx, [esp + 0x28]
call fcn.00656c60
mov eax, dword [esp + 0x28]
and eax, 3
mov dword [esp + 0x28], eax
dec eax
lea ecx, [esp + 0x98]
mov edx, 0x64
je 0x64b429
dec eax
je 0x64b422
dec eax
je 0x64b41b
call fcn.00652ca0
jmp 0x64b42e
call fcn.00652b50
jmp 0x64b42e
call fcn.00652bf0
jmp 0x64b42e
call fcn.00650c30
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x688]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x28
lea edi, [esp + 0x2c8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x28
lea edi, [esp + 0x1d0]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x7d
lea edi, [esp + 0x428]
rep stosd dword es:[edi], eax
mov edx, 0x106
lea ecx, [esp + 0x688]
call fcn.0065b340
test eax, eax
jne 0x64b9ec
push 0x12
lea ecx, [esp + 0x84]
push ecx
mov edx, esi
mov ecx, ebx
call fcn.0065aa80
test eax, eax
jne 0x64b9ec
mov bl, 0x31
lea ebx, [ebx]
xor edx, edx
xor eax, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x74], edx
push 0x28
mov dword [esp + 0x50], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x5c], eax
push 0x28
lea edx, [esp + 0x64]
movsx eax, bl
push edx
push eax
mov edx, 0x10
lea ecx, [esp + 0x94]
call fcn.00654ba0
test eax, eax
jne 0x64b55a
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.00697d4d
add esp, 8
test eax, eax
je 0x64b55a
lea edx, [esp + 0x30]
lea ecx, [esp + 0x58]
call fcn.00656630
cmp eax, 1
je 0x64b62f
inc bl
cmp bl, 0x39
jle 0x64b4b0
mov bl, 0x31
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x4c], ecx
push 0x28
mov dword [esp + 0x78], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x7c], eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x84], eax
push 0x28
lea eax, [esp + 0x64]
movsx ecx, bl
push eax
push ecx
mov edx, 0x10
lea ecx, [esp + 0x94]
call fcn.00654ba0
test eax, eax
jne 0x64b617
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.00697d4d
add esp, 8
test eax, eax
je 0x64b617
lea ecx, [esp + 0x58]
call fcn.006564f0
cmp eax, 1
je 0x64b617
lea ecx, [esp + 0x30]
call fcn.00656590
cmp eax, 1
jne 0x64b62f
inc bl
cmp bl, 0x39
jle 0x64b567
mov eax, 0x35e
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x64
lea edx, [esp + 0x104]
lea ecx, [esp + 0x5c]
call fcn.00654a00
test eax, eax
jne 0x64b65b
push 0x64
lea edx, [esp + 0x16c]
lea ecx, [esp + 0x34]
call fcn.00654ad0
test eax, eax
je 0x64b668
mov eax, 0x382
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x108]
mov ecx, closesocket
call fcn.00655590
test eax, eax
je 0x64b690
mov dword [esp + 0x14], eax
jmp 0x64b943
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x64b6a5
mov dword [esp + 0x14], 0x35f
jmp 0x64b943
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x170]
mov ecx, closesocket
call fcn.00655590
test eax, eax
je 0x64b6cd
mov dword [esp + 0x14], eax
jmp 0x64b943
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x64b6e2
mov dword [esp + 0x14], 0x35f
jmp 0x64b943
cmp dword [esp + 0x24], 1
jne 0x64b8cb
push 0xa2
lea edx, [esp + 0x2cc]
push edx
push 4
lea eax, [esp + 0x37c]
push eax
mov edx, ebp
lea ecx, [esp + 0x68]
call fcn.00656f40
test eax, eax
jne 0x64b943
mov edx, 4
lea ecx, [esp + 0x278]
call fcn.00656bc0
push 0xa2
lea ecx, [esp + 0x1d4]
push ecx
push 4
lea edx, [esp + 0x284]
push edx
mov edx, ebp
lea ecx, [esp + 0x68]
call fcn.00656f40
test eax, eax
jne 0x64b943
lea eax, [esp + 0x2c8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64b760
sub eax, edx
mov edi, eax
lea eax, [esp + 0x1d0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64b775
sub eax, edx
mov edx, eax
lea eax, [esp + 0x98]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64b790
sub eax, esi
add eax, edx
lea eax, [eax + edi + 3]
cmp eax, 0x1f4
ja 0x64b943
lea eax, [esp + 0x2c8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64b7b4
sub eax, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x2c8]
lea edi, [esp + 0x428]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
lea eax, [esp + 0x2c8]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64b7e5
sub eax, edx
mov bl, 0x20
lea ecx, [esp + 0x1d0]
mov byte [esp + eax + 0x428], bl
inc eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x64b802
sub ecx, esi
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x1d0]
lea edi, [esp + eax + 0x428]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1d0]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x64b831
sub ecx, esi
add eax, ecx
lea ecx, [esp + 0x98]
mov byte [esp + eax + 0x428], bl
inc eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x64b850
sub ecx, esi
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x98]
lea edi, [esp + eax + 0x428]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x98]
lea esi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x64b880
sub ecx, esi
add ecx, eax
lea eax, [esp + 0x428]
mov byte [esp + ecx + 0x428], dl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64b8a0
mov ecx, dword [esp + 0x18]
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x42c]
push eax
push 1
push 0
push 0x6ba446
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x64b92d
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c8]
call fcn.00655590
test eax, eax
je 0x64b8ec
mov dword [esp + 0x14], eax
jmp 0x64b943
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x64b8fe
mov dword [esp + 0x14], 0x35f
jmp 0x64b952
lea eax, [esp + 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64b905
sub eax, edx
inc eax
push eax
lea ecx, [esp + 0x34]
push ecx
push 1
push 0
push 0x6ba446
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x64b9b0
xor edx, edx
cmp eax, 5
setne dl
dec edx
and edx, 0x24
add edx, 0x339
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x64b952
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x64b976
cmp dword [esp + 0x24], 1
jne 0x64b96f
lea ecx, [esp + 0x100]
call fcn.00655d30
jmp 0x64b976
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x64b9a4
cmp dword [esp + 0x2c], 1
jne 0x64b99d
lea ecx, [esp + 0x168]
call fcn.00655dc0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
call fcn.006556f0
mov ecx, dword [esp + 0x1c]
call fcn.006559b0
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x325
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret