Function at 0x4373e0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0cb2
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4fe080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x260]
push eax
call fcn.00425280
mov ecx, eax
call fcn.004252f0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x250], eax
jbe 0x437622
lea eax, [ebp - 0x248]
push eax
call fcn.00413ac0
mov ecx, eax
call fcn.00413b70
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push dword [ebp - 0x250]
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x238]
mov byte [ebp - 4], 2
push 0
call fcn.0041efc0
test eax, eax
jne 0x4374a4
xor bl, bl
jmp 0x437602
xor esi, esi
cmp dword [ebp - 0x250], esi
jbe 0x4374eb
mov edi, edi
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
movzx eax, word [eax + esi*2]
push eax
call fcn.0047f044
add esp, 4
movzx eax, ax
lea ecx, [ebp - 0x278]
push eax
push 1
call fcn.00413a00
inc esi
cmp esi, dword [ebp - 0x250]
jb 0x4374b0
call fcn.00409860
mov edx, eax
mov dword [ebp - 0x21c], 7
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [edx], ax
jne 0x437518
xor ecx, ecx
jmp 0x43752f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437520
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004116f0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x230]
call fcn.004112e0
push 1
push 0x4d9838
lea ecx, [ebp - 0x230]
call fcn.00411400
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x230]
call fcn.004112e0
push 4
push 0x4d983c
lea ecx, [ebp - 0x230]
call fcn.00411400
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
push 0x208
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437767
cmp dword [ebp - 0x21c], 8
mov bl, 1
jb 0x4375e5
push dword [ebp - 0x230]
call fcn.0047a557
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x234], 8
jb 0x4377b0
push dword [ebp - 0x248]
call fcn.0047a557
add esp, 4
jmp 0x4377b0
call fcn.00409860
push eax
lea ecx, [ebp - 0x248]
call fcn.0040f510
push 0x16
push str.InetStatinetstat.exe
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call fcn.00411400
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x218]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0x208
push ecx
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43771a
call fcn.00409860
push eax
lea ecx, [ebp - 0x230]
call fcn.0040f510
push 0x18
push str.SpeedTray_speedtray.exe
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00411400
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
push 0x208
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437767
cmp dword [ebp - 0x21c], 8
jb 0x4376fd
push dword [ebp - 0x230]
call fcn.0047a557
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x234], 8
jb 0x437731
push dword [ebp - 0x248]
call fcn.0047a557
add esp, 4
mov bl, 1
cmp dword [ebp - 0x24c], 8
jb 0x43774a
push dword [ebp - 0x260]
call fcn.0047a557
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047b06c
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x21c], 8
jb 0x43777e
push dword [ebp - 0x230]
call fcn.0047a557
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
cmp dword [ebp - 0x234], 8
mov word [ebp - 0x230], ax
mov dword [ebp - 0x220], eax
jb 0x4377ae
push dword [ebp - 0x248]
call fcn.0047a557
add esp, 4
xor bl, bl
cmp dword [ebp - 0x264], 8
jb 0x437733
push dword [ebp - 0x278]
call fcn.0047a557
add esp, 4
jmp 0x437733