Function at 0x410800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x304]
cmp dword [esi + 0xc], 0
jne 0x410870
lea eax, [esi + 0xc]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
push 0x524820
push eax
push dword [ecx + 0x40]
push dword [ecx + 0x44]
mov edi, ecx
call fcn.00403bc0
add esp, 0x10
test eax, eax
je 0x410868
mov eax, dword [esi + 0xc]
and eax, 0xfffffffe
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
jmp 0x41086e
mov eax, dword [edi + 0x40]
mov dword [esi + 8], eax
mov ecx, edi
lea eax, [ecx + 0x40]
xorps xmm0, xmm0
movups xmmword [esp + 0x30], xmm0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov word [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x8ce
mov dword [esp + 0x30], 0xd
mov byte [esp + 0x70], 1
mov dword [esp + 0x40], 0x524a3c
mov dword [esp + 0x48], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], eax
lea edi, [ecx + 0x220]
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
lea esi, [esp + 0x18]
mov ecx, dword [ebp + 8]
mov edx, edi
push eax
push esi
call fcn.004236c0
mov esi, dword [ebp + 8]
add esp, 8
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x410c16
xor ebx, ebx
cmp dword [esi + 0x200], 0
jne 0x410c16
cmp dword [esi + 0xb4], 0
jne 0x410932
push str.There_has_to_be_at_least_one_endpoint.
push 3
push esi
call fcn.0040aac0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ebx, [esp + 0xc]
push ebx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
movsd xmm0, qword [esp + 0xc]
lea eax, [esi + 0x1f0]
movsd qword [esi + 0x1f0], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x30], xmm0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov word [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x8d1
mov dword [esp + 0x30], 0xd
mov byte [esp + 0x70], 1
mov dword [esp + 0x40], 0x524a78
mov dword [esp + 0x4c], eax
mov ecx, esi
mov edx, edi
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.004236c0
add esp, 8
cmp dword [esi + 0x9c], 0
mov ecx, esi
je 0x410a2c
lea eax, [ecx + 0x34c]
mov dword [esp + 8], eax
lea eax, [ecx + 0xa4]
mov dword [esp + 4], eax
xor edi, edi
xor esi, esi
xor ebx, ebx
nop
mov eax, dword [ecx + 0xa0]
lea ecx, [eax + edi]
mov edx, dword [esp + 8]
mov dword [eax + edi + 4], edx
push dword [esp + 4]
push dword [ebp + 8]
push ecx
call dword [eax + edi + 0x2c]
mov ecx, dword [ebp + 8]
add esp, 0xc
or ebx, eax
inc esi
mov eax, dword [ecx + 0x9c]
add edi, 0x3c
cmp esi, eax
jb 0x4109f0
test ebx, ebx
je 0x410a2e
jmp 0x410c16
xor eax, eax
mov esi, dword [ecx + 0x74]
test esi, esi
je 0x410a7e
mov edi, dword [ecx + 0x78]
mov ebx, edi
nop word [eax + eax]
mov eax, dword [ebx + 4]
and eax, 0xfffffffe
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov dword [ebx + 4], 0
mov dword [ebx], 0
add ebx, 8
dec esi
jne 0x410a40
and edi, 0xfffffffe
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x74], 0
mov eax, dword [ecx + 0x9c]
test eax, eax
js 0x410b39
je 0x410b4a
push 8
push eax
mov esi, eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [ecx + 0x78], eax
test eax, eax
je 0x410c20
mov dword [ecx + 0x74], esi
xor edi, edi
mov ebx, 8
mov eax, 4
jmp 0x410add
mov eax, dword [esp + 4]
mov eax, dword [eax + ebx]
mov dword [esi + edi*8], eax
inc edi
add ebx, 0x3c
mov eax, dword [esp + 8]
add eax, 8
mov ecx, dword [ebp + 8]
cmp edi, dword [ecx + 0x74]
jae 0x410b54
mov esi, dword [ecx + 0x78]
mov ecx, dword [ecx + 0xa0]
mov dword [esi + edi*8 + 4], 0
mov dword [esi + edi*8], 0
mov dword [esp + 8], eax
add eax, esi
push 0x524820
push eax
push dword [ecx + ebx]
mov dword [esp + 0x10], ecx
push dword [ecx + ebx + 4]
call fcn.00403bc0
add esp, 0x10
test eax, eax
je 0x410ac0
mov eax, dword [esi + edi*8 + 4]
and eax, 0xfffffffe
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov dword [esi + edi*8 + 4], 0
mov dword [esi + edi*8], 0
jmp 0x410aca
mov dword [ecx + 0x78], 0
mov ebx, 0x80030000
jmp 0x410c16
mov dword [ecx + 0x78], 1
mov dword [ecx + 0x74], eax
cmp dword [ecx + 0xb4], 0
je 0x410c0a
xor edi, edi
mov ebx, 8
jmp 0x410b83
inc edi
add ebx, 0x6c
mov ecx, dword [ebp + 8]
cmp edi, dword [ecx + 0xb4]
jae 0x410c0a
mov esi, dword [ecx + 0xb8]
lea eax, [esi + ebx]
push 0x525054
push eax
call fcn.00405940
add esp, 8
xorps xmm0, xmm0
movups xmmword [esi + ebx + 0x2c], xmm0
movups xmmword [esi + ebx + 0x20], xmm0
movups xmmword [esi + ebx + 0x10], xmm0
movups xmmword [esi + ebx], xmm0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xb8]
lea esi, [eax + ebx]
movups xmmword [eax + ebx + 0x2c], xmm0
movups xmmword [eax + ebx + 0x20], xmm0
movups xmmword [eax + ebx + 0x10], xmm0
movups xmmword [eax + ebx], xmm0
push 0x525054
push esi
push dword [esp + 0x1c]
call fcn.00405580
add esp, 0xc
test eax, eax
je 0x410b70
push 0x525054
push esi
call fcn.00405940
add esp, 8
xorps xmm0, xmm0
movups xmmword [esi + 0x2c], xmm0
movups xmmword [esi + 0x20], xmm0
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
jmp 0x410b70
mov dword [ecx + 0x200], 0
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 0x80030000
jmp 0x410c16