Function at 0x401960
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d923
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4634b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
cmp byte [ebx + 0x10], 0
jne 0x401cdc
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 4]
push dword [eax + 0x30]
push 0
push 0x100c3a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebx + 0x58], eax
test eax, eax
je 0x401cfd
push 0x458de0
lea ecx, [ebp - 0x80]
call fcn.0040c1f0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x80]
mov eax, dword [ebx + 0x30]
lea ecx, [ebp - 0xa4]
mov eax, dword [eax + 4]
push dword [eax + 0x30]
call fcn.0041b290
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x6c], 8
jb 0x401a01
push dword [ebp - 0x80]
call fcn.00434302
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x9c], eax
jne 0x401b38
lea ecx, [ebp - 0x44]
call fcn.004136d0
push 0x458f30
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00406ff0
add esp, 4
lea ecx, [ebx + 0x38]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00406f10
mov ecx, dword [ebx + 0x30]
push eax
call fcn.0041ac20
test al, al
sete byte [ebp - 0xa5]
cmp dword [ebp - 0x18], 8
jb 0x401a74
push dword [ebp - 0x2c]
call fcn.00434302
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x401a99
push dword [ebp - 0x5c]
call fcn.00434302
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x401ac2
push dword [ebp - 0x44]
call fcn.00434302
add esp, 4
cmp byte [ebp - 0xa5], 0
je 0x401adb
lea ecx, [ebp - 0xa4]
call fcn.00401d20
jmp 0x401cfd
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x458de0
lea ecx, [ebp - 0x44]
call fcn.0040c1f0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x30]
lea ecx, [ebp - 0x68]
mov eax, dword [eax + 4]
push dword [eax + 0x30]
call fcn.0041b290
add esp, 4
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.00401d50
lea ecx, [ebp - 0x68]
call fcn.00401d20
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040bbd0
cmp dword [ebp - 0x9c], 0
je 0x401acb
lea ecx, [ebp - 0x44]
call fcn.004136d0
push 0x458f30
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00406ff0
add esp, 4
lea ecx, [ebx + 0x38]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00406f10
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x401b73
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [ebp - 0x48], 8
mov esi, eax
jb 0x401b8d
push dword [ebp - 0x5c]
call fcn.00434302
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x401bb2
push dword [ebp - 0x2c]
call fcn.00434302
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x401bdb
push dword [ebp - 0x44]
call fcn.00434302
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
test esi, esi
je 0x401ce6
cmp dword [ebp - 0x9c], eax
je 0x401ce6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
push esi
call edi
mov ecx, eax
test ecx, ecx
je 0x401acb
mov eax, dword [ebp - 0xa4]
sub eax, esi
push 2
add eax, ecx
push esi
mov dword [ebx + 0x50], eax
call edi
mov ecx, eax
test ecx, ecx
je 0x401acb
mov eax, dword [ebp - 0xa4]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub eax, esi
push 0
add eax, ecx
push 4
mov dword [ebx + 0x54], eax
call edi
push eax
push dword [ebx + 0x50]
push 0
push 0
push dword [ebx + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov ecx, dword [ebx + 0x30]
mov esi, eax
push esi
mov ecx, dword [ecx + 4]
push dword [ecx + 0x30]
mov ecx, ebx
call fcn.00401260
test al, al
je 0x401acb
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], esi
push eax
lea ecx, [ebx + 4]
call fcn.004045e0
mov ecx, ebx
mov eax, dword [eax + 4]
mov dword [ebx + 0xc], eax
mov byte [ebp - 4], 9
call fcn.00401d90
test al, al
je 0x401acb
mov ecx, ebx
call fcn.00401f80
lea ecx, [ebp - 0xa4]
test al, al
je 0x401ad1
call fcn.00401d20
mov al, 1
jmp 0x401cff
cmp dword [ebp - 0x84], 8
jb 0x401cfd
push dword [ebp - 0x98]
call fcn.00434302
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.00434307
mov esp, ebp
pop ebp
ret