Function at 0x406bfe
Capabilities:
Check http status code
Contain obfuscated stackstrings
Create http request
Read data from internet
Receive data
Set registry value

Disassembly:
mov eax, 0x43b3f8
call fcn.00439f7c
sub esp, 0xa0
push ebx
push esi
push edi
push 0xf
pop esi
push 0x22
xor ebx, ebx
push str.https:__gnlogin.ru__credentialkey
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x70], bl
call fcn.004031b4
push 0xffffffffffffffff
push ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x70]
call fcn.004040ce
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], ebx
je 0x406d11
push ebx
push ebx
push ebx
push ebx
push str.Installer__compatible__MSIE_6.0b__Windows_NT_5.0__.NET_CLR_1.0.2914_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x48], esi
cmp esi, ebx
je 0x406d11
cmp dword [ebp - 0x5c], 0x10
mov eax, dword [ebp - 0x70]
jae 0x406c83
lea eax, [ebp - 0x70]
push ebx
push 0x84403900
push 0xffffffffffffffff
push str.Accept:__
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x406cac
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x406d11
mov edi, 0x20000
lea esi, [ebp - 0x20]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x4c], ebx
call fcn.0040576a
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x20]
cmp edi, ebx
jne 0x406ccd
push ebx
jmp 0x406cfb
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x406ce9
cmp dword [ebp + 8], ebx
jbe 0x406d40
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
push edi
call fcn.00403cd7
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x1c]
push edi
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x406cd5
push edi
call fcn.0040da6f
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ecx
push dword [ebp + 0xc]
call esi
push dword [ebp - 0x48]
call esi
push 3
pop esi
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.004027c9
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004027c9
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x20000013
push dword [ebp + 0xc]
mov dword [ebp - 0x54], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x406cfa
cmp dword [ebp - 0x4c], 0xc8
jne 0x406cfa
push edi
call fcn.0040da6f
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ecx
push dword [ebp + 0xc]
call esi
push dword [ebp - 0x48]
call esi
cmp dword [ebp - 0x78], 0x10
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x50], ebx
jae 0x406d97
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x50]
push ecx
push 0x440548
push eax
call fcn.0040e216
add esp, 0xc
xor edi, edi
mov esi, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 5
jmp 0x406e69
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
call fcn.004027a6
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
cmp eax, edi
jae 0x406e17
cmp dword [ebp - 0x28], eax
ja 0x406e17
sub eax, dword [ebp - 0x28]
push 0x1c
cdq
pop ecx
idiv ecx
mov esi, eax
cmp edi, dword [ebp - 0x20]
jne 0x406e00
lea ecx, [ebp - 0x28]
call fcn.0040752c
mov edi, dword [ebp - 0x24]
imul esi, esi, 0x1c
add esi, dword [ebp - 0x28]
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
mov byte [ebp - 4], 7
cmp edi, ebx
je 0x406e40
push esi
jmp 0x406e39
cmp edi, dword [ebp - 0x20]
jne 0x406e27
lea ecx, [ebp - 0x28]
call fcn.0040752c
mov edi, dword [ebp - 0x24]
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
mov byte [ebp - 4], 8
cmp edi, ebx
je 0x406e40
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00403cb4
lea eax, [ebp - 0x50]
push eax
push 0x440548
add edi, 0x1c
push ebx
mov dword [ebp - 0x24], edi
call fcn.0040e216
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x44]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.004027c9
cmp esi, ebx
jne 0x406dbf
mov esi, dword [ebp - 0x28]
mov eax, edi
sub eax, esi
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 4
jae 0x406eaa
cmp esi, ebx
je 0x406ea3
jmp 0x406e96
push ebx
push 1
mov ecx, esi
call fcn.004027c9
add esi, 0x1c
cmp esi, edi
jne 0x406e89
push dword [ebp - 0x28]
call fcn.0040da6f
pop ecx
push 2
jmp 0x406d13
push 0x12
push str.SoftwareGGSQGNA_
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], ebx
mov byte [ebp - 0xa8], bl
call fcn.004031b4
xor edx, edx
lea ecx, [ebp - 0xa8]
inc edx
lea esi, [ebp - 0x18]
call fcn.004064d9
push ebx
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 9
call fcn.004027c9
push 0xf
pop esi
push 6
push str.userId
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
call fcn.004031b4
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0040730e
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x18]
call fcn.00406537
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.004027c9
push 6
push str.appKey
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
call fcn.004031b4
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.0040730e
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x18]
call fcn.00406537
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.004027c9
push 6
push str.cookie
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
call fcn.004031b4
push 2
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.0040730e
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x18]
call fcn.00406537
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.004027c9
mov dword [ebp - 0x30], esi
push 3
push 0x440578
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
call fcn.004031b4
push 3
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.0040730e
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x18]
call fcn.00406537
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.004027c9
push 0xe
push str.SaveCredential
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
call fcn.004031b4
xor esi, esi
inc esi
mov dword [ebp + 0xc], esi
cmp byte [ebp - 0x14], bl
je 0x407039
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x407026
lea eax, [ebp - 0x44]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.004027c9
cmp byte [ebp - 0x14], bl
je 0x407051
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x28]
cmp esi, ebx
je 0x407074
jmp 0x407067
push ebx
push 1
mov ecx, esi
call fcn.004027c9
add esi, 0x1c
cmp esi, edi
jne 0x40705a
push dword [ebp - 0x28]
call fcn.0040da6f
pop ecx
xor esi, esi
inc esi
jmp 0x406d14