Function at 0x4454c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa345
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x4e3050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
mov edi, dword [ebp + 0x18]
jne 0x445cf5
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x110
jne 0x445536
sub esp, 8
mov dword [ebx + 0x8c], 1
mov ecx, ebx
call fcn.00446940
mov dword [edi], eax
cmp dword [ebx + 0x8c], 0
jne 0x445cda
mov eax, dword [ebx + 0x70]
lea esi, [ebx + 0x70]
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0x1c], eax
jmp 0x445b1a
mov edi, dword [ebp + 0x14]
cmp ecx, 2
jne 0x445573
mov ecx, ebx
mov dword [ebx + 0x8c], 1
call fcn.00447310
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
cmp dword [ebx + 0x8c], 0
jne 0x445cda
mov eax, dword [ebx + 0x70]
lea esi, [ebx + 0x70]
mov dword [ebp + 0x1c], eax
jmp 0x445bc9
cmp ecx, 0x4e
jne 0x4458c4
mov eax, dword [edi + 8]
cmp eax, 0xffffff9b
jne 0x4456ff
mov ecx, ebx
call fcn.00448510
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 0x1ac]
call esi
cmp eax, 0xffffffff
jne 0x4455de
push 0x4c3098
push dword [ebx + 0x1d4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp - 0x64], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x68]
movlpd qword [ebp - 0x60], xmm0
push eax
push 0
push 0x104b
push dword [ebx + 0x1ac]
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x68], 4
call esi
xor edi, edi
test eax, eax
cmovne edi, dword [ebp - 0x48]
test edi, edi
je 0x445ae3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x445ae3
lea esi, [ebx + 0x210]
mov ecx, edi
push esi
lea eax, [ebx + 0x24c]
push eax
lea eax, [ebx + 0x248]
push eax
lea eax, [ebx + 0x244]
push eax
lea eax, [ebx + 0x23c]
push eax
lea eax, [ebx + 0x238]
push eax
lea eax, [ebx + 0x234]
push eax
call fcn.0045b790
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [eax - 0xc]
push eax
push 0
push 0x435
push dword [ebx + 0x1d4]
mov dword [ebp - 0x1c], eax
call edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 2
push 0x449
push dword [ebx + 0x1d4]
mov dword [ebp - 0x24], 0x419ae0
call edi
push dword [ebx + 0x1d4]
mov ecx, esi
call fcn.00452190
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xffffff9c
jne 0x44572c
push ecx
push edi
push ecx
mov ecx, ebx
call fcn.00447ed0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xfffffffd
jne 0x4457a0
mov eax, dword [edi + 0xc]
test eax, eax
js 0x445ae3
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
push 0xf000
push eax
push 0x102c
push dword [ebx + 0x1ac]
movlpd qword [ebp - 0x68], xmm0
mov dword [ebp - 0x60], 0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
call esi
and eax, 0xfffff000
mov ecx, 0x1000
cmp eax, ecx
mov edx, 0x2000
lea eax, [ebp - 0x68]
cmove ecx, edx
push eax
push dword [edi + 0xc]
mov dword [ebp - 0x5c], ecx
jmp 0x445acf
cmp eax, 0x70b
jne 0x4457e5
cmp dword [edi + 0xc], 0x202
jne 0x445ae3
lea eax, [edi + 0x18]
push eax
lea ecx, [ebx + 0x210]
call fcn.00452330
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xffffff4f
jne 0x445b05
cmp byte [ebx + 0x25c], 0
jne 0x44580f
mov eax, dword [ebp + 0x18]
lea esi, [ebx + 0x70]
mov dword [eax], 0
mov eax, dword [esi]
mov dword [ebp + 0x1c], eax
jmp 0x445c18
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x4457f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x4457f9
mov eax, dword [esi + 0xc]
lea edx, [esi + 0xc]
mov dword [ebp + 0x14], edx
cmp dword [eax - 0xc], 0
jne 0x44583c
mov edx, dword [ebx + 0xa4]
add edx, 0x34
mov dword [ebp + 0x14], edx
xor esi, esi
cmp dword [ebx + 0x268], esi
jle 0x4457f9
nop word [eax + eax]
mov eax, dword [ebx + 0x260]
lea ecx, [eax + esi*4]
call fcn.0040f410
test al, al
jne 0x445870
mov edx, dword [ebp + 0x14]
inc esi
cmp esi, dword [ebx + 0x268]
jl 0x445850
jmp 0x4457f9
cmp esi, 0xffffffff
je 0x4457f9
or dword [edi + 0xc], 0x100
xor eax, eax
mov edx, dword [ebx + 0x268]
test edx, edx
jle 0x44589c
mov ecx, dword [ebx + 0x264]
nop
cmp dword [ecx], esi
je 0x44589f
inc eax
add ecx, 4
cmp eax, edx
jl 0x445890
or eax, 0xffffffff
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x7b
jne 0x445a2e
mov eax, dword [ebp + 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp + 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0x1ac]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x18]
lea ecx, [ebx + 0x1ac]
push dword [ebp - 0x1c]
call fcn.00448d30
test eax, eax
js 0x445ae3
push 0xf000
push eax
push 0x102c
push dword [ebx + 0x1ac]
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xc
mov dword [ebp + 0x14], eax
test eax, eax
je 0x445ae3
mov dword [ebp + 0x10], 0
mov dword [ebp - 4], 0
push 0x6f
push dword [0x4e4488]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, eax
lea eax, [ebp + 0xc]
push ecx
push eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], esi
call fcn.00448da0
mov byte [ebp - 4], 1
push dword [ebx + 0x224]
mov edi, dword [sym.imp.USER32.dll_ModifyMenuW]
push 0x9c44
push 0x400
push 0
push dword [ebp + 0xc]
call edi
push dword [ebx + 0x228]
push 0x9c45
push 0
push 0x9c45
push dword [ebp + 0xc]
call edi
cmp dword [ebp + 0x14], 2
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
jne 0x4459b7
push 1
push 0x9c44
push dword [ebp + 0xc]
call edi
push 0
jmp 0x4459c5
push 0
push 0x9c44
push dword [ebp + 0xc]
call edi
push 1
push 0x9c45
push dword [ebp + 0xc]
call edi
push 0
push dword [ebx + 4]
push 0
push dword [ebp + 0x1c]
push dword [ebp - 0x10]
push 0x42
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x445ae3
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
test eax, eax
je 0x445ae3
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], 0
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x111
jne 0x445b05
mov eax, dword [ebp + 0x10]
mov esi, 0x9c44
movzx eax, ax
mov edx, eax
cmp si, ax
jne 0x445a71
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 0x1ac]
call esi
cmp eax, 0xffffffff
je 0x445ae3
mov dword [ebp - 0x5c], 0x2000
jmp 0x445aa2
mov eax, 0x9c45
cmp ax, dx
jne 0x445b05
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 0x1ac]
call esi
cmp eax, 0xffffffff
je 0x445ae3
mov dword [ebp - 0x5c], 0x1000
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x68]
movlpd qword [ebp - 0x34], xmm0
push ecx
push eax
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x68], xmm0
push 0x102b
push dword [ebx + 0x1ac]
mov dword [ebp - 0x58], 0xf000
call esi
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebx + 0x70]
lea esi, [ebx + 0x70]
mov dword [ebp + 0x1c], edx
cmp ecx, 0x110
jne 0x445bc4
cmp byte [ebx + 0x75], 0
mov dword [esi], 1
je 0x445b36
push 1
push str.IsExterior
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [ebx + 0x74], 0
je 0x445b58
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [ebx + 0x50]
call fcn.0044a680
mov eax, dword [ebp + 0x18]
mov dword [esi], 0
mov dword [eax], 0
cmp dword [esi], 0
jne 0x445bf1
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0x50]
mov dword [ebp + 0xc], eax
cmp ecx, 5
jne 0x445caf
xor ecx, ecx
test eax, eax
cmove ebx, ecx
cmp byte [eax + 0x1c], cl
je 0x445c8f
push 0xe801
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
jne 0x445c80
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x445c97
cmp ecx, 2
jne 0x445c0f
push str.IsExterior
push dword [ebx + 4]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov eax, dword [ebp + 0x18]
mov dword [esi], 0
mov dword [eax], 0
cmp dword [esi], 0
je 0x445b77
mov eax, dword [ebp + 0x1c]
mov dword [esi], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x4e
jne 0x445b7d
cmp dword [edi + 8], 0xffffff38
jne 0x445c3d
mov eax, dword [ebx + 4]
mov dword [edi + 0xc], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push dword [ebp + 0x10]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 1
push eax
push edi
sub esp, 8
mov ecx, ebx
call fcn.00449a30
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x445b77
mov eax, dword [ebp + 0x1c]
mov dword [esi], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test ecx, ecx
jne 0x445c92
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x445c97
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
je 0x445caa
mov eax, edi
lea ecx, [ebx + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, di
push eax
call fcn.0044a9f0
mov edx, dword [ebp + 0x1c]
jmp 0x445ccf
cmp ecx, 0x24
jne 0x445cf3
cmp dword [eax + 0x14], 0xffffffff
je 0x445ccf
cmp dword [eax + 0x18], 0xffffffff
je 0x445ccf
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov dword [esi], edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi], edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18