Function at 0x11130010
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x111eb774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1e8
lea eax, [ebp - 0x1ec]
push 0
push eax
mov esi, ecx
call fcn.11161d20
mov ecx, dword [0x111ed160]
add esp, 0xc
mov dword [ebp - 0x1ec], 0x1e8
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], 2
mov bl, 1
cmp edi, 7
ja case.0x11130068.6
jmp dword [edi*4 + 0x111303dc]
xor bl, bl
cmp dword [0x111f0b74], 0
jne case.0x11130068.6
push 0
push 1
push 5
mov dword [ebp - 0x1dc], 0x5fd
mov dword [ebp - 0x1e0], 7
call fcn.111450a0
add esp, 0xc
test eax, eax
je 0x111300ab
push 0x47d
jmp 0x111300b0
push 0x455
call fcn.11095fe0
push eax
call dword [0x111939a4]
push 0x80
push 0x453
mov dword [ebp - 0x1d8], eax
call fcn.11145b40
add esp, 4
push eax
lea edx, [ebp - 0x1d4]
push edx
call fcn.11164010
add esp, 0xc
lea eax, [ebp - 0x1ec]
push eax
push 0
call dword [0x111936d4]
push 0
mov ecx, esi
mov dword [0x111f0b74], esi
call fcn.1103d360
push eax
call fcn.11142290
add esp, 8
mov dword [0x111f0b78], eax
test bl, bl
je case.0x11130068.6
push 0
push 1
call fcn.1112fed0
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11161d01
mov esp, ebp
pop ebp
ret
mov eax, dword [0x111f0b78]
test eax, eax
jne 0x11130142
mov eax, str._null_
mov ecx, dword [0x111f0b74]
push eax
push ecx
push str.LC_LOAD___gUI.pLoadCtlConn___x__gUI.pLoadCtlParams__s_n
call fcn.11146450
add esp, 0xc
push str.NSMWControl32
push 0
push 0x1f0001
call dword [0x11193468]
mov esi, eax
test esi, esi
je 0x11130193
push 0
push str.NSMWControl32
call dword [0x11193a1c]
push esi
call dword [0x11193578]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11161d01
mov esp, ebp
pop ebp
ret
call fcn.1112feb0
mov ecx, dword [0x111ed308]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
push 0
push 0xffffffffffffffff
call eax
push str.NSMCloseCtl32
push 0
push 1
lea ecx, [ebp - 0x1f8]
push ecx
mov dword [ebp - 0x1f8], 0xc
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 1
call dword [0x11193554]
mov ecx, dword [0x111ed308]
mov dword [0x111f0b7c], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
push 0
push 0
call eax
lea ecx, [ebp - 0x1fc]
push ecx
push 0
push 0
push 0x1112fd70
push 0
push 0
call fcn.11165888
add esp, 0x18
push eax
call dword [0x11193578]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11161d01
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp esi, ebx
je 0x1113023e
cmp dword [0x111f0b74], esi
jne case.0x11130068.6
call fcn.1112feb0
cmp dword [0x111f0b74], ebx
je 0x1113025d
cmp esi, ebx
je 0x1113025d
push 0x454
push ebx
call fcn.1112fed0
add esp, 8
mov eax, dword [0x111f0b7c]
cmp eax, ebx
je 0x1113026d
push eax
call dword [0x1119355c]
mov dword [0x111f0b7c], ebx
cmp edi, 2
je case.0x11130068.6
lea edx, [ebp - 0x1ec]
push edx
push 2
call dword [0x111936d4]
mov eax, dword [0x111f0b78]
push eax
mov dword [0x111f0b74], ebx
call fcn.111618c1
add esp, 4
pop esi
mov dword [0x111f0b78], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11161d01
mov esp, ebp
pop ebp
ret
cmp dword [0x111f0b74], 0
je 0x111302cd
push 0x457
push 0
call fcn.1112fed0
add esp, 8
mov eax, dword [0x111f0b7c]
test eax, eax
je 0x111302dd
push eax
call dword [0x1119355c]
push 0
push 1
push 5
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1e0], 7
call fcn.111450a0
add esp, 0xc
test eax, eax
je 0x1113030a
push 0x47e
jmp 0x1113030f
push 0x458
call fcn.11095fe0
push eax
call dword [0x111939a4]
push 0x80
push 0x457
mov dword [ebp - 0x1d8], eax
call fcn.11145b40
add esp, 4
push eax
lea ecx, [ebp - 0x1d4]
push ecx
call fcn.11164010
add esp, 0xc
lea edx, [ebp - 0x1ec]
push edx
jmp 0x111303c2
push 0
push 1
call fcn.1112fed0
push 0
push 1
push 5
mov dword [ebp - 0x1dc], 0x5fd
mov dword [ebp - 0x1e0], 7
call fcn.111450a0
add esp, 0x14
test eax, eax
je 0x11130382
push 0x47d
jmp 0x11130387
push 0x455
call fcn.11095fe0
push eax
call dword [0x111939a4]
push 0x80
push 0x453
mov dword [ebp - 0x1d8], eax
call fcn.11145b40
add esp, 4
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.11164010
add esp, 0xc
lea ecx, [ebp - 0x1ec]
push ecx
push 1
call dword [0x111936d4]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.11161d01
mov esp, ebp
pop ebp
ret