Function at 0x100233e0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1002ae3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x44
mov dword [esp + 0x20], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x30], esi
je 0x10023429
mov ecx, eax
call fcn.1000efa0
mov ebp, eax
mov dword [esp + 0x10], ebp
jmp 0x1002342f
mov dword [esp + 0x10], esi
mov ebp, esi
cmp ebp, esi
mov dword [esp + 0x30], 0xffffffff
je 0x10023729
push esi
push esi
push 2
push esi
mov ecx, ebp
call fcn.1000f520
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x20], ebx
jg 0x10023463
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
jmp 0x10023729
mov eax, dword [edi + 0xcc]
mov dword [esp + 0x14], esi
test eax, eax
mov dword [esp + 0x18], 0
je 0x10023542
test al, 4
jne 0x1002348f
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
jmp 0x10023729
push 0x80
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x30], 1
je 0x100234b7
mov ecx, eax
call fcn.100241b0
mov esi, eax
jmp 0x100234b9
xor esi, esi
test esi, esi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], esi
jne 0x100234d7
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
jmp 0x10023729
mov ecx, dword [edi + 0xf8]
mov ebp, 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]
test ecx, ecx
jne 0x100234e9
mov ecx, ebp
mov edx, dword [edi + 0xe8]
test edx, edx
jne 0x100234f5
mov edx, ebp
mov eax, dword [edi + 0xd4]
test eax, eax
jne 0x10023501
mov eax, ebp
push ecx
mov ecx, dword [edi + 0xe0]
push edx
push ecx
push eax
push 4
mov ecx, esi
call fcn.10024200
push edi
push 0xa
push ebx
mov ecx, esi
call fcn.10024cc0
test eax, eax
mov dword [esp + 0x18], eax
jg 0x1002353e
mov ecx, dword [esp + 0x10]
push 1
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x10023729
mov esi, dword [esp + 0x14]
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
test ebp, ebp
mov dword [esp + 0x30], 2
je 0x10023598
push 4
mov dword [ebp], 0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x1002357b
mov dword [eax], 1
jmp 0x1002357d
xor eax, eax
mov dword [ebp + 4], eax
mov dl, byte [esp + 0x38]
lea ecx, [ebp + 0x10]
push 0
mov byte [esp + 0x34], 3
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x1002359a
xor ebp, ebp
test ebp, ebp
mov dword [esp + 0x30], 0xffffffff
jne 0x100235c5
mov ecx, dword [esp + 0x10]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
je 0x10023729
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
jmp 0x10023729
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0xc], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push edx
call sub.WS2_32.dll_inet_ntoa
mov dword [esp + 0x3c], eax
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [ebp + 0x10]
mov ebx, ecx
push 1
push ebx
mov ecx, 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 0x10023621
mov edi, dword [esi + 4]
mov esi, dword [esp + 0x3c]
mov ecx, ebx
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 eax, dword [ebp + 0x14]
mov dword [ebp + 0x18], ebx
add eax, ebx
mov byte [eax], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
mov dword [ebp + 0x24], ecx
mov ecx, dword [ebp]
mov dword [ebp + 8], edx
mov dword [ebp + 0x20], eax
cmp ecx, dword [esi]
je 0x1002367a
mov eax, dword [ebp + 4]
xor edi, edi
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
mov edx, dword [ebp + 4]
cmp dword [edx], edi
jne 0x1002366b
mov ecx, dword [ebp]
cmp ecx, edi
je 0x1002365f
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp + 4]
push eax
call fcn.10009e1d
add esp, 4
mov ecx, dword [esi]
mov dword [ebp], ecx
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
inc dword [eax]
jmp 0x1002367c
xor edi, edi
mov edx, dword [esp + 0x1c]
push 5
push ebp
push 0x10022bb0
lea ecx, [edx + 0x54]
call fcn.10016bd0
cmp eax, edi
je 0x1002369d
mov eax, dword [esp + 0x20]
jmp 0x1002372b
mov dword [esp + 0x38], ebp
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], 5
cmp ecx, edi
je 0x100236b6
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp + 0x20]
cmp ecx, edi
je 0x100236c3
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x100236e7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100236de
cmp al, 0xff
je 0x100236de
dec al
mov byte [ecx], al
jmp 0x100236e7
push ecx
call fcn.10009e1d
add esp, 4
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
mov eax, dword [ebp + 4]
mov dword [esp + 0x30], 0xffffffff
mov edx, dword [eax]
dec edx
mov dword [eax], edx
mov eax, dword [ebp + 4]
cmp dword [eax], edi
jne 0x10023720
mov ecx, dword [ebp]
cmp ecx, edi
je 0x10023714
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 4]
push eax
call fcn.10009e1d
add esp, 4
push ebp
call fcn.10009e1d
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8