Function at 0x4268d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x45f758]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x990], 0x103
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
add eax, 0x990
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x580
push ecx
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
call sub.WS2_32.dll_WSCGetProviderPath
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
jne 0x426948
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push str.LoadProviderPath:_WSCGetProviderPath_failed:__d
call fcn.00426f70
add esp, 8
jmp 0x426b06
push 0x103
mov edx, dword [ebp + 8]
add edx, 0x788
push edx
mov eax, dword [ebp + 8]
add eax, 0x580
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x4269c9
cmp dword [ebp - 0x210], 0x103
jg 0x4269c9
mov ecx, dword [ebp + 8]
add ecx, 0x788
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp + 8]
mov dword [edx + 0xb9c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb9c], 0
jne 0x4269c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadProviderPath:_LoadLibraryW_failed:__d
call fcn.00426f70
add esp, 8
jmp 0x426b06
jmp 0x426abd
cmp dword [ebp - 0x210], 0
jne 0x426abd
push 0
push 0
push 0x104
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x990]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x580
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x426a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadProviderPath:_WideCharToMultiByte_failed:__d
call fcn.00426f70
add esp, 8
jmp 0x426b06
push 0x103
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x426a65
cmp dword [ebp - 0x210], 0x103
jle 0x426a83
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadProviderPath:_ExpandEnvironmentStringsA_failed:__d
call fcn.00426f70
add esp, 8
jmp 0x426b06
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp + 8]
mov dword [edx + 0xb9c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb9c], 0
jne 0x426abd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadProviderPath:_LoadLibraryA_failed:__d
call fcn.00426f70
add esp, 8
jmp 0x426b06
push str.WSPStartup
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb9c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x994], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x994], 0
jne 0x426aff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadProviderPath:_GetProcAddress_failed:__d
call fcn.00426f70
add esp, 8
jmp 0x426b06
mov eax, 1
jmp 0x426b1b
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x426b19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9cd
mov esp, ebp
pop ebp
ret