Function at 0x5332a4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe74
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x174], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x472b60]
call fcn.00405c60
xor eax, eax
push ebp
push 0x533621
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00533f94
xor eax, eax
push ebp
push 0x5335df
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x160], esi
mov esi, ebx
test esi, esi
jne 0x533325
mov esi, dword [0x58253c]
mov esi, dword [esi]
cmp dword [ebp - 0x160], 0
jne 0x53334d
push esi
push 0
push 0x4a
call dword [0x687bbc]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
jne 0x53334d
call fcn.0042dff0
call sub.kernel32.dll_GetCurrentThreadId_1
cmp esi, eax
jne 0x53336a
mov ecx, 0x1c8
mov edx, 0x533638
mov eax, 0x533660
call fcn.00404f58
mov eax, dword [ebp - 0x160]
push eax
call sub.kernel32.dll_SuspendThread
xor eax, eax
push ebp
push 0x5335c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x164]
mov eax, 0xcc
call fcn.0040f8b0
mov ebx, eax
xor eax, eax
push ebp
push 0x5335a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 4
call fcn.004038b8
mov dword [ebx], 0x10003
push ebx
mov eax, dword [ebp - 0x160]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x53358b
cmp dword [ebx + 0xb8], 0
je 0x53358b
cmp dword [ebx + 0xc4], 0
je 0x53358b
mov eax, dword [0x581e08]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x582348]
xor edx, edx
mov dword [eax], edx
call fcn.00470a38
lea ecx, [ebp - 0x174]
mov dl, 0x9c
call fcn.00489a00
mov ecx, dword [ebp - 0x174]
mov dl, 1
mov eax, dword [0x473af4]
call fcn.0042c718
mov dword [ebp - 0x168], eax
xor eax, eax
push ebp
push 0x533584
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebx + 0xb8]
mov ecx, ebx
mov edx, dword [ebp - 0x168]
call fcn.00472d54
mov dword [ebp - 0x150], esi
push 0
push 0
call fcn.0052d5cc
lea edx, [ebp - 0x15c]
mov cl, 1
call fcn.0052f970
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x53356b
mov eax, dword [ebp - 0x16c]
call fcn.004bb1b8
mov dl, 1
call fcn.00488a18
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
movzx eax, byte [0x533674]
push eax
push 0
push 1
push 1
push 0
push 0x80000000
push 0
push 0
mov eax, dword [0x582020]
mov eax, dword [eax]
xor ecx, ecx
mov dl, 1
call dword [eax + 0x1c]
mov dword [ebp - 0x170], eax
xor eax, eax
push ebp
push 0x533549
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xb8]
push eax
movzx eax, byte [0x533678]
push eax
push 1
push 0
push 0x80000000
push ebx
mov ecx, esi
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x170]
call fcn.004af220
mov eax, dword [ebp - 0x16c]
call fcn.004bb1b8
push eax
push 1
push 0
call fcn.0052d5cc
mov eax, dword [eax]
mov ecx, dword [ebp - 0x170]
mov edx, esi
call fcn.005316a0
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x16c]
call fcn.004bb3fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533550
lea eax, [ebp - 0x170]
call fcn.0040f894
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53358b
lea eax, [ebp - 0x168]
call fcn.0040f894
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5335ab
mov eax, dword [ebp - 0x164]
call fcn.004030b8
ret