Function at 0x8c3c90
Capabilities:
Create thread

Disassembly:
sub esp, 0x108
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx + 0x20]
test al, al
je 0x8c3cae
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x108
ret
push edi
push 0xa38758
lea ebp, [ebx + 0x24]
call fcn.008c94e0
add esp, 4
push eax
push ebp
call fcn.008c3720
add esp, 8
lea eax, [esp + 0x14]
mov ecx, ebx
push 0x104
push eax
call fcn.008c39d0
mov edi, 0xa384f8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa38748
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.008c94e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0xa3873c
call fcn.008c94e0
add esp, 4
push eax
push ebp
call fcn.008c3720
add esp, 0xc
lea ecx, [esp + 0x14]
push 1
push ecx
lea ecx, [ebx + 0x2ac8]
call fcn.008c7a90
test al, al
pop edi
jne 0x8c3da8
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
mov ebx, dword [ebx + 0x2b0c]
call esi
push eax
push ebx
push 0xa3871c
call fcn.008c94e0
add esp, 4
push eax
push ebp
call fcn.008c3720
add esp, 0x10
xor al, al
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [ebx + 0x2b34], eax
jne 0x8c3dce
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 0xa38700
jmp 0x8c3ed6
push 2
push eax
call fcn.008c5c80
mov dword [ebx + 0x2b94], eax
mov eax, dword [ebx + 0x2b34]
push 1
push eax
call fcn.008c5c80
mov ecx, dword [ebx + 0x2b94]
mov dword [ebx + 0x2b98], eax
test ecx, ecx
je 0x8c3eca
test eax, eax
je 0x8c3eca
push 0
push 0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateEventA]
test eax, eax
mov dword [ebx + 0x14], eax
jne 0x8c3e2c
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 0xa386d8
jmp 0x8c3ed6
lea ecx, [esp + 0xc]
mov byte [ebx + 0x20], 1
push ecx
push 0
push ebx
push 0x8c4110
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
mov dword [ebx + 0x2b38], eax
jne 0x8c3e5f
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 0xa386b4
jmp 0x8c3ed6
mov edx, dword [esp + 0xc]
push edx
push 0xa38690
call fcn.008c94e0
add esp, 4
push eax
push ebp
call fcn.008c3720
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x2b80]
mov edx, dword [ebx + 0x2b84]
push eax
mov eax, dword [ebx + 0x2b10]
push ecx
push edx
push eax
call dword [ebx + 0x2b94]
add esp, 0x1c
cmp eax, 0x6b
je 0x8c3ea7
push eax
push 0xa38674
jmp 0x8c3ed6
push 0xa38660
call fcn.008c94e0
add esp, 4
push eax
push ebp
call fcn.008c3720
add esp, 8
mov al, 1
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 0xa38648
call fcn.008c94e0
add esp, 4
push eax
push ebp
call fcn.008c3720
add esp, 0xc
xor al, al
pop esi
pop ebp
pop ebx
add esp, 0x108
ret