Function at 0x1000eae0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x474
mov eax, dword [0x10059794]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
mov ebx, dword [esp + 0x47c]
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x17
mov esi, ebx
mov edi, 0x10059b78
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
cmp dword [0x10059b84], ebp
je 0x1000ecb5
cmp dword [0x10059b9c], ebp
jne 0x1000eb56
cmp dword [0x10059ba8], 5
je 0x1000eb56
call fcn.1002feb0
test eax, eax
jne 0x1000eb56
push str.:clear:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0xffffff9c
jmp 0x1000edd8
mov eax, dword [0x10059ba8]
cmp eax, 4
jne 0x1000ebb8
call sym.f185.dll_pkt_connect
test eax, eax
je 0x1000eb4c
mov eax, dword [0x10059ba8]
cmp eax, 4
jne 0x1000ebb8
mov edx, dword [0x10059b84]
push 0x400
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x88]
push ecx
push edx
call fcn.1002f4c0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.100301c0
add esp, 0x18
test eax, eax
je 0x1000ec94
mov eax, 0xffffff9c
jmp 0x1000edd8
cmp eax, 5
jne 0x1000ebd4
call fcn.1000ccf0
test eax, eax
je 0x1000ec94
mov eax, 0xffffff9c
jmp 0x1000edd8
mov edx, dword [0x10059b84]
push edx
call fcn.1002fbf0
add esp, 4
test eax, eax
je 0x1000eb4c
cmp dword [0x10059b78], ebp
jne 0x1000ec94
cmp dword [0x10059ba8], ebp
jne 0x1000ec18
call fcn.1000e640
test eax, eax
jne 0x1000eb4c
cmp dword [0x10059b78], ebp
jne 0x1000ec94
cmp dword [0x10059ba8], 1
jne 0x1000ec94
mov esi, dword [0x10059b7c]
xor edi, edi
cmp dword [0x10059bb0], ebp
jle 0x1000eca4
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
lea ecx, [ecx]
push esi
call fcn.1002fbf0
add esp, 4
test eax, eax
je 0x1000eb4c
push 0xfa
call ebp
push esi
lea eax, [esp + 0x20]
push str.__s__n
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ec78
sub eax, edx
inc edi
cmp edi, dword [0x10059bb0]
lea esi, [esi + eax + 1]
jl 0x1000ec40
mov ebx, dword [esp + 0x18]
xor ebp, ebp
cmp dword [0x10059ba8], 6
jne 0x1000eca4
call fcn.1000d810
jmp 0x1000eca9
call fcn.1000e7a0
cmp eax, ebp
je 0x1000ecb5
mov dword [ebx + 0x38], ebp
jmp 0x1000edd8
cmp dword [0x10059b78], ebp
jne 0x1000ecd3
cmp dword [0x10059ba8], 3
jne 0x1000ecd3
call fcn.1000e640
test eax, eax
jne 0x1000eb4c
cmp dword [0x10059bb0], ebp
jne 0x1000ece7
cmp dword [0x10059bd0], ebp
je 0x1000edd6
cmp dword [0x10059b78], 1
jne 0x1000edd6
cmp dword [0x10059b98], ebp
je 0x1000ed18
cmp dword [0x10059ba8], 6
je 0x1000ed18
lea edx, [esp + 0x1c]
push 0x64
push edx
call fcn.1000e500
add esp, 8
test eax, eax
jne 0x1000ed5b
lea eax, [esp + 0x1c]
push eax
call fcn.1000dc30
add esp, 4
cmp eax, ebp
jne 0x1000ecad
mov ecx, dword [0x10059bb0]
mov dword [ebx + 0x38], ecx
cmp dword [0x10059bb0], ebp
jle 0x1000edd6
mov eax, dword [0x10059ba8]
cmp eax, ebp
jne 0x1000ed62
call fcn.1000d060
test eax, eax
je 0x1000eda6
push 0x10049b38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0xffffffa2
jmp 0x1000edd8
cmp eax, 1
je 0x1000ed9d
cmp eax, 6
je 0x1000ed9d
cmp eax, 4
jne 0x1000ed85
call fcn.1000cb60
cmp eax, ebp
jne 0x1000edd8
mov edx, dword [0x10059bb0]
mov dword [ebx + 0x38], edx
jmp 0x1000eda6
cmp eax, 5
jne 0x1000eda6
call fcn.1000cff0
test eax, eax
jne 0x1000ed5b
mov eax, dword [0x10059bb0]
mov dword [ebx + 0x38], eax
jmp 0x1000eda6
call fcn.1000dda0
test eax, eax
jne 0x1000ed5b
cmp dword [0x10059bc8], ebp
je 0x1000edd6
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.1000df20
add esp, 8
test eax, eax
jne 0x1000ed5b
mov eax, dword [esp + 0x14]
push eax
call fcn.1000d100
add esp, 4
cmp eax, 1
jne 0x1000ed5b
xor eax, eax
mov ecx, dword [esp + 0x480]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003dc2c
add esp, 0x474
ret