Function at 0x4af030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x572540
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x59b000]
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.004ace40
add esp, 4
mov dword [ebp - 0x14], eax
push 2
call fcn.004ace40
add esp, 4
mov dword [ebp + 0x74], eax
push 0
push 0
push 3
push 0x80010000
push esi
call fcn.004ac210
mov ebx, eax
add esp, 0x14
cmp ebx, 0xffffffff
je 0x4af138
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.00545ef6
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 0x4af157
mov edi, dword [ebp + 0x4c]
add edi, 0x78
mov dword [ebp + 0x70], esi
push edi
mov dword [ebp + 8], edi
call fcn.00545ef6
add esp, 4
mov esi, eax
mov dword [ebp + 4], esi
push dword [ebp + 0x70]
call fcn.0054a8a8
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 0x4af157
push esi
call fcn.0054a8a8
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.0054a992
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.0054a030
movzx edi, word [esi]
add esp, 0xc
shr edi, 1
mov eax, edi
je 0x4af190
lea ecx, [edi + 6]
lea ecx, [esi + ecx*2]
lea ecx, [ecx - 2]
dec eax
cmp word [ecx], 0x5c
je 0x4af190
dec edi
test eax, eax
jne 0x4af181
mov eax, dword [ebp + 0x70]
sub eax, edi
cmp eax, 0x20
jb 0x4af124
push 1
call fcn.004ace40
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 0x4af124
lea eax, [edi + 6]
lea eax, [esi + eax*2]
push eax
lea eax, [ebp + 0xc]
push 0x10
push eax
call fcn.004ac050
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 0x4af220
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 0x4af220
mov ecx, 0x5a181c
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 + 0x5a181c]
lea ecx, [ecx + 4]
shr eax, 4
movzx eax, word [ebp + eax*2 + 0x50]
mov word [ecx - 4], ax
movsx eax, byte [edx + 0x5a181c]
inc edx
and eax, 0xf
movzx eax, word [ebp + eax*2 + 0x50]
mov word [ecx - 2], ax
cmp edx, 4
jne 0x4af2a0
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 0x4af125
mov byte [ebp - 4], 1
call fcn.0054a8a8
push 5
call fcn.004ace40
add esp, 8
mov edi, eax
push 6
call fcn.004ace40
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 0x4af13a