Function at 0x100ced7a
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
sub esp, 0x600
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x600], eax
push 0x70
mov eax, 0x10149139
call fcn.101018b2
mov eax, dword [ebp + 0x618]
mov esi, ecx
mov dword [eax], 1
push dword [esi + 0xc]
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 0xac], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100cf281
push ebx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x34
cmp dword [esi], ebx
jne 0x100cedf9
push ebx
push esi
push 0x10153f9c
push ebx
call fcn.100da62b
add esp, 0x10
cmp eax, ebx
jl 0x100cf281
cmp dword [esi], ebx
je 0x100cf281
mov dword [ebp - 0x24], ebx
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
push 0x16d
add edi, 0xc
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100cee4e
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.100450bc
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0x51
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
lea ecx, [ebp - 0x6c]
call fcn.100ed3aa
mov ecx, 0x1019ef5c
mov dword [ebp - 4], ebx
call fcn.1000ff7a
push eax
lea ecx, [ebp - 0x6c]
call fcn.100ef1af
cmp eax, ebx
je 0x100cf275
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x10], ebx
call fcn.100f5e8d
cmp eax, ebx
je 0x100cf275
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xb4], eax
mov eax, dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esi]
mov ecx, dword [eax]
push 1
push 0xbba
push ebx
push eax
call dword [ecx + 0x24]
mov eax, dword [esi]
inc dword [ebp - 0x18]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
lea esi, [edi + 0xc]
push dword [esi]
mov dword [ebp - 0x3c], esi
push eax
call dword [ecx + 0xc]
add edi, 0x34
mov eax, dword [edi]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x38], edi
call dword [ecx + 0x2c]
cmp dword [ebp - 0x30], 0xa
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], ebx
jbe 0x100cef25
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push 0xa
push eax
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x28]
mov edi, dword [edi]
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x40]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x34]
jmp 0x100cef37
mov edi, dword [edi]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp - 0x30]
push edi
call dword [eax + 0x38]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xb4], ebx
jne 0x100cef4c
mov dword [ecx + 0xb4], 0x51
mov ecx, dword [ecx + 0xb4]
cmp eax, ecx
mov dword [ebp - 0x1c], eax
ja 0x100cef5c
mov dword [ebp - 0x1c], ecx
push 0x16c
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov dword [ebp - 0x4c], ebx
xor eax, eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100cefd3
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.100450bc
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
lea eax, [ecx + eax + 0x37]
mov dword [ebp - 0x44], eax
push 1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x10]
call fcn.10018757
push 4
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x10]
add ecx, 0xbc
call fcn.10001a06
mov ecx, 0x1019e718
call fcn.100386fa
test eax, eax
je 0x100cf025
mov ecx, 0x1019e6e0
call fcn.100ad6c4
test eax, eax
je 0x100cf025
mov edi, dword [ebp - 0x14]
add edi, 0x3c
cmp dword [edi], ebx
jne 0x100cf00d
push ebx
push edi
push 0x1015426c
push ebx
call fcn.100da62b
add esp, 0x10
cmp eax, ebx
jl 0x100cf025
mov eax, dword [edi]
cmp eax, ebx
je 0x100cf025
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, dword [edi]
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 0x10]
xor eax, eax
mov dword [ebp - 0x5c], ebx
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.100450bc
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x1c]
lea eax, [ecx + eax + 0x41]
mov dword [ebp - 0x54], eax
push 1
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.10018757
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
add dword [ebp - 0x1c], 5
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
cmp dword [ebp - 0x2c], ebx
je 0x100cf09b
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 1
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [ebp - 0x7c], ebx
xor eax, eax
lea edi, [ebp - 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xc9
push dword [esi]
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [ebp - 0x14]
lea edi, [esi + 0x4c]
push eax
mov ecx, edi
call fcn.1002f082
and byte [edi + 0x58], 0xfd
lea eax, [ebp - 0x7c]
push eax
add esi, 0x50
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x1fe
lea eax, [ebp + 0x202]
push ebx
push eax
mov word [ebp + 0x200], bx
call fcn.101027c0
add esp, 0xc
push 0x100
lea eax, [ebp + 0x200]
push eax
push 0x81
push dword [0x1019fa94]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp + 0x200]
push eax
mov ecx, edi
call fcn.1002e38e
push 0x1fe
lea eax, [ebp + 0x402]
push ebx
push eax
mov word [ebp + 0x400], bx
call fcn.101027c0
add esp, 0xc
push 0x100
lea eax, [ebp + 0x400]
push eax
push 0x82
push dword [0x1019fa94]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp + 0x400]
push eax
mov ecx, edi
call fcn.1002e3cd
push 0x1fe
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call fcn.101027c0
add esp, 0xc
push 0x100
lea eax, [ebp]
push eax
push 0x80
push dword [0x1019fa94]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.100cd6dd
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
add eax, 5
mov dword [ebp - 0x7c], eax
add eax, 0x32
mov dword [ebp - 0x74], eax
push 1
lea eax, [ebp - 0x7c]
push eax
mov ecx, esi
call fcn.10018757
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x1019e718
call fcn.10038b29
test eax, eax
je 0x100cf275
mov ecx, 0x1019e6e0
call fcn.100ad676
test eax, eax
je 0x100cf275
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xb0]
cmp eax, ebx
je 0x100cf20c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xb0], ebx
push 8
call fcn.10102177
cmp eax, ebx
pop ecx
je 0x100cf224
mov ecx, dword [0x1019a028]
mov dword [eax], ecx
mov edi, eax
jmp 0x100cf226
xor edi, edi
cmp edi, ebx
je 0x100cf275
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [edi + 4], eax
lea eax, [esi + 0x28]
push eax
mov ecx, edi
call fcn.10005459
lea eax, [ebp - 0x38]
push eax
push 4
push edi
push 0x100ce218
push ebx
push ebx
call fcn.1010370a
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0xb0], eax
je 0x100cf275
push 0x4000
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0xb0]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.100eca24
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x600]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x604
leave
ret 0x10