Function at 0x525640
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Inject apc

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a328e
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x60ef40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x40
push 0x3000
push 0x100
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x5256a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, 0x10400001
jmp 0x525987
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 0
mov byte [ebp - 0x3a], 0
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x37], 0
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x30], 0x55
mov byte [ebp - 0x2f], 0x8b
mov byte [ebp - 0x2e], 0xec
mov byte [ebp - 0x2d], 0xeb
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 0x53
mov byte [ebp - 0x2a], 0x8b
mov byte [ebp - 0x29], 0x5d
mov byte [ebp - 0x28], 8
mov byte [ebp - 0x27], 0xff
mov byte [ebp - 0x26], 0x73
mov byte [ebp - 0x25], 4
mov byte [ebp - 0x24], 0xff
mov byte [ebp - 0x23], 0x53
mov byte [ebp - 0x22], 8
mov byte [ebp - 0x21], 0x85
mov byte [ebp - 0x20], 0xc0
mov byte [ebp - 0x1f], 0x74
mov byte [ebp - 0x1e], 6
mov byte [ebp - 0x1d], 0x89
mov byte [ebp - 0x1c], 3
mov byte [ebp - 0x1b], 0xc6
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x10
mov byte [ebp - 0x18], 0x15
mov byte [ebp - 0x17], 0x5b
mov byte [ebp - 0x16], 0x5d
mov byte [ebp - 0x15], 0xc2
mov byte [ebp - 0x14], 4
mov byte [ebp - 0x13], 0
mov dword [ebp - 0x58], 0xc
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
push 0
push 0x2a
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x5257a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
push 0x8000
push 0
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, 0x10400002
jmp 0x525987
lea ecx, [ebp - 0x98]
call fcn.00523820
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x98]
call fcn.00523920
movzx edx, al
test edx, edx
jne 0x5257ee
mov dword [ebp - 0x54], 0x10200001
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.005238f0
mov eax, dword [ebp - 0x54]
jmp 0x525987
mov byte [ebp - 0x3d], 0
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x98]
call fcn.00523f70
movzx eax, al
test eax, eax
jne 0x52581a
jmp 0x525892
cmp dword [ebp - 0x5c], 0xf
jne 0x525822
jmp 0x525892
lea ecx, [ebp - 0x98]
call fcn.00523f10
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x525838
jmp 0x525892
mov ecx, dword [ebp - 0x48]
push ecx
push 0
push 0x10
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x525851
jmp 0x525892
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
test eax, eax
je 0x52587d
mov byte [ebp - 0x3d], 1
push 0
push 0
push 0
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x525888
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x98]
call fcn.00523ab0
movzx eax, al
test eax, eax
jne 0x5257fb
movzx ecx, byte [ebp - 0x3d]
test ecx, ecx
jne 0x5258e8
push 0x8000
push 0
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [ebp - 0x64], 0x10400005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.005238f0
mov eax, dword [ebp - 0x64]
jmp 0x525987
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
mov edx, dword [ebp + 0x18]
mov dword [edx], 0
push 0
push 4
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [ebp - 0x74]
sbb edx, dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0
ja 0x52593d
cmp dword [ebp - 0x7c], 0x4e20
jbe 0x52595b
mov dword [ebp - 0x68], 0x10400006
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.005238f0
mov eax, dword [ebp - 0x68]
jmp 0x525987
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
je 0x525906
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.005238f0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534c20
mov esp, ebp
pop ebp
ret