Function at 0x403020
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x974c
call fcn.00423560
push ebx
push ebp
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
push 0x25
push 0x25
lea eax, [esp + 0x260]
mov ebp, 0x9004
push 0x42b094
push eax
mov dword [esp + 0x2c], ebp
call ebx
add esp, 0x10
lea ecx, [esp + 0x38]
lea edx, [esp + 0x258]
push 0x100
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x38]
mov byte [esp + 0x38], 0x63
push eax
call dword [sym.imp.MSVCRT.dll__strlwr]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x50]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x64]
push edx
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
lea eax, [esp + 0x394]
push str._sinternet_exploreriexplore.exee_inetinfo.exee_svchost.exee_system.exee_avp.exee__swindows_media_playerwmplayer.exee__s360360safe360safe.exee__s360360se3360se.exee__s_tencent_tt_bin_ttraveler.exee__smozilla_firefox_firefox.exee__smyie2myie.exee__smaxthon2maxthon.exee__s_sogouexplorer_sogouexplorer.exee__s_final_codecsmyplayer.exee__swisecopyrighturlplayer.exee__swisecopyright_flashform.exee__swisecopyright_nbplayer.exee__swisecopyright_fvideoplayer.exee
push eax
call ebx
add esp, 0x44
xor edi, edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13], 0
push edi
push 5
push 2
push 1
push ecx
push edi
mov dword [esp + 0x34], edi
call dword [0x42d1bc]
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jae 0x403135
push edi
push 5
push 2
lea edx, [esp + 0x28]
push 1
lea eax, [esp + 0x768]
push edx
push eax
mov dword [esp + 0x34], ebp
call dword [0x42d1bc]
lea ecx, [esp + 0x758]
mov esi, eax
mov dword [esp + 0x14], ecx
jmp 0x403163
add eax, 0x20
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x403163
push edi
push 5
push 2
lea edx, [esp + 0x28]
push 1
push edx
push eax
mov byte [esp + 0x2b], 1
call dword [0x42d1bc]
mov esi, eax
cmp esi, edi
je 0x4031c4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 0x1c]
push 0x42b3e4
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0x40
push 0x42b3d8
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, byte [esp + 0x13]
test al, al
je 0x4031ab
mov eax, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x974c
ret
mov eax, dword [esp + 0x758]
mov dword [esp + 0x18], edi
cmp eax, edi
jbe 0x403305
mov ebp, dword [sym.imp.WS2_32.dll_htons]
lea esi, [esp + 0x76c]
mov edx, dword [esi - 4]
lea ecx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0x2c], 0
call fcn.00402c40
mov ax, word [esi]
add esp, 8
push eax
call ebp
and eax, 0xffff
lea ecx, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x140]
push str._s:_d_
push edx
call ebx
mov ax, word [esi - 8]
add esp, 0x10
push eax
call ebp
mov ecx, dword [esp + 0x9764]
and eax, 0xffff
cmp ecx, eax
jne 0x4032ea
mov edx, dword [esp + 0x9760]
lea ecx, [esp + 0x138]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x4032ea
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x158]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
lea eax, [esp + 0x158]
push eax
push ecx
call fcn.00402c80
lea edi, [esp + 0x160]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ecx
je 0x4032ea
lea edx, [esp + 0x158]
push edx
call dword [sym.imp.MSVCRT.dll__strlwr]
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [esp + 0x15c]
push 0x42b3c8
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x403327
lea ecx, [esp + 0x158]
push str..bat
push ecx
call edi
add esp, 8
test eax, eax
jne 0x403327
lea edx, [esp + 0x158]
push str..cmd
push edx
call edi
add esp, 8
test eax, eax
jne 0x403327
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x758]
inc eax
add esi, 0x18
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x4031e4
mov al, byte [esp + 0x13]
test al, al
je 0x40331a
mov edx, dword [esp + 0x14]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x974c
ret
mov eax, dword [esp + 0x20]
mov byte [esp + eax + 0x158], 0x1b
mov byte [esp + eax + 0x159], 0
cmp byte [esp + 0x159], 0x3a
jne 0x40334d
mov byte [esp + 0x158], 0x63
mov edx, dword [esp + 0x9768]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jbe 0x4033bb
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [esp + 0x158]
push eax
push edx
call esi
add esp, 8
test eax, eax
jne 0x4033bb
lea ecx, [esp + 0x158]
lea edx, [esp + 0x358]
push ecx
push edx
call esi
add esp, 8
test eax, eax
jne 0x4033bb
mov al, byte [esp + 0x13]
test al, al
je 0x4033ab
mov eax, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x974c
ret
mov al, byte [esp + 0x13]
test al, al
je 0x40331a
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x403312