Function at 0x51f940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x534a90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x551e00]
xor eax, ebp
mov dword [ebp + 0x78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x84]
push 0
mov dword [ebp - 4], 0
call fcn.0051de30
add esp, 4
mov dword [ebp - 0x14], eax
push 2
call fcn.0051de30
add esp, 4
mov dword [ebp + 0x74], eax
push 0
push 0
push 3
push 0x80010000
push esi
call fcn.0051d240
mov ebx, eax
add esp, 0x14
cmp ebx, 0xffffffff
je 0x51fa48
mov dword [ebp - 0x18], ebx
mov edi, 0x28c
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp + 8], edi
movq qword [ebp], xmm0
push edi
mov dword [ebp], edi
call fcn.004f8876
mov esi, eax
add esp, 4
mov dword [ebp + 4], esi
lea eax, [ebp + 0x4c]
mov byte [ebp - 4], 2
push eax
push 0x224
push esi
push 1
push ebx
call dword [ebp + 0x74]
test eax, eax
je 0x51fa67
mov edi, dword [ebp + 0x4c]
add edi, 0x78
mov dword [ebp + 0x70], esi
push edi
mov dword [ebp + 8], edi
call fcn.004f8876
add esp, 4
mov esi, eax
mov dword [ebp + 4], esi
push dword [ebp + 0x70]
call fcn.004f9d48
add esp, 4
mov dword [ebp], edi
lea ecx, [ebp + 0x4c]
lea eax, [edi - 0x68]
push ecx
push eax
push esi
push 1
push ebx
call dword [ebp + 0x74]
test eax, eax
je 0x51fa67
push esi
call fcn.004f9d48
add esp, 4
mov byte [ebp - 4], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x78]
xor ecx, ebp
call fcn.004f9e32
lea esp, [ebp + 0x7c]
pop ebp
ret
lea eax, [edi - 0xc]
shr eax, 1
mov dword [ebp + 0x70], eax
movzx eax, word [esi]
push eax
push dword [esi + 4]
lea eax, [esi + 0xc]
push eax
call fcn.004f94d0
movzx edi, word [esi]
add esp, 0xc
shr edi, 1
mov eax, edi
je 0x51faa0
lea ecx, [edi + 6]
lea ecx, [esi + ecx*2]
lea ecx, [ecx - 2]
dec eax
cmp word [ecx], 0x5c
je 0x51faa0
dec edi
test eax, eax
jne 0x51fa91
mov eax, dword [ebp + 0x70]
sub eax, edi
cmp eax, 0x20
jb 0x51fa34
push 1
call fcn.0051de30
add esp, 4
lea ecx, [ebp + 0x48]
push ecx
push 0x30
lea ecx, [ebp + 0xc]
push ecx
push 3
call eax
test eax, eax
jne 0x51fa34
lea eax, [edi + 6]
lea eax, [esi + eax*2]
push eax
lea eax, [ebp + 0xc]
push 0x10
push eax
call fcn.0051d080
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp + 0x70], eax
lea edx, [edi + 0x26]
xor eax, eax
mov dword [ebp + 0x50], 0x310030
lea edx, [esi + edx*2]
mov dword [ebp + 0x54], 0x330032
mov dword [ebp + 0x58], 0x350034
mov dword [ebp + 0x5c], 0x370036
mov dword [ebp + 0x60], 0x390038
mov dword [ebp + 0x64], 0x420041
mov dword [ebp + 0x68], 0x440043
mov dword [ebp + 0x6c], 0x460045
mov dword [ebp + 0x74], eax
jmp 0x51fb30
mov cl, byte [ebp + eax + 0x70]
lea edx, [edx + 4]
movzx eax, cl
shr eax, 4
movzx eax, word [ebp + eax*2 + 0x50]
mov word [edx - 4], ax
movsx eax, cl
and eax, 0xf
movzx eax, word [ebp + eax*2 + 0x50]
mov word [edx - 2], ax
mov eax, dword [ebp + 0x74]
inc eax
mov dword [ebp + 0x74], eax
cmp eax, 4
jne 0x51fb30
mov ecx, 0x55b21c
or eax, 0xffffffff
lock xadd dword [ecx], eax
lea ecx, [edi + 0x2e]
mov dword [ebp + 0x50], 0x310030
lea ecx, [esi + ecx*2]
mov dword [ebp + 0x54], 0x330032
mov dword [ebp + 0x58], 0x350034
xor edx, edx
mov dword [ebp + 0x5c], 0x370036
mov dword [ebp + 0x60], 0x390038
mov dword [ebp + 0x64], 0x420041
mov dword [ebp + 0x68], 0x440043
mov dword [ebp + 0x6c], 0x460045
lea ecx, [ecx]
movzx eax, byte [edx + 0x55b21c]
lea ecx, [ecx + 4]
shr eax, 4
movzx eax, word [ebp + eax*2 + 0x50]
mov word [ecx - 4], ax
movsx eax, byte [edx + 0x55b21c]
inc edx
and eax, 0xf
movzx eax, word [ebp + eax*2 + 0x50]
mov word [ecx - 2], ax
cmp edx, 4
jne 0x51fbb0
push 0xa
push dword [ebp + 8]
add edi, 0x30
mov dword [esi], 1
push esi
mov dword [esi + 4], 0
lea eax, [edi + edi]
mov dword [esi + 8], eax
lea eax, [ebp + 0x3c]
push eax
push ebx
call dword [ebp - 0x14]
push esi
test eax, eax
jne 0x51fa35
mov byte [ebp - 4], 1
call fcn.004f9d48
push 5
call fcn.0051de30
add esp, 8
mov edi, eax
push 6
call fcn.0051de30
mov esi, eax
mov dword [ebp], 0x20000
xor eax, eax
mov dword [ebp + 0x58], 0x18
add esp, 4
mov word [ebp + 0x74], ax
lea eax, [ebp + 0x74]
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 4], eax
lea eax, [ebp]
mov dword [ebp + 0x60], eax
lea eax, [ebp + 0x44]
push 0x1000
push 7
push eax
lea eax, [ebp + 0x58]
mov dword [ebp + 0x64], 0
push eax
push 0x10000
lea eax, [ebp + 8]
mov dword [ebp + 0x68], 0
push eax
mov dword [ebp + 0x6c], 0
mov dword [ebp + 8], 0
call edi
push dword [ebp + 8]
call esi
push ebx
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x51fa4a