Function at 0x4ecc50
Capabilities:
Check mutex on windows
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x7aa024]
xor eax, ebp
mov dword [esp + 0x88], eax
mov edi, 0xffffff02
test ecx, ecx
je 0x4ecef6
mov esi, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x4ecc91
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
jmp 0x4ecc9d
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4ecca8
mov eax, dword [esi + 4]
test eax, eax
je 0x4ecef6
lea edi, [ebx + 4]
mov eax, dword [ebx + 4]
lea ecx, [eax + 1]
cmp ecx, 1
ja 0x4eccf6
xor eax, eax
push str.oauc_registry_mutex
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
jne 0x4eccf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4eccf4
push str.oauc_registry_mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [edi], eax
jmp 0x4eccf6
mov eax, dword [edi]
mov dword [esp + 0xc], edi
mov edi, 0xffffff04
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x4ecef6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4ecd23
xor edi, edi
inc edi
jmp 0x4ecef6
mov edx, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0xe
xor eax, eax
inc eax
shl eax, cl
mov dword [esp + 0x10], eax
mov eax, edx
shr eax, 0x13
mov dword [esp + 0x1c], eax
mov eax, dword [eax*4 + 0x7b1224]
bt eax, ecx
jae 0x4ecd55
push edx
call fcn.005e5030
add esp, 4
jmp 0x4ecd61
mov eax, edx
shr eax, 0x15
mov byte [eax + 0x7b9224], 1
cmp byte [ebx + 0x14], 0
jne 0x4ecf10
mov dword [esp + 0x78], 0xffffffff
lea edi, [esp + 0x20]
push edi
call fcn.004dc6a0
add esp, 4
cmp byte [edi + 0xb], 0
jns 0x4ecd8a
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
push 1
push 0
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp byte [esp + 0x2b], 0
jns 0x4ecdb6
push dword [esp + 0x20]
mov edi, eax
call fcn.0064cd6e
mov eax, edi
add esp, 4
xor ebx, ebx
mov edi, 0
test eax, eax
jne 0x4ecea9
lea edx, [esp + 0x78]
mov ecx, edx
shr ecx, 0xe
xor edi, edi
inc edi
shl edi, cl
mov eax, edx
shr eax, 0x13
mov dword [esp + 0x14], eax
mov eax, dword [eax*4 + 0x7b1224]
bt eax, ecx
jae 0x4ecdf3
push edx
call fcn.005e5030
add esp, 4
jmp 0x4ecdff
mov eax, edx
shr eax, 0x15
mov byte [eax + 0x7b9224], 1
mov dword [esp + 0x20], 0xffffffff
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x4ece11
mov eax, dword [esi]
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
push ebx
push ebx
push ebx
push eax
push dword [esp + 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ece75
mov eax, dword [esp + 0x20]
mov edi, 0
test eax, eax
je 0x4ece81
inc eax
push eax
call fcn.0064cda3
add esp, 4
mov ebx, eax
cmp byte [esi + 0xb], 0
jns 0x4ece52
mov esi, dword [esi]
xor edi, edi
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push edi
push esi
push dword [esp + 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ece79
mov edi, 0xffffff04
jmp 0x4ece81
xor edi, edi
jmp 0x4ece81
mov eax, dword [esp + 0x20]
mov byte [ebx + eax], 0
push dword [esp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test dword [ecx*4 + 0x7b1224], eax
je 0x4ecea9
lea eax, [esp + 0x78]
push eax
call fcn.005e5140
add esp, 4
test ebx, ebx
mov eax, 0x743187
cmovne eax, ebx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.005dec40
test ebx, ebx
je 0x4ecec9
push ebx
call fcn.0064cdac
add esp, 4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4ecedd
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x1c]
test dword [eax*4 + 0x7b1224], esi
je 0x4ecef6
push dword [esp + 0xc]
call fcn.005e5140
add esp, 4
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.0064d372
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqu xmmword [edi + 0x3c], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
add ebx, 8
mov ecx, edi
mov edx, ebx
call fcn.004ec960
lea eax, [esp + 0x84]
mov dword [eax], 0xffffffff
mov edi, dword [edi + 0x48]
lea ebx, [esp + 0x78]
mov ecx, ebx
push 0x74d511
call fcn.0067fde0
mov ecx, edi
lea eax, [esp + 0x84]
push eax
push ebx
call fcn.00556930
cmp byte [ebx + 0xb], 0
jns 0x4ecf82
push dword [esp + 0x78]
mov ebx, eax
call fcn.0064cd6e
mov eax, ebx
add esp, 4
xor edi, edi
test al, al
je 0x4ed00e
mov dword [esp + 0x78], 0xffffffff
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x78]
push eax
call fcn.006a69e0
test al, al
je 0x4ed009
mov ecx, dword [esp + 0x78]
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4ecfba
mov eax, dword [esi + 4]
mov esi, dword [esi]
push eax
push esi
call fcn.0054b8f0
test eax, eax
je 0x4ed00e
mov ebx, eax
movzx eax, byte [eax + 0xb]
mov ecx, ebx
test al, al
jns 0x4ecfd6
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
push eax
push ecx
call fcn.005ec910
add esp, 8
test al, al
je 0x4ed00e
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
je 0x4ed00e
cmp byte [ecx + 0xb], 0
movzx eax, byte [ebx + 0xb]
js 0x4ed04f
test al, al
js 0x4ed043
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
movq xmm0, qword [ebx]
movq qword [ecx], xmm0
jmp 0x4ed00e
mov edi, 0xffffff04
mov esi, dword [esp + 0x68]
test esi, esi
je 0x4ed035
dec dword [esi + 4]
jne 0x4ed035
add esi, 4
mov eax, dword [esi - 4]
add esi, 0xfffffffc
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push 1
call ebx
lea ecx, [esp + 0x20]
call fcn.00548720
jmp 0x4ecec9
push dword [ebx + 4]
push dword [ebx]
call fcn.005df000
jmp 0x4ed00e
test al, al
jns 0x4ed058
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
mov ecx, dword [ebp + 0xc]
push eax
push ebx
call fcn.005def10
jmp 0x4ed00e