Function at 0x427820
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4ab05b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 2
push 0xa9
xor ebp, ebp
mov eax, dword [edi + 4]
lea esi, [edi + 4]
push 0x169
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x24]
push eax
push ecx
call ebx
test eax, eax
je 0x42789b
mov eax, dword [esi]
lea edx, [esp + 0x2c]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 9
inc ecx
push 9
inc edx
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov edx, dword [esi]
push 1
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, edi
call fcn.00428040
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ebx, 0xd
sub eax, 0x3c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
lea ebx, [edi + 0x3c]
push 0xfb
add eax, 0xfffffff1
sub edx, 0xa
push 0xfa
push 0xf9
mov ecx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], ebx
call fcn.00427340
mov edx, dword [esi]
mov dword [esp + 0x10], edx
call fcn.0041f770
cmp dword [eax + 0x30], ebp
jne 0x42794d
call fcn.0041f770
mov dword [eax + 0x30], str.msctls_progress32
call fcn.0041f770
lea ecx, [ebx + 0x1c]
push ecx
push eax
push 0x4d1b50
call fcn.0041d740
push ebp
push eax
mov eax, dword [esp + 0x18]
push 0x3ef
push ebp
push 0x50000000
lea edx, [esp + 0x28]
push ebp
push edx
push eax
mov ecx, ebx
call fcn.0041d9c0
mov ecx, dword [edi + 0x40]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfffdffff
cmp eax, ecx
je 0x4279a5
mov edx, dword [edi + 0x40]
push ecx
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x38]
push 0x100
push eax
push 0x83
lea ebx, [edi + 0x24]
call fcn.00405b00
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x4279d6
lea edx, [esp + 0x38]
mov ecx, ebx
push edx
call fcn.00404c50
jmp 0x427a21
push 0x1ff
lea ecx, [edi + 0x24]
mov ebx, 0x200
call fcn.00405530
cmp eax, ebp
je 0x427a17
push ebx
push eax
push 0x83
call fcn.00405b00
mov ecx, ebx
sub ecx, eax
cmp ecx, 1
jg 0x427a17
add ebx, 0x100
lea ecx, [edi + 0x24]
lea edx, [ebx - 1]
push edx
call fcn.00405530
cmp eax, ebp
jne 0x4279ec
push 0xffffffffffffffff
lea ecx, [edi + 0x24]
call fcn.004055f0
mov eax, dword [edi + 0x40]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x820000
push ebp
push 0x401
push eax
call ebx
mov ecx, dword [edi + 0x40]
push ebp
push 0x1e
push 0x402
push ecx
call ebx
mov edx, dword [esi]
push ebp
push 0xc8
push 0x2710
push edx
call dword [sym.imp.USER32.dll_SetTimer]
push ebp
mov ecx, esi
call fcn.004094f0
mov edi, dword [edi + 0x38]
cmp edi, ebp
je 0x427a70
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x4d1b58]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
push 0xc
mov dword [esp + 0x18], eax
call edi
push eax
push 0xb
call edi
mov ecx, dword [esp + 0x18]
push eax
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, dword [esi]
push eax
push 1
push 0x80
push edx
call ebx
mov eax, dword [0x4d1b58]
push ebp
push 0x32
mov dword [esp + 0x18], eax
call edi
push eax
push 0x31
call edi
mov ecx, dword [esp + 0x18]
push eax
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, dword [esi]
push eax
push ebp
push 0x80
push edx
call ebx
mov eax, dword [esi]
push ebp
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, ebp
mov dword [esp + 0x240], ebp
je 0x427b04
push 3
push 0xf060
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword [esp + 0x34]
push 0xfb
push 0xfa
push 0xf9
call fcn.00427340
cmp esi, ebp
je 0x427b27
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x234
ret 8