Function at 0x10011920
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x92c
push ebp
push esi
push eax
xor ebp, ebp
xor esi, esi
call fcn.10011dc0
add esp, 4
test al, al
je 0x10011daf
push ebx
lea ecx, [esp + 0x24]
push edi
push ecx
call fcn.10022280
lea edx, [esp + 0x2c]
push str.gwclient.exe
lea eax, [esp + 0x18]
push edx
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x54d]
mov byte [esp + 0x54c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x34]
lea edx, [esp + 0x54c]
push ecx
push edx
stosb byte es:[edi], al
mov dword [esp + 0x3c], ebp
call fcn.10011530
add esp, 0x18
call fcn.10011770
mov ebx, eax
call fcn.100117d0
mov esi, eax
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x13d]
mov byte [esp + 0x13c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x100119cb
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call fcn.10019f60
add esp, 4
test al, al
je 0x10011ba9
cmp esi, ebp
jne 0x10011ba9
mov edi, str._usbkey
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, esi
ja 0x10011a0c
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp esi, ebp
jbe 0x10011a53
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebp, [edx + esi]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10011a53
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, esi
mov esi, str._usbkey
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
push ebx
push 0x10034ee4
lea ecx, [esp + 0x144]
push 0x400
push ecx
call fcn.1001b650
lea edi, [esp + 0x14c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x10011a99
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x10011ae2
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10011ae2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
lea esi, [esp + 0x13c]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea edi, [esp + 0x53c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10011d16
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10011d16
push eax
lea eax, [esp + 0x540]
push eax
push str.__s__d
lea ecx, [esp + 0x148]
push 0x400
push ecx
call fcn.1001b650
lea edi, [esp + 0x150]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
add esp, 0x14
repne scasb al, byte es:[edi]
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x10011b53
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x10011d16
mov ecx, dword [esp + 0x18]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10011d16
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
lea esi, [esp + 0x13c]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
jmp 0x10011d16
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x38]
push 0x104
push eax
push str._ProgramFiles_Internet_ExplorerIEXPLORE.EXE
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x10011d16
lea ecx, [esp + 0x20]
lea edx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0x28], ebp
call fcn.10011830
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10011c36
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov byte [ecx + ebp], 0
lea edi, [esp + 0x53c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10011d16
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10011d16
mov ecx, dword [esp + 0x20]
push ebx
cmp ecx, 8
push eax
jl 0x10011c80
lea edx, [esp + 0x544]
lea eax, [esp + 0x144]
push edx
push str.__nomerge_https:___s:_d_index.php_autologin1t_d
push 0x400
push eax
jmp 0x10011c9a
lea ecx, [esp + 0x544]
lea edx, [esp + 0x144]
push ecx
push str._https:___s:_d_index.php_autologin1t_d
push 0x400
push edx
call fcn.1001b650
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [esp + 0x18]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, esi
ja 0x10011ccc
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x10011d16
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebp, [edx + esi]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10011d16
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, esi
lea esi, [esp + 0x13c]
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov byte [ecx + ebp], 0
xor edi, edi
lea edx, [esp + 0x10]
push edi
push 1
push edi
push edx
call fcn.10021630
add esp, 0x10
mov esi, eax
mov eax, dword [esp + 0x940]
lea ecx, [esp + 0x20]
push eax
push esi
push str._ukey__start_usb_client__pid:_d___usb_pvid:_s
push 0x10034f80
call fcn.100132b0
push eax
call fcn.100132c0
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp ecx, edi
je 0x10011d74
mov al, byte [ecx - 1]
test al, al
je 0x10011d6a
cmp al, 0xff
je 0x10011d6a
dec al
mov byte [ecx - 1], al
jmp 0x10011d74
dec ecx
push ecx
call fcn.1002eb22
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
cmp ecx, edi
pop edi
pop ebx
je 0x10011daf
mov al, byte [ecx - 1]
test al, al
je 0x10011da5
cmp al, 0xff
je 0x10011da5
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebp
add esp, 0x92c
ret
dec ecx
push ecx
call fcn.1002eb22
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x92c
ret