Function at 0x415b29
Capabilities:
Create thread
Inject thread

Disassembly:
push ebx
push edi
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x415b30
call fcn.0042fe80
mov edx, dword [esp + 0x34]
lea ecx, [esp]
call fcn.0041a000
mov dword [0x4b6001], 0x4000126
mov dword [0x4b6001], 0x4000128
mov dword [esp + 0x18], 0
mov dword [0x4b6001], 0x4000129
mov byte [esp + 0x20], 0
mov dword [0x4b6001], 0x400012b
push dword [esp]
call fcn.00425827
push edx
push eax
pop ebx
pop edi
cmp edi, 0
jg 0x415b9f
jl 0x415b9b
cmp ebx, 0
ja 0x415b9f
xor eax, eax
jmp 0x415ba4
mov eax, 1
or eax, eax
je 0x415e73
mov dword [0x4b6001], 0x400012c
push dword [esp + 0x30]
call fcn.00415fa1
push eax
pop eax
mov byte [esp + 0x20], al
mov dword [0x4b6001], 0x400012d
movsx ebx, byte [esp + 0x20]
and ebx, ebx
jne 0x415c03
mov dword [0x4b6001], 0x400012e
mov eax, 0x4b9e3e
push eax
mov eax, str.kernel32.dll
push eax
call fcn.00415ea9
mov dword [esp + 4], eax
mov dword [0x4b6001], 0x400012f
jmp 0x415c5e
mov dword [0x4b6001], 0x400012f
jmp 0x415c43
mov dword [0x4b6001], 0x4000131
mov dword [0x4b6001], 0x4000133
xor eax, eax
jmp 0x415e99
mov dword [0x4b6001], 0x4000134
mov dword [0x4b6001], 0x4000136
push dword [esp + 0x30]
push 0
push 0x43a
call sub.KERNEL32.dll_OpenProcess
mov dword [esp + 0x14], eax
mov dword [0x4b6001], 0x4000137
cmp dword [esp + 0x14], 0
je 0x415e69
mov dword [0x4b6001], 0x4000138
push dword [esp]
call fcn.0042de80
mov ebx, eax
add ebx, ebx
inc ebx
mov dword [esp + 0xc], ebx
mov dword [0x4b6001], 0x4000139
push dword [esp + 0xc]
call fcn.0042ec50
mov dword [esp + 0x1c], eax
mov dword [0x4b6001], 0x400013a
push 0x19
push 0xffffffff
push dword [esp + 8]
push dword [esp + 0x28]
call fcn.0042eec0
mov dword [0x4b6001], 0x400013b
push 4
push 0x1000
push dword [esp + 0x14]
push 0
push dword [esp + 0x24]
call sub.KERNEL32.dll_VirtualAllocEx
mov dword [esp + 0x10], eax
mov dword [0x4b6001], 0x400013c
cmp dword [esp + 0x10], 0
je 0x415e39
mov dword [0x4b6001], 0x400013d
push 0
push dword [esp + 0x10]
push dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call sub.KERNEL32.dll_WriteProcessMemory
mov dword [0x4b6001], 0x400013e
push 0
push 0
push dword [esp + 0x18]
push dword [esp + 0x10]
push 0
push 0
push dword [esp + 0x2c]
call sub.KERNEL32.dll_CreateRemoteThread
mov dword [esp + 8], eax
mov dword [0x4b6001], 0x400013f
cmp dword [esp + 8], 0
je 0x415e0e
mov dword [0x4b6001], 0x4000140
push 0xffffffff
push dword [esp + 0xc]
call sub.KERNEL32.dll_WaitForSingleObject
mov dword [0x4b6001], 0x4000141
push dword [esp + 8]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b6001], 0x4000142
push edx
call fcn.0042fce0
pop edx
push eax
push edx
call fcn.0042fce0
pop edx
push eax
push edx
call fcn.0042fce0
pop edx
push eax
push dword [esp + 0xc]
call fcn.004257ce
call fcn.0042fe10
push dword [esp + 0x38]
call fcn.0041a2d2
add dword [esp + 4], edx
call fcn.00414f5a
call fcn.0041a2b0
mov dword [esp + 0x18], eax
mov dword [0x4b6001], 0x4000143
mov dword [0x4b6001], 0x4000144
push 0x8000
push 0
push dword [esp + 0x18]
push dword [esp + 0x20]
call sub.KERNEL32.dll_VirtualFreeEx
mov dword [0x4b6001], 0x4000145
mov dword [0x4b6001], 0x4000146
push dword [esp + 0x14]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b6001], 0x4000147
push dword [esp + 0x1c]
call fcn.0042ede0
mov dword [0x4b6001], 0x4000148
mov dword [0x4b6001], 0x4000149
mov dword [0x4b6001], 0x400014b
mov eax, dword [esp + 0x18]
jmp 0x415e99
push dword [esp]
call fcn.0042fee0
add esp, 0x24
pop edi
pop ebx
ret 8