Function at 0x7cfc60af
Capabilities:
Create thread

Disassembly:
sub esp, 0x218
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, dword [esp + 0x22c]
push ebp
push 8
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x7cfc60dd
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x7cfc60f1
push eax
push 0x3001
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
je 0x7cfc6114
push ebx
push eax
push 0x170
push 0x3009
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [ebp + 0x1c], 1
je 0x7cfc614f
push 0x3000
push edi
call esi
push 2
push edi
mov dword [esp + 0x18], eax
call esi
push eax
push dword [esp + 0x14]
call fcn.7cfc671d
push 1
push edi
call esi
push eax
push dword [esp + 0x14]
call fcn.7cfc671d
push ebx
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
test byte [ebp + 0x1c], 8
je 0x7cfc6165
push ebx
push 0x3011
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x300a
push edi
call esi
push ebx
push 0x103
push 0x141
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.7cfc5a51
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x7cfc6204
push ebx
push ebx
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_EnumMRUListW]
cmp eax, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebx
jle 0x7cfc61fb
lea eax, [esp + 0x20]
push 0x104
push eax
push dword [esp + 0x18]
push dword [esp + 0x24]
call dword [sym.imp.COMCTL32.dll_EnumMRUListW]
test eax, eax
jle 0x7cfc61ed
push 0x5c
lea eax, [esp + 0x24]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, ebx
je 0x7cfc61d8
mov word [eax], bx
lea eax, [esp + 0x20]
push eax
push ebx
push 0x143
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x1c]
jl 0x7cfc61a7
push dword [esp + 0x18]
call fcn.7cfc5a9a
test byte [ebp + 0x1c], 2
jne 0x7cfc621b
push ebx
push ebx
push 0x14e
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esp + 0x14]
push 0x1300a
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x300a
push edi
call fcn.7d0410bb
test byte [ebp + 0x1c], 0x20
je 0x7cfc6256
push ebx
push 0x3012
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x7cfc62e5
push ebx
push ebx
push 1
mov dword [esp + 0x1c], ebx
pop ebp
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [0x7d04e0dc], eax
je 0x7cfc628e
lea eax, [esp + 0x1c]
mov dword [0x7d04e0d8], ebp
push eax
push ebx
push edi
push 0x7cfc6537
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x10], eax
cmp dword [0x7d04e0dc], ebx
je 0x7cfc62a4
cmp dword [0x7d04e0d8], ebx
je 0x7cfc62a4
cmp dword [esp + 0x10], ebx
jne 0x7cfc62cb
push ebp
mov ebp, 0x3012
push ebp
push edi
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 1
push ebp
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esp + 0x10], ebx
mov dword [0x7d04e0d8], ebx
je 0x7cfc62d5
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x7d04e0dc]
cmp eax, ebx
je 0x7cfc62e5
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4