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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000b1f2
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x10011020]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x10011020]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 0x64], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor esi, esi
push 4
mov dword [esp + 0x16c], esi
call fcn.10009c98
add esp, 4
cmp eax, esi
je 0x1000403a
lea edx, [esp + 0x24]
mov dword [eax], edx
jmp 0x1000403c
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
push 4
mov byte [esp + 0x16c], 2
call fcn.10009c98
add esp, 4
cmp eax, esi
je 0x1000406a
lea ecx, [esp + 0x6c]
mov dword [eax], ecx
jmp 0x1000406c
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
xor edi, edi
mov byte [esp + 0x168], 4
lea ebx, [edi + 5]
lea esp, [esp]
call fcn.10002b60
test al, al
jne 0x100040b0
push esi
push esi
call sym.AndroidServer.dll_Ordinal_2
add esp, 8
call sym.AndroidServer.dll_Ordinal_3
cmp al, 1
jne 0x10004131
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x120]
mov byte [esp + 0x168], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0xec]
push eax
push str.host:devices
mov byte [esp + 0x174], 6
call sym.AndroidServer.dll_Ordinal_9
add esp, 0xc
test al, al
jne 0x10004174
lea ecx, [esp + 0x120]
mov byte [esp + 0x168], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x168], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
inc edi
cmp edi, ebx
jl 0x10004090
jmp 0x100041b2
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x16c], 2
call fcn.10006af0
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x16c], 0
call fcn.10006af0
lea ecx, [esp + 0xcc]
mov dword [esp + 0x168], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x1000484b
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0xd0]
call dword [sym.imp.MSVCP90.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x120]
mov byte [esp + 0x168], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x168], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp dword [ecx], esi
je 0x10004331
push esi
push 9
lea ecx, [esp + 0xd4]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, eax
cmp dword [edx], edi
je 0x10004331
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x128]
push ecx
lea ecx, [esp + 0xd8]
call dword [sym.imp.MSVCP90.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__::substr_unsigned_int__unsigned_int_]
lea edx, [esp + 0x120]
push edx
lea ebx, [esp + 0x28]
mov byte [esp + 0x16c], 7
call fcn.10006b80
mov eax, dword [esp + 0x134]
push 3
lea ecx, [eax + esi + 1]
push ecx
lea edx, [esp + 0xf0]
push edx
lea ecx, [esp + 0xd8]
call dword [sym.imp.MSVCP90.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__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0xb0]
mov byte [esp + 0x168], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0xe8]
push eax
mov byte [esp + 0x16c], 9
mov esi, dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x1000d254
call esi
add esp, 8
test al, al
je 0x10004275
push str.unauthorized
jmp 0x100042b4
lea ecx, [esp + 0xe8]
push ecx
push 0x1000d268
call esi
add esp, 8
test al, al
je 0x10004292
push str.device
jmp 0x100042b4
lea edx, [esp + 0xe8]
push edx
push 0x1000d274
call esi
add esp, 8
test al, al
je 0x100042af
push str.offline
jmp 0x100042b4
push str.others
lea ecx, [esp + 0xb4]
call dword [sym.imp.MSVCP90.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__::operator_char_const__]
lea eax, [esp + 0xb0]
push eax
lea ebx, [esp + 0x70]
call fcn.10006b80
push edi
push 0xa
lea ecx, [esp + 0xd4]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char__unsigned_int_const]
lea ecx, [esp + 0xb0]
mov esi, eax
mov byte [esp + 0x168], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x168], 7
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x120]
mov byte [esp + 0x168], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp dword [ecx], esi
jne 0x100041c0
push 4
call fcn.10009c98
xor esi, esi
add esp, 4
cmp eax, esi
je 0x10004349
lea edx, [esp + 0x3c]
mov dword [eax], edx
jmp 0x1000434b
xor eax, eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x168], 0xa
call fcn.10008820
mov dword [esp + 0x54], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x54]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x54]
mov dword [eax], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 8], eax
mov dword [esp + 0x58], esi
mov byte [esp + 0x168], 0xb
mov edi, dword [esp + 0x34]
mov ecx, edi
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000450b
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x78]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x100043d8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x1c]
sub edi, dword [esp + 0x30]
lea ebx, [edx + eax]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x10004404
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
add eax, edx
push eax
lea ecx, [esp + 0x124]
call dword [sym.imp.MSVCP90.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 ebx
lea ecx, [esp + 0x140]
mov byte [esp + 0x16c], 0xc
call dword [sym.imp.MSVCP90.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__]
lea ecx, [esp + 0x120]
push ecx
lea ecx, [esp + 0xec]
mov byte [esp + 0x16c], 0xd
call dword [sym.imp.MSVCP90.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__]
lea edx, [esp + 0x13c]
push edx
lea ecx, [esp + 0x108]
mov byte [esp + 0x16c], 0xe
call dword [sym.imp.MSVCP90.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__]
lea eax, [esp + 0xe8]
push eax
lea edi, [esp + 0x90]
lea ebx, [esp + 0x40]
mov byte [esp + 0x16c], 0xf
call fcn.10006ca0
lea ecx, [esp + 0x104]
mov byte [esp + 0x168], 0x10
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x168], 0xd
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x13c]
mov byte [esp + 0x168], 0x11
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x120]
mov byte [esp + 0x168], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, dword [esp + 0x34]
add dword [esp + 0x1c], 0x1c
mov ecx, edi
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
cmp esi, ecx
jb 0x100043af
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x54]
test esi, esi
je 0x10004531
cmp esi, dword [esp + 0x3c]
je 0x10004533
call edi
cmp dword [esp + 0x18], ebx
je 0x10004719
test esi, esi
jne 0x100045f6
call edi
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esi + 0x18]
jne 0x10004552
call edi
mov eax, dword [esp + 0x18]
add eax, 0xc
push eax
lea ecx, [esp + 0xb4]
call dword [sym.imp.MSVCP90.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__]
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x16c], 0x12
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov esi, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x8c], eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov edx, dword [eax]
mov edi, dword [eax + 4]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xb4]
mov dword [esp + 0x20], edx
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, edi
sub ebx, eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
cmp esi, 0xfffffffc
je 0x10004624
test esi, esi
jne 0x100045e3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1c], eax
cmp eax, 0x10
lea eax, [esi + 4]
jb 0x100045fd
mov ecx, dword [eax]
jmp 0x100045ff
mov esi, dword [esi]
jmp 0x10004547
mov ecx, eax
mov edx, dword [esp + 0x88]
add ebx, edx
mov edx, dword [esi + 0x14]
add edx, ecx
cmp ebx, edx
ja 0x1000461e
cmp dword [esp + 0x1c], 0x10
jb 0x1000461a
mov eax, dword [eax]
cmp ebx, eax
jae 0x10004624
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x60]
cmp esi, edi
je 0x1000464a
mov ebx, dword [esp + 0x88]
sub ebx, esi
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCR90.dll_tolower]
mov byte [esi + ebx], al
inc esi
add esp, 4
cmp esi, edi
jne 0x10004635
push 0
push str.emulator
lea ecx, [esp + 0xb8]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp dword [ecx], eax
je 0x100046af
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.10006db0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x168], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esp + 0x14]
jmp 0x1000451d
cmp dword [esp + 0x14], 0
jne 0x100046bc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x45], 0
je 0x100046ce
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
jmp 0x10004691
mov ecx, dword [edx + 8]
cmp byte [ecx + 0x45], 0
jne 0x100046f0
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x100046ea
nop
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x100046e0
mov dword [esp + 0x18], ecx
jmp 0x10004691
mov eax, dword [edx + 4]
cmp byte [eax + 0x45], 0
jne 0x10004710
lea esp, [esp]
cmp edx, dword [eax + 8]
jne 0x10004710
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x10004700
mov dword [esp + 0x18], eax
jmp 0x10004691
mov eax, dword [esp + 0x54]
mov esi, dword [eax]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x54]
test edi, edi
je 0x10004731
cmp edi, dword [esp + 0x3c]
je 0x10004737
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x100047ef
test edi, edi
jne 0x1000479f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x10004756
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x64]
lea ecx, [esi + 0xc]
push ecx
call fcn.10006b80
test edi, edi
jne 0x100047a3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x1000477a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x68]
lea edx, [esi + 0x28]
push edx
call fcn.10006b80
test edi, edi
jne 0x10004791
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp byte [esi + 0x45], 0
je 0x100047a7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
jmp 0x10004723
mov eax, dword [edi]
jmp 0x1000474b
mov eax, dword [edi]
jmp 0x1000476f
mov eax, dword [esi + 8]
cmp byte [eax + 0x45], 0
jne 0x100047cf
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x10004723
mov edi, edi
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x100047c0
jmp 0x10004723
mov eax, dword [esi + 4]
cmp byte [eax + 0x45], 0
jne 0x100047e8
cmp esi, dword [eax + 8]
jne 0x100047e8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x100047d8
mov esi, eax
jmp 0x10004723
lea esi, [esp + 0x3c]
mov byte [esp + 0x168], 0x13
call fcn.100079c0
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x16c], 2
call fcn.10006af0
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x16c], 0
call fcn.10006af0
lea ecx, [esp + 0xcc]
mov dword [esp + 0x168], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.10009c3c
mov esp, ebp
pop ebp
ret