Function at 0x416860
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4424ad
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x462524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [0x462488]
mov esi, dword [sym.imp.CoreUI.dll_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea ecx, [ebx + 0x4c]
call esi
mov dword [ebx + 0x87c], eax
lea ecx, [ebx + 0x4c]
push dword [0x462484]
call esi
mov dword [ebx + 0x880], eax
lea ecx, [ebx + 0x4c]
push dword [0x462480]
call esi
mov dword [ebx + 0x884], eax
lea ecx, [ebx + 0x4c]
push dword [0x46248c]
call esi
mov dword [ebx + 0x870], eax
lea ecx, [ebx + 0x4c]
push dword [0x462490]
call esi
mov dword [ebx + 0x874], eax
lea ecx, [ebx + 0x4c]
push dword [0x462494]
call esi
sub esp, 0x18
mov dword [ebx + 0x878], eax
mov ecx, esp
mov dword [ebp - 0x44], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x416919
mov eax, dword [ecx]
jmp 0x41691b
mov eax, ecx
push 0x1e
xor edx, edx
push str.waiting_window_title_name_text
mov word [eax], dx
call fcn.00405b60
mov eax, dword [0x463718]
mov dword [ebp - 4], 0
test eax, eax
jne 0x416965
push 0x50
call fcn.0041e94b
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x41695a
mov ecx, eax
call fcn.00403080
jmp 0x41695c
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x463718], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
push ecx
mov ecx, eax
call fcn.00403b20
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 2
jb 0x416988
mov edx, dword [edx]
mov ecx, dword [ebx + 0x870]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4169b0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405cc0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4169d0
mov eax, dword [ecx]
jmp 0x4169d2
mov eax, ecx
push 0x1b
xor edx, edx
push str.waiting_window_cap_top_text
mov word [eax], dx
call fcn.00405b60
mov eax, dword [0x463718]
mov dword [ebp - 4], 3
test eax, eax
jne 0x416a1c
push 0x50
call fcn.0041e94b
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x416a11
mov ecx, eax
call fcn.00403080
jmp 0x416a13
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x463718], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
push ecx
mov ecx, eax
call fcn.00403b20
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 5
jb 0x416a3f
mov edx, dword [edx]
mov ecx, dword [ebx + 0x874]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x416a67
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405cc0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x416a87
mov eax, dword [ecx]
jmp 0x416a89
mov eax, ecx
push 0x1b
xor edx, edx
push str.waiting_window_cap_mod_text
mov word [eax], dx
call fcn.00405b60
mov eax, dword [0x463718]
mov dword [ebp - 4], 6
test eax, eax
jne 0x416ad3
push 0x50
call fcn.0041e94b
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x416ac8
mov ecx, eax
call fcn.00403080
jmp 0x416aca
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x463718], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
push ecx
mov ecx, eax
call fcn.00403b20
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 8
jb 0x416af6
mov edx, dword [edx]
mov ecx, dword [ebx + 0x878]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x416b1e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00405cc0
mov ecx, dword [ebx + 0x87c]
xor eax, eax
mov word [ebp - 0x40], ax
push 0
mov dword [ebp - 0x2c], 7
mov eax, dword [ecx]
mov dword [ebp - 0x30], 0
call dword [eax + 0xe0]
mov ecx, dword [ebx + 0x86c]
mov eax, dword [ebx + 4]
mov dword [ecx], eax
lea eax, [ebx + 0x860]
push eax
push 0
push dword [ebx + 0x86c]
push 0x416740
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0xa
push 0x464
push dword [ebx + 4]
mov dword [ebx + 0x864], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x868], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e99a
mov esp, ebp
pop ebp
ret