Function at 0x58c890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x5e95a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5fc7d0]
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.0058a6c0
add esp, 4
mov dword [ebp - 0x14], eax
push 2
call fcn.0058a6c0
add esp, 4
mov dword [ebp + 0x74], eax
push 0
push 0
push 3
push 0x80010000
push esi
call fcn.00589a90
mov ebx, eax
add esp, 0x14
cmp ebx, 0xffffffff
je 0x58c998
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.005c363f
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 0x58c9b7
mov edi, dword [ebp + 0x4c]
add edi, 0x78
mov dword [ebp + 0x70], esi
push edi
mov dword [ebp + 8], edi
call fcn.005c363f
add esp, 4
mov esi, eax
mov dword [ebp + 4], esi
push dword [ebp + 0x70]
call fcn.005c4a5b
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 0x58c9b7
push esi
call fcn.005c4a5b
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.005c4b26
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.005c4250
movzx edi, word [esi]
add esp, 0xc
shr edi, 1
mov eax, edi
je 0x58c9f0
lea ecx, [edi + 6]
lea ecx, [esi + ecx*2]
lea ecx, [ecx - 2]
dec eax
cmp word [ecx], 0x5c
je 0x58c9f0
dec edi
test eax, eax
jne 0x58c9e1
mov eax, dword [ebp + 0x70]
sub eax, edi
cmp eax, 0x20
jb 0x58c984
push 1
call fcn.0058a6c0
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 0x58c984
lea eax, [edi + 6]
lea eax, [esi + eax*2]
push eax
lea eax, [ebp + 0xc]
push 0x10
push eax
call fcn.005898d0
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 0x58ca80
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 0x58ca80
mov ecx, 0x60251c
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 + 0x60251c]
lea ecx, [ecx + 4]
shr eax, 4
movzx eax, word [ebp + eax*2 + 0x50]
mov word [ecx - 4], ax
movsx eax, byte [edx + 0x60251c]
inc edx
and eax, 0xf
movzx eax, word [ebp + eax*2 + 0x50]
mov word [ecx - 2], ax
cmp edx, 4
jne 0x58cb00
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 0x58c985
mov byte [ebp - 4], 1
call fcn.005c4a5b
push 5
call fcn.0058a6c0
add esp, 8
mov edi, eax
push 6
call fcn.0058a6c0
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 0x58c99a