Function at 0x10b0b200
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esi]
sub esp, 0x70
push ebx
xor ebx, ebx
cmp ecx, ebx
push ebp
mov ebp, dword [esp + 0x80]
je 0x10b0b221
pop ebp
mov eax, 1
pop ebx
add esp, 0x70
ret 0xc
cmp eax, ebx
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x20], ecx
mov dword [esi + 4], eax
jne 0x10b0b25a
mov edx, dword [esp + 0x84]
mov dword [edx], ebx
push ebx
lea eax, [esi + 0x24]
push eax
push ebx
call sub.DSOUND.dll_DirectSoundCreate8
cmp eax, ebx
jge 0x10b0b273
push eax
call fcn.10b0d170
add esp, 4
pop ebp
xor eax, eax
pop ebx
add esp, 0x70
ret 0xc
mov eax, dword [esp + 0x84]
cmp dword [eax], ebx
je 0x10b0b238
push ebx
lea eax, [esi + 0x24]
push eax
push ebx
call dword [sym.imp.EAX.DLL_Ordinal_6]
jmp 0x10b0b243
mov eax, dword [esi + 8]
cmp eax, ebx
push edi
lea edi, [esi + 8]
mov dword [edi + 4], ebx
je 0x10b0b28f
mov ecx, dword [0x10c73bf0]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov dword [edi], ebx
cmp ebp, 0x20
mov eax, ebp
jle 0x10b0b29b
mov eax, 0x20
push eax
push 0x68
push edi
call fcn.10953e20
mov eax, dword [esi + 0x18]
cmp eax, ebx
lea edi, [esi + 0x18]
mov dword [edi + 4], ebx
je 0x10b0b2bf
mov ecx, dword [0x10c73bf0]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov dword [edi], ebx
push 0xd
push 0x28
push edi
call fcn.10953e20
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
je 0x10b0b53a
mov eax, dword [esi + 0x24]
mov edx, dword [eax]
push 2
push ecx
push eax
call dword [edx + 0x18]
cmp eax, ebx
jge 0x10b0b2f8
push eax
call fcn.10b0d170
add esp, 4
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x70
ret 0xc
xor eax, eax
mov ecx, 9
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x24]
push ebx
lea edi, [esi + 0x28]
push edi
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], 0x24
mov dword [esp + 0x68], 0x11
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x10b0b2e4
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov eax, dword [edi]
lea edx, [esp + 0xc]
push edx
mov word [esp + 0x10], 1
mov word [esp + 0x12], 2
mov dword [esp + 0x14], 0xac44
mov word [esp + 0x1e], 0x10
mov word [esp + 0x1c], 4
mov dword [esp + 0x18], 0x2b110
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
cmp eax, ebx
jl 0x10b0b2e4
mov eax, dword [edi]
mov ecx, dword [eax]
lea ebp, [esi + 0x2c]
push ebp
push 0x10bdfa40
push eax
call dword [ecx]
cmp eax, ebx
jge 0x10b0b3bb
push eax
call fcn.10b0d170
add esp, 4
pop edi
mov dword [ebp], ebx
pop ebp
xor eax, eax
pop ebx
add esp, 0x70
ret 0xc
mov eax, dword [edi]
cmp eax, ebx
je 0x10b0b3c9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [edi], ebx
mov eax, 1
mov word [esp + 0x20], ax
mov word [esp + 0x22], ax
xor eax, eax
mov ecx, 9
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [0x10bf1f00]
mov eax, dword [0x10bf1efc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [0x10bf1f08]
push ebx
mov edx, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], ecx
mov word [esp + 0x32], dx
mov dword [esp + 0x3c], edx
mov edx, dword [0x10bf1f04]
lea ebp, [esi + 0x30]
push ebp
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x30], 0xac44
mov dword [esp + 0x34], 0x15888
mov word [esp + 0x38], 2
mov word [esp + 0x3c], bx
mov dword [esp + 0x40], 0x24
mov dword [esp + 0x48], 4
mov dword [esp + 0x5c], edx
mov edx, dword [eax]
push eax
call dword [edx + 0xc]
cmp eax, ebx
jge 0x10b0b46d
push eax
call fcn.10b0d170
add esp, 4
mov eax, dword [ebp]
mov edx, dword [eax]
lea ecx, [esi + 0x34]
push ecx
push 0x10bdfa30
push eax
call dword [edx]
cmp eax, ebx
jge 0x10b0b48b
push eax
call fcn.10b0d170
add esp, 4
mov edx, dword [esp + 0x88]
lea edi, [esi + 0x3c]
mov dword [edi], ebx
cmp dword [edx], ebx
je 0x10b0b509
mov ebp, dword [ebp]
mov eax, dword [ebp]
push edi
push 0x10bdfa10
push ebp
call dword [eax]
cmp eax, ebx
jl 0x10b0b500
mov eax, dword [edi]
lea edx, [esp + 0x84]
push edx
push 1
push 0x10bf0bc0
mov dword [esp + 0x90], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
mov eax, dword [edi]
mov ecx, dword [eax]
jl 0x10b0b4ef
lea edx, [esp + 0x84]
push edx
push 1
push 0x10bf0bd0
push eax
call dword [ecx + 0x14]
test eax, eax
jge 0x10b0b509
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x88]
mov dword [edi], ebx
mov dword [edx], ebx
jmp 0x10b0b509
push eax
call fcn.10b0d170
add esp, 4
xor ecx, ecx
mov eax, esi
call fcn.10b0c420
lea eax, [esp + 0x80]
push eax
push ebx
lea eax, [esi + 0x18]
push eax
push 0x10b0d270
push 0x3000
push ebx
mov dword [esp + 0x98], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
pop edi
pop ebp
mov byte [esi + 0x54], bl
mov dword [esi], 1
mov eax, 1
pop ebx
add esp, 0x70
ret 0xc