Function at 0x4636dc
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, 0x53eea7
call fcn.004f8378
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0xb4], ecx
cmp dword [ebp + 8], 8
ja 0x463700
jmp 0x4639cf
cmp dword [0x5a5668], 0
je 0x463718
call dword [0x5a5668]
test eax, eax
je 0x463718
jmp 0x4639cf
cmp dword [0x5a5664], 0
jne 0x4637e1
push 0xc
push 0x55453c
call fcn.00414c02
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x80]
call fcn.0051349a
pop ecx
cmp dword [ebp - 0x14], 0
je 0x4637e1
push 0x11
push 0x554554
call fcn.00414c02
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5a5668], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x84], eax
push dword [ebp - 0x84]
call fcn.0051349a
pop ecx
cmp dword [0x5a5668], 0
je 0x4637aa
call dword [0x5a5668]
test eax, eax
je 0x4637aa
jmp 0x4639cf
push 0xa
push 0x554548
call fcn.00414c02
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5a5664], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x88], eax
push dword [ebp - 0x88]
call fcn.0051349a
pop ecx
call fcn.0042f077
test eax, eax
jne 0x4637f7
cmp dword [0x5a5664], 0
je 0x4639cf
lea ecx, [ebp - 0x38]
call fcn.0051242d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0051242d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00414a7e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.00414c3e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x3c], 0
jmp 0x46383d
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x20]
jge 0x463945
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x58], eax
and dword [ebp - 0x54], 0
call fcn.0042f077
test eax, eax
je 0x463904
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0x1f03ff
call fcn.00463667
mov dword [ebp - 0x60], eax
and dword [ebp - 0x74], 0
push dword [ebp - 0x64]
push dword [ebp - 0x60]
call fcn.00463686
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x46389b
jmp 0x463836
push str.OpenProcess
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x68], eax
mov esi, dword [ebp - 0x68]
cmp byte [esi], 0x68
jne 0x4638c3
mov eax, dword [esi + 1]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0xc2474ff
je 0x4638d0
jmp 0x4638fc
mov esi, dword [ebp - 0x68]
mov edi, esi
add edi, 0x14
cmp byte [edi], 0x74
jne 0x4638fc
mov edi, dword [ebp - 0x68]
add edi, 0x24
cmp dword [edi], 0xb9
jne 0x4638fc
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
call edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
jmp 0x463917
push dword [ebp - 0x58]
push 0
push 0x1f03ff
call dword [0x5a5664]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x463940
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xb0], eax
push dword [ebp - 0x54]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x50]
call fcn.00511bde
jmp 0x463836
and dword [ebp - 0x3c], 0
jmp 0x463952
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x20]
jge 0x463976
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x78], eax
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0xb4]
call fcn.004639e0
jmp 0x46394b
and dword [ebp - 0x3c], 0
jmp 0x463983
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x20]
jge 0x4639ab
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46397c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00414aa3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00512460
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00512460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4