Function at 0x42795b
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x478a3c
call fcn.004785ac
sub esp, 0x3ac
mov eax, dword [0x4e88d4]
push ebx
push esi
push edi
mov edi, dword [0x4e88d8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3b8]
push 0x104
push eax
push str.UserProfile
mov dword [ebp - 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x3b8]
push eax
lea ecx, [ebp - 0x44]
call fcn.00433e29
and dword [ebp - 4], 0
lea edx, [ebp - 0x44]
push str.DocumentsCounter_Strike_Online_2launcherlauncher.ini
lea ecx, [ebp - 0x8c]
call fcn.00438206
pop ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004360ff
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x160]
cmovae eax, dword [ebp - 0x8c]
sub esp, 0xc
push eax
call fcn.00435855
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x4901e8
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x164], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x104], 0
je 0x427b92
and dword [ebp - 0x5c], 0
xor eax, eax
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x160]
call fcn.004387cf
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x427b7f
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1b0]
call fcn.004339f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
mov eax, dword [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x5c]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00435d95
lea ecx, [ebp - 0x1b0]
call fcn.004339ce
push ecx
push str.Username:
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
xor bl, bl
call fcn.00433fc8
test eax, eax
jne 0x427bb7
push 0xffffffffffffffff
push eax
push 0x3a
lea ecx, [ebp - 0x24]
call fcn.00433f8c
add eax, 2
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00433e77
mov esi, eax
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x427ae9
mov ecx, eax
call fcn.004362ae
push esi
lea ecx, [ebp - 0x24]
call fcn.00436649
lea ecx, [ebp - 0x44]
call fcn.004362ae
mov edx, dword [ebp - 0x14]
cmp edx, 0xc
ja 0x427b52
cmp dword [ebp - 0x10], 0x10
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x24]
cmovae edi, dword [ebp - 0x24]
cmovae esi, dword [ebp - 0x24]
add edi, edx
cmp esi, edi
je 0x427b30
xor edx, edx
inc edx
movsx ecx, byte [esi]
call fcn.0042791c
test al, al
movzx ebx, bl
cmove ebx, edx
inc esi
cmp esi, edi
jne 0x427b14
mov edx, dword [ebp - 0x14]
test bl, bl
jne 0x427b4f
xor ecx, ecx
test edx, edx
je 0x427b4f
mov ebx, dword [ebp - 0x2c]
cmp dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
mov al, byte [eax + ecx]
mov byte [ecx + ebx], al
inc ecx
cmp ecx, edx
jb 0x427b39
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004362ae
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x160]
call fcn.004387cf
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x427a5b
lea ecx, [ebp - 0x160]
call fcn.00432d16
lea ecx, [ebp - 0x5c]
call fcn.004360ff
lea ecx, [ebp - 0x160]
call fcn.00427f20
lea ecx, [ebp - 0x8c]
call fcn.004360ff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push ecx
push str.Password:
lea ecx, [ebp - 0x24]
call fcn.00433fc8
test eax, eax
jne 0x427c7a
push 0xffffffffffffffff
push eax
push 0x3a
lea ecx, [ebp - 0x24]
call fcn.00433f8c
add eax, 2
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00433e77
mov esi, eax
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x427c03
mov ecx, eax
call fcn.004362ae
push esi
lea ecx, [ebp - 0x24]
call fcn.00436649
lea ecx, [ebp - 0x44]
call fcn.004362ae
mov edx, dword [ebp - 0x14]
cmp edx, 8
ja 0x427b52
cmp dword [ebp - 0x10], 0x10
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x24]
cmovae edi, dword [ebp - 0x24]
cmovae esi, dword [ebp - 0x24]
add edi, edx
cmp esi, edi
je 0x427c52
xor edx, edx
inc edx
movsx ecx, byte [esi]
call fcn.0042793e
test al, al
movzx ebx, bl
cmove ebx, edx
inc esi
cmp esi, edi
jne 0x427c32
mov edx, dword [ebp - 0x14]
test bl, bl
jne 0x427b4f
mov edi, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x427b52
cmp dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
mov al, byte [eax + ecx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, edx
jb 0x427c5f
jmp 0x427b52
push ecx
push str.Remember:
lea ecx, [ebp - 0x24]
call fcn.00433fc8
test eax, eax
jne 0x427d2b
mov eax, dword [ebp - 0x2c]
cmp byte [eax], 0
je 0x427cf9
cmp byte [edi], 0
je 0x427cf9
push 0xffffffffffffffff
push 0
push 0x3a
lea ecx, [ebp - 0x24]
call fcn.00433f8c
add eax, 2
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00433e77
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.0045e6a8
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jle 0x427cd8
xor al, al
jmp 0x427cef
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.0045e6a8
test eax, eax
pop ecx
setne al
lea ecx, [ebp - 0x74]
mov byte [esi], al
call fcn.004362ae
cmp byte [esi], 0
jne 0x427b52
push 0xd
push 0
push dword [0x4e88d4]
call fcn.00453150
add esp, 0xc
push 9
push 0
push dword [0x4e88d8]
call fcn.00453150
add esp, 0xc
jmp 0x427b52
push ecx
push str.Console:
lea ecx, [ebp - 0x24]
call fcn.00433fc8
test eax, eax
jne 0x427d93
push 0xffffffffffffffff
push eax
push 0x3a
lea ecx, [ebp - 0x24]
call fcn.00433f8c
add eax, 2
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00433e77
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0045e6a8
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jle 0x427d77
xor al, al
jmp 0x427d8e
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0045e6a8
test eax, eax
pop ecx
setne al
mov ecx, dword [ebp + 0xc]
jmp 0x427df9
push ecx
push str.Debug:
lea ecx, [ebp - 0x24]
call fcn.00433fc8
test eax, eax
jne 0x427e08
push 0xffffffffffffffff
push eax
push 0x3a
lea ecx, [ebp - 0x24]
call fcn.00433f8c
add eax, 2
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00433e77
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0045e6a8
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jle 0x427ddf
xor al, al
jmp 0x427df6
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0045e6a8
test eax, eax
pop ecx
setne al
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
lea ecx, [ebp - 0x44]
call fcn.004362ae
jmp 0x427b52
push ecx
push str.ArgsAction:
lea ecx, [ebp - 0x24]
call fcn.00433fc8
test eax, eax
jne 0x427e7a
push 0xffffffffffffffff
push eax
push 0x3a
lea ecx, [ebp - 0x24]
call fcn.00433f8c
add eax, 2
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00433e77
mov esi, eax
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x427e50
mov ecx, eax
call fcn.004362ae
push esi
lea ecx, [ebp - 0x24]
call fcn.00436649
lea ecx, [ebp - 0x44]
call fcn.004362ae
push str.Override
lea ecx, [ebp - 0x24]
call fcn.0043a4f4
test al, al
je 0x427b52
mov eax, dword [ebp + 0x14]
xor ecx, ecx
inc ecx
mov byte [eax], cl
jmp 0x427b52
push ecx
push str.Args:
lea ecx, [ebp - 0x24]
call fcn.00433fc8
test eax, eax
jne 0x427b52
push 0xffffffffffffffff
push eax
push 0x3a
lea ecx, [ebp - 0x24]
call fcn.00433f8c
add eax, 2
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00433e77
mov esi, eax
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x427ec9
mov ecx, eax
call fcn.004362ae
push esi
lea ecx, [ebp - 0x24]
call fcn.00436649
lea ecx, [ebp - 0xa4]
call fcn.004362ae
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
cmovae ecx, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x24]
add esi, ecx
cmp edx, esi
je 0x427f0f
movsx ecx, byte [edx]
call fcn.0042793e
test al, al
movzx ebx, bl
push 1
pop eax
cmove ebx, eax
inc edx
cmp edx, esi
jne 0x427eef
test bl, bl
jne 0x427b52
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x24]
push eax
call fcn.0043419c
jmp 0x427b52