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

Disassembly:
sub esp, 0x16c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xfd]
mov byte [esp + 0xfc], 0
xor ebp, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x10050e48
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebx + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x40], ebx
push ecx
push ebp
push 0x10050e48
mov ecx, esi
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x20], ebp
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 0x10011a0d
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x58], cl
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 ebp
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]
test eax, eax
jbe 0x10011687
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.10007230
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 0x10011655
mov ebx, dword [esp + 0x40]
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 0x10050e4c
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 0x100116d5
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]
xor ebp, ebp
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push ebp
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, 0x10050e54
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x10050e54
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 0x100117ab
cmp dword [esp + 0x20], esi
jae 0x10011753
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 0x1001176b
mov edi, ecx
cmp edi, ebp
jbe 0x100117ab
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 ebp
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 0x100117ab
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 ebp
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, 0x10050e58
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x10050e58
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 0x100118c9
lea ecx, [esp + 0x13]
lea edx, [esp + 0x18]
push ecx
push esi
push ebp
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 ebp
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 ebp
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 0x100118c9
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 0x100118af
mov dword [esp + 0x14], ebp
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, ebp
jne 0x100118d6
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.10037d20
mov eax, dword [esp + 0x70]
add esp, 8
cmp eax, ebp
jne 0x100118f1
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 0x10050e5c
lea ecx, [esp + 0x104]
push 0x80
push ecx
call fcn.1002a490
lea edi, [ebx + 0x30]
add esp, 0x10
cmp edi, ebp
je 0x1001191e
mov edx, dword [edi]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x28], eax
je 0x100119a0
mov esi, dword [eax + 0x10]
mov eax, dword [esi + 0x2c]
cmp eax, ebp
je 0x1001193a
cmp eax, 1
jne 0x10011983
lea eax, [esp + 0xfc]
lea ecx, [esi + 0xb0]
push eax
lea edx, [esi + 0x30]
push ecx
push edx
call fcn.10038310
add esp, 0xc
test al, al
je 0x10011983
mov eax, dword [esi + 0x1f70]
cmp eax, ebp
je 0x10011999
mov ecx, dword [esi + 0x1f74]
sub ecx, eax
test ecx, 0xfffffff8
je 0x10011999
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call fcn.10019330
test al, al
jne 0x10011999
lea ecx, [esp + 0x28]
call fcn.10015e60
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
je 0x100119a0
jmp 0x1001192b
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x3c], eax
cmp edi, ebp
je 0x100119ad
mov ecx, dword [edi]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 1
lea ecx, [esp + 0x68]
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 + 0x1c]
cmp ecx, ebp
je 0x100119dd
mov al, byte [ecx - 1]
test al, al
je 0x100119d3
cmp al, 0xff
je 0x100119d3
dec al
mov byte [ecx - 1], al
jmp 0x100119dd
dec ecx
push ecx
call fcn.10047cb0
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], ebp
cmp ecx, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x10011a0d
mov al, byte [ecx - 1]
test al, al
je 0x10011a03
cmp al, 0xff
je 0x10011a03
dec al
mov byte [ecx - 1], al
jmp 0x10011a0d
dec ecx
push ecx
call fcn.10047cb0
add esp, 4
mov esi, dword [esp + 0x3c]
mov edx, dword [0x10056984]
push esi
push str.check_portal_return_type_d
push edx
call fcn.10028e20
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret