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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov eax, dword [edx + 0x18]
mov esi, ecx
mov dword [edx + 0x18], 0
test eax, eax
je 0x6ecd35
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov edi, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x2c], ecx
movsd xmm0, qword [eax + 0x1c]
movsd qword [esp + 0x24], xmm0
movsd xmm0, qword [eax + 0xc]
movsd xmm1, qword [eax + 0x14]
movsd qword [esp + 0x1c], xmm1
movsd qword [esp + 0x14], xmm0
push eax
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
movsd xmm1, qword [esp + 0x14]
movsd xmm0, qword [esp + 0xc]
movsd xmm2, qword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp edi, 0x80000000
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [esp + 0x24]
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x58], xmm2
mov dword [esp + 0x68], eax
movsd qword [esp + 0x60], xmm1
jne 0x6ecd54
mov ecx, 0xa
mov edx, str.A_subcommand_is_required_but_one_was_not_provided.InstallInstall_a_Windows_Service_for_the_web_serverUninstallUninstall_the_current_Windows_ServiceSubcommands_to_install_or_uninstall_the_SWS_Windows_Service
push 0x32
call fcn.006ea600
add esp, 4
mov dword [esi + 4], eax
mov byte [esi], 1
jmp 0x6ecf0a
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp], edi
movsd xmm0, qword [esp + 0x60]
movsd xmm2, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
cmp eax, 9
mov dword [esp + 8], eax
movsd qword [esp + 0x1c], xmm0
movsd qword [esp + 0x14], xmm2
movsd qword [esp + 0xc], xmm1
mov dword [esp + 0x24], ecx
je 0x6ecde4
cmp eax, 7
jne 0x6ece00
mov ebx, dword [esp + 4]
mov eax, 0x74736e69
mov ecx, 0x6c6c6174
xor eax, dword [ebx]
xor ecx, dword [ebx + 3]
or ecx, eax
jne 0x6ece00
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6ecddd
mov ecx, dword [esp + 0x10]
shl eax, 3
add ecx, 4
nop word cs:[eax + eax]
cmp dword [ecx], 0
je 0x6ece00
add ecx, 8
add eax, 0xfffffff8
jne 0x6ecdd0
xor eax, eax
jmp 0x6ecf41
mov ebx, dword [esp + 4]
push 9
push 0x93251d
push ebx
call fcn.007be090
add esp, 0xc
test eax, eax
je 0x6ecf15
lea ecx, [esp + 0x40]
mov eax, esp
mov dword [esp + 0x6c], 0x93254c
mov dword [esp + 0x70], 2
mov dword [esp + 0x7c], 0
lea edx, [esp + 0x6c]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x418cf0
mov dword [esp + 0x78], 1
call fcn.00419280
mov ecx, 2
call fcn.00431900
mov ebx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x38]
test ebx, ebx
je 0x6ece8b
mov dword [esp + 0x30], eax
js 0x6ecf57
movzx eax, byte [0x94bfc5]
xor ecx, ecx
mov edx, ebx
call fcn.0071ee80
mov ebp, eax
test eax, eax
mov eax, dword [esp + 0x30]
jne 0x6ece90
mov ecx, 1
mov edx, ebx
call fcn.007c1490
mov ebp, 1
push ebx
push eax
push ebp
call fcn.007bd9b0
add esp, 0xc
mov eax, dword [edi]
cmp eax, 2
je 0x6ecebb
test eax, eax
cmp dword [edi + 4], 0
je 0x6ecebb
push dword [edi + 8]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0x34], 0
mov dword [edi], 0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebx
je 0x6ecee3
push dword [esp + 0x38]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [esp + 0xc]
mov dword [esi + 4], edi
mov byte [esi], 1
call fcn.006e8660
cmp dword [esp], 0
je 0x6ecf0a
push dword [esp + 4]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov al, 1
test ecx, ecx
je 0x6ecf41
mov edx, dword [esp + 0x10]
shl ecx, 3
add edx, 4
nop dword [eax]
cmp dword [edx], 0
je 0x6ece00
add edx, 8
add ecx, 0xfffffff8
jne 0x6ecf30
lea ecx, [esp + 0x50]
mov byte [esi + 1], al
mov byte [esi], 0
call fcn.006e8660
test edi, edi
je 0x6ecf0a
push ebx
jmp 0x6ecefc
call fcn.00418cb0
int3