Function at 0x4075b0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x449e47
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x45e560]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e560]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
call fcn.00407540
cmp al, 1
je 0x407731
xor esi, esi
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], esi
mov byte [esp + 0x34], 0
push esi
mov eax, 0x401
lea edi, [esp + 0x34]
mov dword [esp + 0x184], esi
call fcn.00402610
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x407630
ja 0x407630
call fcn.00446bb1
mov eax, dword [esp + 0x34]
mov ebp, 0x10
cmp dword [esp + 0x48], ebp
jae 0x407643
lea eax, [esp + 0x34]
push 0x400
push eax
push str._ProgramFiles_SafeConnect
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x407662
lea eax, [esp + 0x34]
cmp eax, esi
jne 0x407676
xor eax, eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x38]
call fcn.00402a60
jmp 0x4076ab
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407680
mov ecx, dword [esp + 0x44]
sub eax, edx
cmp eax, ecx
ja 0x40769f
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x38]
call fcn.00402a60
jmp 0x4076ab
push esi
sub eax, ecx
lea edi, [esp + 0x34]
call fcn.00402610
lea eax, [esp + 0x30]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
push eax
mov edi, str._scManager.dll
lea esi, [esp + 0x18]
call fcn.00409510
add esp, 4
mov byte [esp + 0x180], 1
cmp dword [eax + 0x18], ebp
jb 0x4076eb
mov eax, dword [eax + 4]
jmp 0x4076ee
add eax, 4
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.00419a40
cmp eax, 1
sete bl
mov byte [esp + 0x180], 0
cmp dword [esp + 0x2c], ebp
jb 0x40771a
mov edx, dword [esp + 0x18]
push edx
call fcn.0040e8c6
add esp, 4
test bl, bl
je 0x407738
cmp dword [esp + 0x48], ebp
jb 0x407731
mov eax, dword [esp + 0x34]
push eax
call fcn.0040e8c6
add esp, 4
mov al, 1
jmp 0x40786d
lea ecx, [esp + 0x30]
push ecx
mov edi, str._scManager.sys
lea esi, [esp + 0x18]
call fcn.00409510
add esp, 4
mov byte [esp + 0x180], 2
cmp dword [eax + 0x18], ebp
jb 0x407760
mov eax, dword [eax + 4]
jmp 0x407763
add eax, 4
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.00419a40
cmp eax, 1
sete bl
mov byte [esp + 0x180], 0
cmp dword [esp + 0x2c], ebp
jb 0x40778f
mov eax, dword [esp + 0x18]
push eax
call fcn.0040e8c6
add esp, 4
test bl, bl
je 0x4077ad
cmp dword [esp + 0x48], ebp
jb 0x407731
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0040e8c6
add esp, 4
mov al, 1
jmp 0x40786d
lea edx, [esp + 0x30]
push edx
mov edi, str._scClient.dll
lea esi, [esp + 0x18]
call fcn.00409510
add esp, 4
mov byte [esp + 0x180], 3
cmp dword [eax + 0x18], ebp
jb 0x4077d5
mov eax, dword [eax + 4]
jmp 0x4077d8
add eax, 4
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.00419a40
cmp eax, 1
sete bl
mov byte [esp + 0x180], 0
cmp dword [esp + 0x2c], ebp
jb 0x407804
mov edx, dword [esp + 0x18]
push edx
call fcn.0040e8c6
add esp, 4
test bl, bl
je 0x407815
lea esi, [esp + 0x30]
call fcn.00403010
mov al, 1
jmp 0x40786d
lea eax, [esp + 0x30]
push eax
mov edi, str._scClient.exe
lea esi, [esp + 0x18]
call fcn.00409510
add esp, 4
mov byte [esp + 0x180], 4
cmp dword [eax + 0x18], ebp
jb 0x40783d
mov eax, dword [eax + 4]
jmp 0x407840
add eax, 4
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.00419a40
cmp eax, 1
lea esi, [esp + 0x14]
sete bl
call fcn.00403010
lea esi, [esp + 0x30]
call fcn.00403010
test bl, bl
jne 0x407731
xor al, al
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0042d9c5
add esp, 0x170
ret