Function at 0x10013700
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x10082f62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x68]
test eax, eax
je 0x1001372d
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x10013743
mov eax, dword [esi + 0x80]
push 0
push 0
push 0x1b7a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x10013a14
mov eax, dword [esi + 0x78]
test eax, eax
je 0x10013a14
mov cl, byte [0x1009fec0]
push ebx
push ebp
push edi
mov byte [esp + 0x2c], cl
push 0
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 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 + 0x2c]
mov eax, dword [edx]
push eax
push 0
push 0x1009fec0
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 0x38
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
test ebx, ebx
mov byte [esp + 0x44], 1
je 0x100137e5
mov cl, byte [esp + 0x12]
push 0
mov byte [ebx], cl
mov ecx, ebx
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 + 0x12]
lea ecx, [ebx + 0x10]
push edx
mov byte [esp + 0x48], 2
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::allocator_char__const__]
lea eax, [esp + 0x13]
lea ecx, [ebx + 0x20]
push eax
mov byte [esp + 0x48], 3
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::allocator_char__const__]
jmp 0x100137e7
xor ebx, ebx
mov cl, byte [0x1009fec0]
push 0
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
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 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 + 0x1c]
mov eax, dword [edx]
push eax
push 0
push 0x1009fec0
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, str.loginInfohead.jpg
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x44], 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.loginInfohead.jpg
lea ecx, [esp + 0x24]
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__::append_char_const___unsigned_int_]
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 + 0x1c]
mov edx, dword [ecx]
lea ecx, [ebx + 0x20]
push edx
push 0
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_]
mov ecx, dword [esi + 0x20]
mov edi, str._kp_api.php_sUserInfo_AvatarEdituid
mov dword [ebx + 0x30], ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 0x34], 0x1b71
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebp, [ebx + 0x10]
mov edi, ecx
push 1
push edi
mov ecx, ebp
mov dword [esp + 0x20], edi
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 0x100138b4
mov ecx, edi
mov edi, dword [ebp + 4]
mov edx, ecx
mov esi, str._kp_api.php_sUserInfo_AvatarEdituid
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
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 esi, dword [esp + 0x14]
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, [esi + 0x60]
mov edx, dword [ecx]
mov ecx, ebp
push edx
push 0
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edi, str._hash_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
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 edx, dword [ecx]
mov ecx, dword [ebp + 8]
sub edx, ecx
cmp edx, edi
ja 0x100138f3
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test edi, edi
jbe 0x1001393d
mov eax, dword [ebp + 8]
push 0
add eax, edi
mov ecx, ebp
push eax
mov dword [esp + 0x20], eax
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 0x1001393d
mov eax, dword [ebp + 8]
mov ecx, edi
mov edi, dword [ebp + 4]
mov esi, str._hash_
add edi, 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 + 0x18]
push ecx
mov ecx, ebp
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 esi, dword [esp + 0x14]
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 esi, 0x70
mov ecx, ebp
mov eax, dword [edx]
push eax
push 0
push esi
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edi, 0x1009b294
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
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 0x10013996
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x1009b294
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
xor esi, esi
push esi
push esi
push ebx
push 0x10013a30
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
cmp ecx, esi
pop ebx
je 0x100139d6
mov al, byte [ecx - 1]
test al, al
je 0x100139cc
cmp al, 0xff
je 0x100139cc
dec al
mov byte [ecx - 1], al
jmp 0x100139d6
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], esi
cmp ecx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
je 0x10013a14
mov al, byte [ecx - 1]
test al, al
je 0x10013a0a
cmp al, 0xff
je 0x10013a0a
dec al
pop esi
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret