Function at 0x10007787
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100107e0]
mov ecx, dword [0x100107f0]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x10007853
push 0x69
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ebx, eax
mov esi, str.FUNCTION_IS_NOT_INITIALIZED
push 7
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100077ca
push 0x10
pop ecx
mov esi, str._t_c:users_nzx3rdesktop_
lea eax, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
push 0xa
push eax
push 0x58
movsb byte es:[edi], byte [esi]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
add esp, 0xc
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100077f1
mov ax, word [0x1000dc58]
lea edx, [ebp - 0x10]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10007807
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10007813
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000782c
mov ax, word [0x1000dc5c]
push ebx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x10007a3f
test edi, edi
jne 0x100078e4
push 0x5e
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
mov esi, str.pointer_is_empty
mov edi, ebx
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10007875
push 0x10
pop ecx
mov esi, str._t_c:users_nzx3rdesktop_
lea eax, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
push 0xa
push eax
push 0x59
movsb byte es:[edi], byte [esi]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
add esp, 0xc
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000789c
mov ax, word [0x1000dc58]
lea edx, [ebp - 0x10]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x100078b2
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100078be
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100078d7
jmp 0x10007834
mov dword [ebp - 0x1c], ecx
mov ecx, 0x2c0a
push 2
mov word [ebp - 0x1e], cx
pop ecx
push 0x11
push ecx
push ecx
mov word [ebp - 0x20], cx
call eax
mov esi, eax
cmp esi, 0xffffffff
jne 0x10007990
push 0x5d
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
mov esi, str.socket___failed
mov edi, ebx
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10007921
push 0x10
pop ecx
mov esi, str._t_c:users_nzx3rdesktop_
lea eax, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
push 0xa
push eax
push 0x60
movsb byte es:[edi], byte [esi]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
add esp, 0xc
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10007948
mov ax, word [0x1000dc58]
lea edx, [ebp - 0x10]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1000795e
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000796a
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10007983
jmp 0x10007834
push 0x10
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 0xc]
push edi
push esi
call dword [0x100107f4]
cmp eax, 0xffffffff
jne 0x10007a35
push 0x5b
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
mov esi, str.send___failed
mov edi, ebx
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100079c6
push 0x10
pop ecx
mov esi, str._t_c:users_nzx3rdesktop_
lea eax, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
push 0xa
push eax
push 0x69
movsb byte es:[edi], byte [esi]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
add esp, 0xc
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100079ed
mov ax, word [0x1000dc58]
lea edx, [ebp - 0x10]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10007a03
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10007a0f
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10007a28
jmp 0x10007834
push esi
call dword [0x100107dc]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ba13
leave
ret