Function at 0x4150a0
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [0x43bc3c]
sub esp, 8
test eax, eax
push ebx
push esi
mov ebx, ecx
jne 0x41523d
mov al, byte [0x43c316]
test al, al
jne 0x4150e5
mov eax, dword [0x43d848]
push 0x104
cmp eax, 3
jne 0x4150d3
push 0x43c51e
jmp 0x4150d8
push 0x43d2fc
push 0x43c316
call fcn.00429dad
add esp, 0xc
mov eax, dword [0x43d86c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415228
mov edx, dword [0x43d86c]
mov eax, dword [edx + 0x24]
lea esi, [edx + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41516e
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x415149
mov edx, dword [0x43734c]
add eax, 0xfffffff4
cmp eax, edx
je 0x41516e
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41513f
mov eax, dword [esi]
sub eax, 0xc
push eax
call fcn.004292c0
add esp, 4
mov ecx, dword [0x437348]
mov dword [esi], ecx
jmp 0x41516e
mov edx, 0x43babc
test edx, edx
jne 0x415156
xor eax, eax
jmp 0x415161
push 0x43babc
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x43babc
push eax
mov ecx, esi
call fcn.00402510
mov ecx, dword [0x43d86c]
push ebp
push edi
push 0xffff0000
call fcn.00416c60
mov ecx, dword [0x43d86c]
mov eax, dword [ecx + 0x28]
add ecx, 0x24
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00404520
mov eax, dword [0x43d86c]
mov esi, dword [eax + 0x2c]
lea edx, [eax + 0x24]
mov eax, dword [esi - 8]
test eax, eax
je 0x415207
mov edi, dword [edx]
mov ecx, dword [edi - 0xc]
lea ebp, [edi - 0xc]
cmp ecx, 1
mov dword [esp + 0x10], ebp
jg 0x4151ef
mov ebp, dword [edi - 8]
lea ecx, [eax + ebp]
cmp ecx, dword [edi - 4]
jg 0x4151eb
mov ecx, eax
add edi, ebp
mov ebp, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx]
mov esi, dword [ecx - 8]
add esi, eax
mov dword [ecx - 8], esi
mov edx, dword [edx]
mov eax, dword [edx - 8]
mov byte [eax + edx], 0
jmp 0x415207
mov ebp, dword [esp + 0x10]
mov ecx, dword [edi - 8]
push esi
push eax
push edi
push ecx
mov ecx, edx
call fcn.004107f0
test eax, eax
je 0x415207
push ebp
call fcn.00409b10
mov edx, dword [0x43d86c]
mov ecx, dword [0x43d848]
push 0
mov eax, dword [edx + 0x24]
push eax
push ecx
mov ecx, 0x43bc08
call fcn.0040b5a0
pop edi
pop ebp
jmp 0x41523d
mov edx, dword [0x43d848]
push 0
push 0
push edx
mov ecx, 0x43bc08
call fcn.0040b5a0
test byte [0x43d84c], 2
je 0x4152c1
mov eax, dword [0x43d7b4]
mov esi, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0
push 0
push 1
push 0x80
push eax
call esi
push 0
push 0
mov dword [ebx + 0x24], eax
mov ecx, dword [0x43d7b4]
push 0
push 1
push 0x81
push ecx
call esi
mov edx, dword [ebx + 4]
lea esi, [ebx + 0x60]
push 0x80
push 0x1421
push edx
mov ecx, esi
mov dword [ebx + 0x28], eax
call fcn.00412830
mov eax, dword [0x43baf8]
mov ecx, esi
push eax
call fcn.004128b0
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.00412890
push 0
mov ecx, esi
call fcn.00412d20
mov ecx, esi
call fcn.004129e0
mov ecx, dword [ebx + 4]
lea eax, [esp + 0xc]
push eax
push 4
push ecx
push 0x425a50
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xfffffffffffffff1
push eax
mov dword [ebx + 0x40], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [ebx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
xor eax, eax
pop ebx
add esp, 8
ret