Function at 0x4a4e20
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 0x686ec6
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 0x4a4eb8
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.004a3890
mov edx, dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [edi + 0x34]
cmp dword [edi + 0x100], 0
jne 0x4a4ee9
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.004a3890
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.004a44e0
mov eax, dword [esi]
mov dword [ebp - 0x104], eax
call fcn.004a44e0
test al, al
je 0x4a5007
push str.TEXTSTYLE
push dword [ebp - 0x104]
call dword [sym.imp.UxTheme.dll_OpenThemeData]
mov esi, eax
test esi, esi
je 0x4a5004
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 0x4a5004
mov eax, dword [ebp - 0x110]
push 0x5c
mov dword [edi + 0xd8], eax
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.0064cf50
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 0x4a5004
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 0x4a4ff1
cmp ecx, esi
je 0x4a4ff1
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.00498390
lea esi, [edi + 4]
cmp byte [edi + 0x260], 0
jne 0x4a50e4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.004a4440
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 0x4a50bd
mov edx, dword [edx + 4]
lea esi, [ebp - 0x14c]
cmp esi, edx
lea esi, [edi + 4]
jb 0x4a5073
lea esi, [ebp - 0x14c]
lea eax, [edx + eax*4]
cmp esi, eax
lea esi, [edi + 4]
jb 0x4a5a27
mov eax, dword [ebp - 0x104]
test eax, eax
jne 0x4a5084
mov eax, 1
mov dword [ebp - 0x110], eax
jmp 0x4a5098
lea eax, [ecx + ecx]
mov dword [ebp - 0x110], eax
test eax, eax
js 0x4a50e4
cmp eax, 0x1fffffff
ja 0x4a50e4
push 4
push eax
push edx
call fcn.0065e6cf
add esp, 0xc
test eax, eax
je 0x4a50e4
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 0x4a50de
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 [0x775e10]
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 0x4a52d9
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 0x4a525b
mov dword [edi], eax
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x144], edi
jmp 0x4a527d
lea eax, [ebp - 0x3c]
push eax
push edi
lea ecx, [ebp - 0x148]
call fcn.004a6600
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 0x4a5194
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 0x4a52e6
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.004a5a40
cmp dword [edi + 0x22c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
je 0x4a5512
cmp dword [edi + 0x230], 8
lea edx, [edi + 0x21c]
jb 0x4a53da
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 0x4a53f3
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.00498440
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.004987c0
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 [0x775e00]
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 0x4a5518
mov esi, dword [ebp - 0x108]
cmp dword [edi + 0x1d0], 0
mov dword [ebp - 0x108], esi
je 0x4a5610
cmp dword [edi + 0x1d4], 8
lea eax, [edi + 0x1c0]
jb 0x4a553c
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 [0x775e20]
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 0x4a55db
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 0x4a561e
push 0
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_ShowWindow]
movaps xmm0, xmmword [0x775e30]
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 0x4a57b3
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x128], eax
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x6c]
call fcn.00478590
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add esi, 8
mov dword [ebp - 0x38], eax
mov al, byte [edi + 8]
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x115], al
test al, al
je 0x4a56c0
mov eax, dword [edi]
mov dword [ebp - 0x104], eax
mov esi, dword [ebp - 0x120]
sub esi, dword [ebp - 0x150]
sub esi, ecx
cmp byte [edi + 9], 0
mov dword [ebp - 0x24], esi
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x4a5717
sub eax, esi
mov esi, dword [ebp - 0x134]
add eax, dword [ebp - 0x134]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x134], eax
jmp 0x4a571d
mov dword [ebp - 0x120], esi
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x6c]
push 0
push dword [0x7a98e4]
xor edx, edx
push dword [edi]
cmp byte [ebp - 0x115], dl
push dword [eax]
mov eax, dword [ebp - 0x128]
setne dl
cmp dword [ebp - 0x58], 8
cmovae ecx, dword [ebp - 0x6c]
or edx, 0x56010000
sub eax, dword [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x12c]
sub eax, esi
push eax
push dword [ebp - 0x10c]
push esi
push edx
push ecx
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
mov esi, eax
mov eax, dword [ebp - 0x11c]
push 0
push 0x31
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x6c]
call fcn.00453390
mov esi, dword [ebp - 0x38]
add edi, 0x10
cmp edi, dword [ebp - 0x154]
jne 0x4a5692
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x54]
push eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
movaps xmm0, xmmword [0x775e30]
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
movups xmmword [ebp - 0x7c], xmm0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x108]
add eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x114]
add eax, dword [ebp - 0x54]
push eax
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
push ecx
mov ecx, esi
call fcn.004a4150
mov edi, dword [ebp - 0x124]
cmp dword [edi + 0x268], 0
je 0x4a58d4
push 0xc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xb
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movzx ecx, word [edi + 0x268]
push 0x8000
push esi
push eax
push 1
push ecx
push dword [0x7a98e8]
call dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
je 0x4a588e
push eax
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movzx ecx, word [edi + 0x268]
push 0x8000
push esi
push eax
push 1
push ecx
push dword [0x7a98e8]
call dword [sym.imp.USER32.dll_LoadImageW]
lea esi, [edi + 4]
test eax, eax
je 0x4a58d4
push eax
push 0
push 0x80
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x4a58ee
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
push dword [edi + 0x1bc]
mov dword [ebp - 0x10c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a5943
cmp dword [edi + 0x1d0], 0
je 0x4a5935
push 3
push 0
push 0
push 0
push 0
push dword [esi]
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x1bc]
mov dword [ebp - 0x10c], eax
jmp 0x4a5943
push 0
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [edi + 0x23c]
cmp esi, dword [edi + 0x238]
je 0x4a599c
mov eax, dword [ebp - 0x11c]
add esi, 0xfffffff0
push dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a598e
push 3
push 0
push 0
push 0
push 0
push dword [ebp - 0x10c]
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x10c], edi
mov edi, dword [ebp - 0x124]
cmp esi, dword [edi + 0x238]
jne 0x4a5951
cmp byte [edi + 0x270], 0
je 0x4a59be
push 0
push 0xf060
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
mov edx, dword [ebp - 0x130]
test edx, edx
je 0x4a59f7
mov ecx, dword [ebp - 0x110]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4a59ed
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5a31
push ecx
push edx
call fcn.00611704
add esp, 8
push dword [ebp - 0x13c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006116c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 0x80004005
call fcn.0046abb0
call fcn.00655e38
int3