Function at 0x10011075
Capabilities:
Create thread

Disassembly:
push 0x20
mov eax, 0x1007ee89
call fcn.10063ebe
call fcn.1000eb6e
mov esi, eax
call fcn.1000ebc9
xor ebx, ebx
cmp eax, ebx
je 0x1001109b
mov edi, dword [eax + 0x13c]
jmp 0x1001109d
xor edi, edi
cmp eax, ebx
je 0x100110ac
push eax
call fcn.10025f75
mov byte [ebp - 0xd], al
jmp 0x100110af
mov byte [ebp - 0xd], bl
call fcn.1000eb6e
call fcn.1000ebdd
cmp byte [ebp - 0xd], bl
jne 0x100111fe
mov eax, dword [ebp + 8]
call fcn.1000ec31
cmp eax, edi
je 0x100111fe
call fcn.1000eb6e
mov esi, eax
call fcn.1000ebc9
mov esi, dword [ebp + 8]
mov edi, eax
call fcn.1000ecfd
test al, al
jne 0x10011163
lea eax, [ebp - 0x24]
push 0x1009210c
push eax
call fcn.1001419c
push eax
call fcn.100144ef
mov dword [ebp - 4], 2
cmp edi, ebx
je 0x10011113
mov eax, dword [edi + 0xf0]
jmp 0x10011118
mov eax, 0x10089bb3
push eax
lea esi, [ebp - 0x2c]
call fcn.100276bf
mov eax, esi
push eax
lea ebx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.10027ada
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
call fcn.10029e8b
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 0
je 0x1001114e
push dword [ebp - 0x2c]
call fcn.1005a1d0
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 0
je 0x10011161
push dword [ebp - 0x24]
call fcn.1005a1d0
pop ecx
xor ebx, ebx
lea esi, [ebp - 0x2c]
call fcn.10026f5a
push 4
pop eax
mov dword [ebp - 4], eax
cmp edi, ebx
je 0x10011189
push 1
push eax
push edi
call fcn.10020c3d
push dword [edi + 0x120]
call fcn.10027362
call fcn.1000eb6e
call fcn.1000ebdd
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x14], esp
push str.Fail_Lang:
call fcn.10026f71
push ecx
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x18], esp
push dword [ebp - 0x2c]
call fcn.10026f71
push 2
mov byte [ebp - 4], 4
call fcn.100203c0
add esp, 0x14
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push 0x100101cf
push ebx
push ebx
call fcn.1005b758
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov dword [ecx + 0x440], eax
cmp dword [ebp - 0x2c], ebx
je 0x100112a4
push dword [ebp - 0x2c]
call fcn.1005a1d0
pop ecx
jmp 0x100112a4
call fcn.1000eb6e
mov esi, eax
call fcn.1000ec10
mov esi, eax
cmp esi, ebx
je 0x1001122d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001122d
push ebx
push ebx
push 0x4c8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.1000eb6e
call fcn.1000ec24
mov eax, dword [0x100aa3bc]
mov ecx, 0x100aa3bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push edi
call fcn.1000ec31
push eax
movzx eax, byte [ebp - 0xd]
push eax
push str.COCDownloadManager::DLMPrepareOffer:_download_completed_already._download:_d_progress:_d_filesize:_d
lea eax, [ebp - 0x14]
call fcn.100027be
mov esi, dword [ebp - 0x14]
add esp, 0x10
push ebx
push ebx
push ecx
add esi, 0xfffffff0
mov eax, esi
mov dword [ebp + 8], esp
mov edi, esp
call fcn.1000296d
add eax, 0x10
mov dword [edi], eax
push ebx
push ebx
push ecx
mov byte [ebp - 4], 1
call fcn.10016053
pop ecx
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.1001ae54
mov eax, esi
call fcn.100029ea
call fcn.10063f96
ret 4