Function at 0x4250c0
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5205ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
mov eax, dword [esp + 0x198]
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.00509107
lea ecx, [esp + 0x14]
mov dword [esp + 0x19c], 0
push ecx
push 0
lea ecx, [esp + 0x18]
call fcn.005094c9
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push eax
push SysReAllocStringLen
call esi
test eax, eax
je 0x425133
push str.RegCreateKey_Failed
push str.gltclient.log
call fcn.00463210
add esp, 8
jmp 0x42549e
mov edi, 0x570678
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
dec ecx
push ecx
push 0x570678
push 1
push eax
push str.URL_Protocol
push edx
call ebp
test eax, eax
je 0x4251b5
mov ecx, dword [0x56935c]
mov dword [esp + 0x1c], ecx
push eax
lea edx, [esp + 0x20]
push str.RegSetValueEx_URL_Protocol_Error__ret_is__x
push edx
mov byte [esp + 0x1a8], 1
call fcn.0050197c
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0
call fcn.005094c9
push eax
push str.gltclient.log
call fcn.00463210
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], 0
call fcn.00509099
jmp 0x42549e
push str._shellopencommand
lea ecx, [esp + 0x14]
call fcn.00509475
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.005094c9
push eax
push SysReAllocStringLen
call esi
lea ecx, [esp + 0x90]
push 0x400
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x425216
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.GetModuleFileName_Error
push str.gltclient.log
call fcn.00463210
add esp, 8
jmp 0x42549e
mov al, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call fcn.00402fc0
lea edi, [esp + 0x90]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x28]
call fcn.00403010
mov dl, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a0], 2
mov byte [esp + 0x54], dl
call fcn.00402fc0
mov edi, 0x565c6c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x565c6c
lea ecx, [esp + 0x58]
call fcn.00403010
mov al, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1a0], 3
mov byte [esp + 0x44], al
call fcn.00402fc0
mov edi, 0x565ab0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x565ab0
lea ecx, [esp + 0x48]
call fcn.00403010
mov cl, byte [esp + 0xf]
push 0
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a0], 4
call fcn.00402fc0
mov edi, 0x565ab0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x565ab0
lea ecx, [esp + 0x38]
call fcn.00403010
lea edx, [esp + 0x90]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
mov byte [esp + 0x1a8], 5
call fcn.00425540
lea edx, [esp + 0x4c]
mov byte [esp + 0x1a8], 6
push edx
push eax
lea eax, [esp + 0x94]
push eax
call fcn.00425670
lea ecx, [esp + 0x68]
lea edx, [esp + 0x78]
push ecx
push eax
push edx
mov byte [esp + 0x1c0], 7
call fcn.00425670
add esp, 0x24
mov ecx, dword [0x5347a8]
xor edi, edi
push ecx
push edi
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1a8], 8
call fcn.0040ed00
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a0], 7
call fcn.00402fc0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x1a0], 6
call fcn.00402fc0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x1a0], 5
call fcn.00402fc0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a0], 4
call fcn.00402fc0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x1a0], 3
call fcn.00402fc0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a0], 2
call fcn.00402fc0
mov eax, dword [esp + 0x24]
cmp eax, edi
jne 0x4253ea
mov eax, 0x53487c
mov edx, dword [esp + 0x28]
inc edx
push edx
push eax
mov eax, dword [esp + 0x1c]
push 1
push edi
push 0x570678
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x42546d
mov edx, dword [0x56935c]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x19c], 9
cmp eax, edi
jne 0x425430
mov eax, 0x53487c
push esi
push eax
lea eax, [esp + 0x20]
push str.RegSetValueEx__s_Error__ret_is__x
push eax
call fcn.0050197c
add esp, 0x10
lea ecx, [esp + 0x18]
push edi
call fcn.005094c9
push eax
push str.gltclient.log
call fcn.00463210
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 2
call fcn.00509099
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x425492
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x425489
cmp al, 0xff
je 0x425489
dec al
mov byte [ecx], al
jmp 0x425492
push ecx
call fcn.005096eb
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x19c], 0xffffffff
call fcn.00509099
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x194
ret 4