Function at 0x10014320
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.100147c0
add esp, 4
test al, al
je 0x100147af
push ebx
lea ecx, [esp + 0x24]
push edi
push ecx
call fcn.10035830
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.10013f30
add esp, 0x18
call fcn.10014170
mov ebx, eax
call fcn.100141d0
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 0x100143cb
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.1002b9f0
add esp, 4
test al, al
je 0x100145a9
cmp esi, ebp
jne 0x100145a9
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 0x1001440c
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp esi, ebp
jbe 0x10014453
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 0x10014453
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 0x1004e41c
lea ecx, [esp + 0x144]
push 0x400
push ecx
call fcn.1002d190
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 0x10014499
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x100144e2
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 0x100144e2
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 0x10014716
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10014716
push eax
lea eax, [esp + 0x540]
push eax
push str.__s__d
lea ecx, [esp + 0x148]
push 0x400
push ecx
call fcn.1002d190
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 0x10014553
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x10014716
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 0x10014716
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 0x10014716
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 0x10014716
lea ecx, [esp + 0x20]
lea edx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0x28], ebp
call fcn.10014230
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 0x10014636
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 0x10014716
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10014716
mov ecx, dword [esp + 0x20]
push ebx
cmp ecx, 8
push eax
jl 0x10014680
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 0x1001469a
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.1002d190
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 0x100146cc
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x10014716
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 0x10014716
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.10034b90
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 0x1004e4b8
call fcn.10024c50
push eax
call fcn.10024c60
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp ecx, edi
je 0x10014774
mov al, byte [ecx - 1]
test al, al
je 0x1001476a
cmp al, 0xff
je 0x1001476a
dec al
mov byte [ecx - 1], al
jmp 0x10014774
dec ecx
push ecx
call fcn.100463e2
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 0x100147af
mov al, byte [ecx - 1]
test al, al
je 0x100147a5
cmp al, 0xff
je 0x100147a5
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebp
add esp, 0x92c
ret
dec ecx
push ecx
call fcn.100463e2
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x92c
ret