Function at 0x1003fa40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10099242
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x94]
mov edi, ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x28], ecx
xor ebp, ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x50]
mov dword [esp + 0x80], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ebx, dword [sym.imp.MSVCR80.dll_strncmp]
push 7
xor eax, eax
push str.http:__
push esi
mov byte [esp + 0x8c], 1
mov byte [esp + 0x78], 0
mov dword [esp + 0x79], eax
mov word [esp + 0x7d], ax
mov byte [esp + 0x7f], al
call ebx
add esp, 0xc
test eax, eax
je 0x1003fb34
push 8
push str.https:__
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x1003fb34
push str.http:__
jmp 0x1003fb39
push 0x1009fc09
lea ecx, [esp + 0x38]
call dword [0x1009f138]
push esi
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.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__]
mov esi, dword [esp + 0x98]
test esi, esi
jle 0x1003fb8b
push 0x100a603c
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.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__]
push esi
lea ecx, [esp + 0x70]
push 0x100a0848
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.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__]
mov esi, dword [esp + 0x2c]
push esi
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.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__]
push 0x100a7520
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.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__]
cmp dword [esp + 0xa4], 0
jne 0x1003fcc3
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
mov esi, eax
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003fbd0
sub eax, edx
add eax, eax
push eax
push 1
call dword [sym.imp.MSVCR80.dll_calloc]
mov ebp, eax
mov eax, esi
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003fbf0
sub eax, edx
lea ecx, [eax + eax]
push ecx
push 0
push ebp
call sub.MSVCR80.dll_memset
push 0
push ebp
push esi
call fcn.10076c00
add esp, 0x18
push ebp
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.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__::append_char_const__]
push str.charset
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.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__::append_char_const__]
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.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__::append_char_const__]
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0x1003fc4f
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
mov ecx, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test esi, esi
mov dword [ecx], eax
je 0x1003fc6f
push esi
call edi
add esp, 4
test ebp, ebp
je 0x1003fc79
push ebp
call edi
add esp, 4
lea ecx, [esp + 0x50]
mov byte [esp + 0x80], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x34]
mov dword [esp + 0x80], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10090e24
add esp, 0x70
ret 0x2c
mov eax, dword [esp + 0x30]
test eax, eax
lea ecx, [esp + 0x50]
je 0x1003fcd2
push eax
jmp 0x1003fcd7
push 0x1009fc09
call dword [sym.imp.MSVCP80.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_char_const__]
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x1003fd15
cmp dword [esp + 0x64], 0
jbe 0x1003fcfb
push 0x100a7318
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.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__::append_char_const__]
push str.filename
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.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__::append_char_const__]
push ebx
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.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__::append_char_const__]
mov eax, dword [esp + 0x54]
mov ebx, 0x10
cmp dword [esp + 0x68], ebx
jae 0x1003fd28
lea eax, [esp + 0x54]
mov ecx, dword [edi + 0x24]
push eax
push str._CORE__XWCipherMng::makeURIEx___qs__:___s_
push ecx
call fcn.10077b60
mov eax, dword [esp + 0x60]
add esp, 0xc
cmp dword [esp + 0x68], ebx
jae 0x1003fd48
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 8]
push ecx
mov ecx, dword [esp + 0x8c]
push 0x100a562c
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
push ecx
mov ecx, edi
call edx
mov esi, eax
test esi, esi
jne 0x1003fbc7
mov edi, dword [edi + 0x20]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0x16e3601
mov ecx, edi
or ebx, 0xffffffff
call edx
jmp 0x1003fc40