Function at 0x4a4b50
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686b36
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x124], edi
push dword [edi + 4]
lea esi, [edi + 4]
mov dword [ebp - 0x11c], esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [edi + 0x40], 0
lea ecx, [edi + 0x34]
mov edx, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x4a4be8
test ecx, ecx
mov dword [ebp - 0x104], 0
mov eax, edi
cmove eax, dword [ebp - 0x104]
push 0x64
push dword [eax + 4]
call edx
push eax
lea ecx, [edi + 0x3c]
call fcn.004a35c0
mov edx, dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [edi + 0x34]
cmp dword [edi + 0x100], 0
jne 0x4a4c19
test ecx, ecx
mov dword [ebp - 0x104], 0
mov eax, edi
cmove eax, dword [ebp - 0x104]
push 0x65
push dword [eax + 4]
call edx
push eax
lea ecx, [edi + 0xfc]
call fcn.004a35c0
push 0x66
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
mov dword [edi + 0x1bc], eax
mov dword [ebp - 0x138], 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x13c], eax
push 0
push 0
push 0x31
mov dword [ebp - 4], 0
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp - 0x13c]
call dword [sym.imp.GDI32.dll_SelectObject]
call fcn.004a4210
mov eax, dword [esi]
mov dword [ebp - 0x104], eax
call fcn.004a4210
test al, al
je 0x4a4d37
push str.TEXTSTYLE
push dword [ebp - 0x104]
call dword [sym.imp.UxTheme.dll_OpenThemeData]
mov esi, eax
test esi, esi
je 0x4a4d34
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0
push eax
push 0xedb
push 0
push 1
push esi
call dword [sym.imp.UxTheme.dll_GetThemeColor]
test eax, eax
js 0x4a4d34
mov eax, dword [ebp - 0x110]
push 0x5c
mov dword [edi + 0xd8], eax
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.0064cc00
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
push 0xd2
push 0
push 1
push dword [ebp - 0x13c]
push esi
call dword [sym.imp.UxTheme.dll_GetThemeFont]
test eax, eax
js 0x4a4d34
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [edi + 0x200]
mov esi, eax
test ecx, ecx
je 0x4a4d21
cmp ecx, esi
je 0x4a4d21
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
mov eax, esp
mov dword [edi + 0x200], esi
lea ecx, [edi + 0x3c]
mov dword [eax], esi
call fcn.004980c0
lea esi, [edi + 4]
cmp byte [edi + 0x260], 0
jne 0x4a4e14
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.004a4170
mov edx, eax
lea ecx, [edi + 0x30]
mov eax, edi
mov dword [ebp - 0x12c], edx
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x128], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x104], eax
cmp ecx, eax
jne 0x4a4ded
mov edx, dword [edx + 4]
lea esi, [ebp - 0x14c]
cmp esi, edx
lea esi, [edi + 4]
jb 0x4a4da3
lea esi, [ebp - 0x14c]
lea eax, [edx + eax*4]
cmp esi, eax
lea esi, [edi + 4]
jb 0x4a5757
mov eax, dword [ebp - 0x104]
test eax, eax
jne 0x4a4db4
mov eax, 1
mov dword [ebp - 0x110], eax
jmp 0x4a4dc8
lea eax, [ecx + ecx]
mov dword [ebp - 0x110], eax
test eax, eax
js 0x4a4e14
cmp eax, 0x1fffffff
ja 0x4a4e14
push 4
push eax
push edx
call fcn.0065e37f
add esp, 0xc
test eax, eax
je 0x4a4e14
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x110]
mov dword [edx + 0xc], ecx
mov ecx, dword [edx + 8]
mov dword [edx + 4], eax
mov eax, dword [edx + 4]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x104], eax
test eax, eax
je 0x4a4e0e
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x128]
mov dword [ecx], eax
mov ecx, dword [edx + 8]
lea eax, [ecx + 1]
mov dword [edx + 8], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
push dword [esi]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0xe
call dword [sym.imp.USER32.dll_MapDialogRect]
movaps xmm0, xmmword [0x775ec0]
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
movups xmmword [ebp - 0x7c], xmm0
call dword [sym.imp.USER32.dll_MapDialogRect]
xor edx, edx
xor eax, eax
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 1
xor cl, cl
mov edx, dword [ebp - 0x4c]
mov eax, dword [edi + 0x23c]
mov esi, dword [edi + 0x238]
mov dword [ebp - 0x120], eax
mov eax, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x114], eax
cmp esi, dword [ebp - 0x120]
je 0x4a5009
mov edi, dword [ebp - 0x144]
shr eax, 1
mov dword [ebp - 0x104], eax
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x6c]
call fcn.00478590
mov byte [ebp - 4], 2
mov eax, 1
mov ecx, dword [ebp - 0x108]
cmp byte [esi + 9], 0
movzx ecx, cl
cmovne ecx, eax
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push 0x420
cmovae eax, dword [ebp - 0x6c]
mov dword [ebp - 0x108], ecx
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0x400
push eax
push dword [ebp - 0x13c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0x400
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
push dword [eax]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x110], edi
je 0x4a4f8b
mov dword [edi], eax
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x144], edi
jmp 0x4a4fad
lea eax, [ebp - 0x3c]
push eax
push edi
lea ecx, [ebp - 0x148]
call fcn.004a6330
mov eax, dword [ebp - 0x140]
mov edi, dword [ebp - 0x144]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10c]
add ecx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x6c]
call fcn.00453390
add esi, 0x10
cmp esi, dword [ebp - 0x120]
jne 0x4a4ec4
mov eax, dword [ebp - 0x148]
mov edi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x114]
test cl, cl
je 0x4a5016
lea eax, [eax + edx*4]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push dword [edi + 4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x10a
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x9c]
cmp ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
push eax
cmovb ecx, dword [ebp - 0x1c]
push dword [edi + 4]
mov dword [ebp - 0x114], ecx
movups xmmword [ebp - 0x9c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push dword [edi + 4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x24
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x114]
mov ecx, edi
sub eax, dword [edi + 0x258]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x18], 0x400
mov dword [ebp - 0x108], 0xa
call fcn.004a5770
cmp dword [edi + 0x22c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
je 0x4a5242
cmp dword [edi + 0x230], 8
lea edx, [edi + 0x21c]
jb 0x4a510a
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x5c], 0
xor eax, eax
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a5123
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00459550
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0xfc]
call fcn.00498170
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00453390
push 0
call dword [sym.imp.USER32.dll_GetDC]
movups xmm0, xmmword [ebp - 0x24]
mov esi, eax
lea eax, [ebp - 0x34]
push eax
push 0
push ecx
mov ecx, esp
movups xmmword [ebp - 0x34], xmm0
mov dword [ecx], esi
lea ecx, [edi + 0xfc]
call fcn.004984f0
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x104]
mov esi, dword [edi + 0x258]
cmovg eax, dword [ebp - 0x104]
add esi, dword [edi + 0x250]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push eax
push dword [edi + 4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 8
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x108]
add eax, esi
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
sub eax, edx
mov ecx, dword [ebp - 0x34]
push 1
push eax
mov eax, dword [ebp - 0x2c]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x100]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x44]
movaps xmm0, xmmword [0x775eb0]
sub esi, dword [ebp - 0x30]
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x34]
add eax, esi
mov esi, dword [ebp - 0x108]
add esi, eax
movups xmmword [ebp - 0x44], xmm0
jmp 0x4a5248
mov esi, dword [ebp - 0x108]
cmp dword [edi + 0x1d0], 0
mov dword [ebp - 0x108], esi
je 0x4a5340
cmp dword [edi + 0x1d4], 8
lea eax, [edi + 0x1c0]
jb 0x4a526c
mov eax, dword [eax]
push eax
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp - 0x84]
lea eax, [ebp - 0x24]
movaps xmm0, xmmword [0x775ed0]
mov esi, dword [ebp - 0x3c]
sub edi, dword [ebp - 0x8c]
sub esi, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x11c]
movups xmmword [ebp - 0x24], xmm0
push dword [eax]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x18]
cmp edi, esi
mov dword [ebp - 0x28], eax
cmovle edi, esi
mov dword [ebp - 0x34], 0
mov esi, dword [ebp - 0x108]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x124]
push esi
mov dword [ebp - 0x30], 0
mov ecx, dword [edi + 0x258]
mov eax, dword [edi + 0x250]
add ecx, 0xa
add eax, ecx
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp byte [edi + 0x1d8], 0
je 0x4a530b
push 0
push 1
push 0xf1
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
sub eax, edx
mov ecx, dword [ebp - 0x34]
push 1
push eax
mov eax, dword [ebp - 0x2c]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x38]
add esi, 0x1e
sub eax, dword [ebp - 0x40]
add esi, eax
mov dword [ebp - 0x108], esi
jmp 0x4a534e
push 0
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_ShowWindow]
movaps xmm0, xmmword [0x775ee0]
lea eax, [ebp - 0x24]
push eax
push dword [edi + 4]
mov dword [ebp - 0x104], 0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x114]
shr edx, 1
sub ecx, edx
shr eax, 1
add eax, esi
mov dword [ebp - 0x120], ecx
mov ecx, dword [edi + 0x23c]
mov edi, dword [edi + 0x238]
mov esi, dword [ebp - 0x130]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
cmp edi, ecx
je 0x4a54e3
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x128], eax
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x6c]
invalid