Function at 0x1000bf90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013ab20
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x1019ca20]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esi + 0xfc], 0
test eax, eax
je 0x1000c339
test edi, edi
je 0x1000c339
test ecx, ecx
je 0x1000c339
push eax
lea ecx, [esp + 0x30]
call fcn.1000fec0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0
call fcn.1000ffa0
push eax
lea ecx, [esi + 0x1c]
call fcn.100086e0
cmp dword [esp + 0x28], 0x10
jb 0x1000c028
push dword [esp + 0x14]
call fcn.10119469
add esp, 4
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x1000c058
push dword [esp + 0x2c]
call fcn.10119469
add esp, 4
cmp word [edi], 0
jne 0x1000c062
xor ecx, ecx
jmp 0x1000c076
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c067
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x64]
call fcn.1000fdc0
push dword [esp + 0x10]
lea ecx, [esp + 0x30]
call fcn.1000fec0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 1
call fcn.1000ffa0
push eax
lea ecx, [esi + 0x94]
call fcn.100086e0
cmp dword [esp + 0x28], 0x10
jb 0x1000c0c1
push dword [esp + 0x14]
call fcn.10119469
add esp, 4
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x1000c0f1
push dword [esp + 0x2c]
call fcn.10119469
add esp, 4
mov eax, dword [ebp + 0xc]
lea edx, [esi + 0x64]
lea ecx, [esp + 0x2c]
mov dword [esi + 0x7c], eax
mov byte [esi + 0x60], 0
mov word [esi + 0x154], 0
mov byte [esi + 0x156], 0
mov byte [esi + 0x8c], 0
call fcn.1000ffa0
cmp dword [esp + 0x40], 0x10
jb 0x1000c131
push dword [esp + 0x2c]
call fcn.10119469
add esp, 4
cmp dword [esi + 0x7c], 0
jg 0x1000c13e
mov dword [esi + 0x7c], 0xb4
cmp dword [esi + 0x134], 0
jne 0x1000c15e
push str.wait_login_success
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x134], eax
cmp dword [esi + 0xe8], 0
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x1000c183
push 0
push 0
push esi
push 0x1000b5e0
push 0
push 0
call edi
mov dword [esi + 0xe8], eax
cmp dword [esi + 0xec], 0
jne 0x1000c1a2
push 0
push 0
push esi
push 0x1000c440
push 0
push 0
call edi
mov dword [esi + 0xec], eax
push str.League_of_Legends
push str.RCLIENT
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebx, eax
push 0x10
xor eax, eax
push str.LeagueClient.exe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.1000fdc0
lea ecx, [esp + 0x14]
call fcn.100100a0
cmp dword [esp + 0x28], 8
mov dword [esp + 0x10], eax
jb 0x1000c1ff
push dword [esp + 0x14]
call fcn.10119469
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x1000c30b
test ebx, ebx
jne 0x1000c30b
cmp dword [esi + 0xf0], ebx
jne 0x1000c229
push ebx
push ebx
push esi
push 0x1000c350
push ebx
push ebx
call edi
mov dword [esi + 0xf0], eax
lea eax, [esp + 0x2c]
push eax
call fcn.1000ad80
mov ebx, eax
lea edi, [esi + 0x100]
cmp edi, ebx
je 0x1000c26a
cmp dword [edi + 0x14], 8
jb 0x1000c24f
push dword [edi]
call fcn.10119469
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push ebx
mov ecx, edi
mov word [edi], ax
call fcn.1000f8e0
cmp dword [esp + 0x40], 8
jb 0x1000c27d
push dword [esp + 0x2c]
call fcn.10119469
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x1000c285
mov edi, dword [edi]
test edi, edi
je 0x1000c298
mov ecx, edi
call fcn.1000b1e0
test eax, eax
jne 0x1000c31e
lea eax, [esp + 0x2c]
push eax
call fcn.1000afc0
lea edi, [esi + 0x118]
push eax
mov ecx, edi
call fcn.1000ee20
lea ecx, [esp + 0x2c]
call fcn.1000ff20
push 0
push 0x1018bf60
push dword [edi + 0x10]
push ecx
mov ecx, edi
call fcn.1000f650
test eax, eax
je 0x1000c2e6
cmp dword [edi + 0x14], 8
jb 0x1000c2d7
mov edi, dword [edi]
test edi, edi
je 0x1000c2e6
mov ecx, edi
call fcn.1000b1e0
test eax, eax
jne 0x1000c31e
mov dword [esi + 0xfc], 2
mov eax, dword [esi + 0xfc]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push dword [esi + 0x134]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [esi + 0x154], 1
mov eax, dword [esi + 0xfc]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10