Function at 0x436970
Capabilities:
Create thread
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
mov eax, dword [0x73dd74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x743117
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x6cc], ebx
call fcn.00442547
cmp byte [0x73f03f], 0
jne 0x4369bf
push 0x73f03c
call fcn.00436730
add esp, 4
mov byte [0x73f03f], al
test al, al
je 0x436baa
cmp byte [0x73f06c], 0
jne 0x4369e2
push 0x73f040
call fcn.004365e0
add esp, 4
mov byte [0x73f06c], al
test al, al
je 0x436baa
push 0
push esi
push ebx
call fcn.00436480
add esp, 0xc
cmp al, 1
je 0x436de2
lea eax, [ebp - 0x6c8]
push eax
push ebx
call fcn.004367e0
add esp, 8
test al, al
je 0x436baa
cmp dword [0x73f070], 0
jne 0x436a67
push 0x71c460
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x436a39
push 0x71c460
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x436baa
push 0x71c524
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x73f070], eax
test eax, eax
jne 0x436a67
push dword [ebp - 0x6c4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x6c8]
jmp 0x436ba8
mov edi, dword [ebp - 0x6c8]
push 0x40
push 0x1000
push 0x111
push 0
push edi
call dword [0x73f064]
mov ebx, eax
mov dword [ebp - 0x6b4], ebx
test ebx, ebx
je 0x436b99
lea eax, [ebx + 0xd]
mov byte [ebp - 0x118], 0x68
mov dword [ebp - 0x117], eax
lea ecx, [ebx + 0xa]
mov eax, dword [0x73f070]
sub eax, ecx
mov dword [ebp - 0x6b8], ecx
cmp byte [0x73f03c], 0
mov byte [ebp - 0x113], 0xe8
mov dword [ebp - 0x112], eax
jne 0x436adf
cmp byte [0x73f03d], 0
jne 0x436adf
mov byte [ebp - 0x10e], 0xc2
mov eax, 4
jmp 0x436aeb
mov byte [ebp - 0x10e], 0xeb
mov eax, 0xfe
push esi
mov word [ebp - 0x10d], ax
lea eax, [ebp - 0x10b]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x118]
push 0
push 0x111
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x436b87
cmp byte [0x73f03c], 0
mov esi, dword [ebp - 0x6c4]
jne 0x436bbd
cmp byte [0x73f03d], 0
jne 0x436bbd
push 0
push 0
push 0
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x6b8], eax
test eax, eax
je 0x436b87
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x6b4]
push eax
push dword [ebp - 0x6b8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x436b87
cmp dword [ebp - 0x6b4], 0
jne 0x436dc4
push 0x4000
push 0x111
push ebx
push edi
call dword [0x73f068]
push dword [ebp - 0x6c4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442579
mov esp, ebp
pop ebp
ret
push 0
push 0x71c460
push dword [ebp - 0x6cc]
call fcn.00436480
add esp, 0xc
test al, al
je 0x436b87
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x436baa
lea eax, [ebp - 0x6b0]
mov dword [ebp - 0x6b0], 0x10007
push eax
push esi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x436c2f
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x4000
push 0x111
push dword [ebp - 0x6b4]
push edi
call dword [0x73f068]
push esi
jmp 0x436b9f
mov ecx, 0xb3
lea esi, [ebp - 0x6b0]
lea edi, [ebp - 0x3e4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x6c4]
lea eax, [ebp - 0x3e4]
mov edi, dword [ebp - 0x6b4]
push eax
push esi
mov dword [ebp - 0x32c], edi
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x436c8b
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x4000
push 0x111
push edi
mov edi, dword [ebp - 0x6c8]
push edi
call dword [0x73f068]
push esi
jmp 0x436b9f
mov eax, dword [ebp - 0x6b8]
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp - 0x32c], eax
je 0x436d3e
push esi
call edi
mov edi, eax
cmp edi, 1
jbe 0x436cc4
nop dword [eax]
cmp edi, 0xffffffff
jae 0x436d33
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, eax
dec ebx
cmp edi, 1
ja 0x436cb0
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x436d33
lea eax, [ebx - 1]
cmp edi, 1
cmovne eax, ebx
lea ebx, [eax + 1]
lea eax, [ebp - 0x3e4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x436c8b
test ebx, ebx
jle 0x436d1e
nop word [eax + eax]
mov eax, ebx
dec ebx
test eax, eax
jle 0x436d33
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x436d00
mov edi, dword [ebp - 0x6c8]
jmp 0x436c12
jns 0x436d33
mov eax, ebx
inc ebx
test eax, eax
jns 0x436d33
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x436d20
mov edi, dword [ebp - 0x6c8]
jmp 0x436c12
lea eax, [ebp - 0x6b0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x436d8e
test ebx, ebx
jle 0x436d6e
mov eax, ebx
dec ebx
test eax, eax
jle 0x436d33
push esi
call edi
cmp eax, 0xffffffff
jne 0x436d54
mov edi, dword [ebp - 0x6c8]
jmp 0x436c12
jns 0x436d33
mov eax, ebx
inc ebx
test eax, eax
jns 0x436d33
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x436d70
mov edi, dword [ebp - 0x6c8]
jmp 0x436c12
test ebx, ebx
jle 0x436da3
mov eax, ebx
dec ebx
test eax, eax
jle 0x436db8
push esi
call edi
cmp eax, 0xffffffff
jne 0x436d92
jmp 0x436db8
jns 0x436db8
mov eax, ebx
inc ebx
test eax, eax
jns 0x436db8
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x436da5
mov ebx, dword [ebp - 0x6b4]
mov edi, dword [ebp - 0x6c8]
push 0x4000
push 0x111
push ebx
push edi
call dword [0x73f068]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442579
mov esp, ebp
pop ebp
ret