Function at 0x1000fe80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x16c
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xf9]
mov byte [esp + 0xf8], bl
mov dword [esp + 0x3c], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x10046ce8
or ecx, 0xffffffff
xor eax, eax
add esi, 0x20
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x38], 0xffffffff
push ecx
push ebx
push 0x10046ce8
mov ecx, esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edi, eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp dword [eax], edi
je 0x100102df
mov cl, byte [esp + 0xf]
push ebp
mov byte [esp + 0x54], cl
push ebx
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0x13]
lea ecx, [esp + 0x2c]
push edx
push edi
push ebx
push esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int__class_std::allocator_char__const__]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esp + 0x4c]
xor ebp, ebp
cmp eax, ebx
jbe 0x1000ff56
push ebp
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov cl, byte [eax]
push ecx
call fcn.10005ee0
add esp, 4
lea ecx, [esp + 0x44]
mov bl, al
push ebp
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov byte [eax], bl
mov eax, dword [esp + 0x4c]
inc ebp
cmp ebp, eax
jb 0x1000ff26
xor ebx, ebx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x18]
push edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 1
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [esp + 0x18]
push str.https
push eax
mov dword [esp + 0x1c], 0x50
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
test al, al
je 0x1000ffa4
mov dword [esp + 0x14], 0x1bb
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x13]
push ecx
add edi, 3
mov eax, dword [edx]
lea ecx, [esp + 0x30]
push eax
push edi
push esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int__class_std::allocator_char__const__]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x10046cf4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push 0x10046cf4
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov esi, eax
mov edi, dword [ecx]
cmp edi, esi
je 0x10010078
cmp dword [esp + 0x20], esi
jae 0x10010020
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Split_void_]
mov eax, dword [esp + 0x20]
mov ecx, eax
sub ecx, esi
cmp ecx, edi
jae 0x10010038
mov edi, ecx
cmp edi, ebx
jbe 0x10010078
mov ecx, dword [esp + 0x1c]
sub eax, edi
sub eax, esi
lea edx, [ecx + edi]
push eax
add edx, esi
add ecx, esi
push edx
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
mov esi, dword [esp + 0x2c]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x18]
push ebx
push esi
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 0x10010078
push esi
lea ecx, [esp + 0x1c]
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_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edi, 0x10046cf8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push 0x10046cf8
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov esi, eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp dword [eax], esi
je 0x10010196
lea ecx, [esp + 0x13]
lea edx, [esp + 0x18]
push ecx
push esi
push ebx
push edx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int__class_std::allocator_char__const__]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x2c]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x13]
push eax
inc esi
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push edx
push esi
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int__class_std::allocator_char__const__]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x10010196
push 1
lea edx, [esp + 0x1c]
push 1
push edx
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x74]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
test byte [esp + edx + 0x78], 6
je 0x1001017c
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0xc8]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc8]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [esp + 0x58]
cmp eax, ebx
jne 0x100101a3
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
lea eax, [esp + 0x68]
push eax
call fcn.10034160
mov eax, dword [esp + 0x70]
add esp, 8
cmp eax, ebx
jne 0x100101be
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
push 0x10046cfc
lea ecx, [esp + 0x104]
push 0x80
push ecx
call fcn.10028430
mov ebp, dword [esp + 0x50]
add esp, 0x10
lea edi, [ebp + 0x30]
cmp edi, ebx
je 0x100101ef
mov edx, dword [edi]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x28], eax
je 0x10010271
mov esi, dword [eax + 0x10]
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x1001020b
cmp eax, 1
jne 0x10010254
lea eax, [esp + 0xfc]
lea ecx, [esi + 0xb0]
push eax
lea edx, [esi + 0x30]
push ecx
push edx
call fcn.10034750
add esp, 0xc
test al, al
je 0x10010254
mov eax, dword [esi + 0x13e8]
cmp eax, ebx
je 0x1001026a
mov ecx, dword [esi + 0x13ec]
sub ecx, eax
test ecx, 0xfffffff8
je 0x1001026a
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call fcn.10016060
test al, al
jne 0x1001026a
lea ecx, [esp + 0x28]
call fcn.100132c0
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 4]
cmp eax, ecx
je 0x10010271
jmp 0x100101fc
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x3c], eax
cmp edi, ebx
pop ebp
je 0x1001027f
mov ecx, dword [edi]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 1
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x100102af
mov al, byte [ecx - 1]
cmp al, bl
je 0x100102a5
cmp al, 0xff
je 0x100102a5
dec al
mov byte [ecx - 1], al
jmp 0x100102af
dec ecx
push ecx
call fcn.1003ed30
add esp, 4
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], ebx
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x100102df
mov al, byte [ecx - 1]
cmp al, bl
je 0x100102d5
cmp al, 0xff
je 0x100102d5
dec al
mov byte [ecx - 1], al
jmp 0x100102df
dec ecx
push ecx
call fcn.1003ed30
add esp, 4
mov esi, dword [esp + 0x38]
mov edx, dword [0x1004b3e0]
push esi
push str.check_portal_return_type_d
push edx
call fcn.1002a620
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x16c
ret