Function at 0x444f9b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
push edi
lea edi, [esp + 0x18]
lea esi, [esp + 0x14]
mov eax, 0x4914d0
call 0x48409f
test al, al
jne 0x444fc7
xor eax, eax
jmp 0x4455bd
mov edi, dword [esp + 0x14]
mov eax, dword [0x491530]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [0x491544]
mov eax, dword [eax + esi*4]
mov ebx, dword [eax]
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
mov al, byte [ebx + 0x88]
mov byte [esp + 0x23], al
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [ebp + 8], eax
jge 0x445005
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
and eax, 0x100
mov dword [esp + 0x18], eax
je 0x445024
mov ecx, esi
mov eax, edi
call 0x484c8d
mov dword [esp + 0x10], 1
test dword [ebp + 8], 0x800
je 0x445048
push 0x13
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x10], 1
movzx eax, byte [esp + 0x23]
cmp eax, 0x14
jg 0x445382
je 0x4452a7
cmp eax, 9
je 0x44525d
cmp eax, 0xb
je 0x445212
cmp eax, 0xc
je 0x444fc0
cmp eax, 0xd
jle 0x4454b0
cmp eax, 0xf
jle 0x445143
cmp eax, 0x11
jne 0x4454b0
push 0xfffffffffffffff0
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x5c], eax
mov al, byte [ebp + 8]
and al, 1
movsx eax, al
neg eax
sbb eax, eax
mov ecx, 0x1000
and eax, ecx
add eax, ecx
test dword [ebp + 8], 0x200
mov dword [esp + 0x58], 8
mov dword [esp + 0x64], 0xf010
mov dword [esp + 0x60], eax
je 0x4450dd
or eax, 0x10
mov dword [esp + 0x60], eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x58]
push eax
push 0
push 0x113f
push dword [ebx + 0x30]
call esi
test dword [ebp + 8], 0x400
je 0x44510c
push dword [ebx + 0xc]
push 2
push 0x1102
push dword [ebx + 0x30]
call esi
cmp dword [esp + 0x18], 0
je 0x4453b0
mov edi, dword [ebx + 0x30]
mov ecx, 0x4914d0
call 0x484042
mov ecx, eax
mov eax, dword [esp + 0x14]
call 0x484da0
push dword [ebx + 0xc]
push 9
push 0x110b
push dword [ebx + 0x30]
call esi
jmp 0x4453b0
mov edi, dword [sym.imp.USER32.dll_GetMenuItemInfoW]
and dword [esp + 0x10], 0
lea eax, [esp + 0x28]
push eax
push 0
push esi
push dword [ebx + 8]
mov dword [esp + 0x38], 0x30
mov dword [esp + 0x3c], 1
call edi
test eax, eax
je 0x444fc0
mov al, byte [ebp + 8]
test al, 0x20
jne 0x444fc0
test al, al
jns 0x44518a
mov dword [esp + 0x10], 3
test al, 1
je 0x445193
or dword [esp + 0x10], 8
cmp dword [esp + 0x18], 0
je 0x4451a2
or dword [esp + 0x10], 0x80
test byte [esp + 0x34], 8
je 0x4451b2
test al, 4
jne 0x4451b2
or dword [esp + 0x10], 8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
push 0
push esi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
test dword [ebp + 8], 0x200
je 0x4451d9
push 0
push esi
jmp 0x4451f8
lea eax, [esp + 0x28]
push eax
push 0
push esi
push dword [ebx + 8]
call edi
test eax, eax
je 0x445201
test dword [esp + 0x34], 0x1000
je 0x445201
push 0
push 0xffffffffffffffff
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov eax, dword [esp + 0x24]
push dword [eax]
call dword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x4453b0
test byte [ebp + 8], 0x10
je 0x4454b0
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x18c], 0
movzx eax, byte [ebx + 0x8b]
je 0x44523c
mov edx, dword [ecx + 0x188]
mov dword [ecx + 0x184], edx
push eax
mov edi, ecx
mov esi, 0x4914d0
call 0x48ac70
movzx eax, byte [ebx + 0x8b]
mov ecx, edi
mov dword [ecx + 0x188], eax
jmp 0x4453b0
mov eax, dword [ebp + 8]
and eax, 7
sub eax, 0
je 0x445287
dec eax
je 0x445279
push 0
push 0
push 0x467
jmp 0x4453d4
push 0xffff0000
push 0xffffffffffffffff
push 0x465
jmp 0x445290
push 0
push 0
push 0x466
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4454b0
jmp 0x4453b0
mov ebx, dword [ebx + 0x30]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and dword [esp + 0x10], 0
lea eax, [esp + 0x80]
push eax
push 0xffffffffffffffff
push 0x1053
push ebx
mov dword [esp + 0x90], 1
mov dword [esp + 0x98], esi
call edi
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x444fc0
and dword [esp + 0x30], 0
push 0xffffffffffffffec
push ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 8
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, 0x2000
test al, 4
je 0x44533d
test byte [ebp + 8], 5
je 0x44533d
mov eax, dword [ebp + 8]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffff000
add eax, esi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x104c
push ebx
mov dword [esp + 0x48], 0xf000
call edi
mov dword [esp + 0x10], eax
test dword [ebp + 8], 0x2100
je 0x4455b9
cmp dword [esp + 0x18], 0
je 0x445356
or dword [esp + 0x34], 0xffffffff
test dword [ebp + 8], esi
je 0x445360
and dword [esp + 0x34], 0
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x40], 3
push 0x102b
push ebx
call edi
mov dword [esp + 0x10], eax
jmp 0x4455b9
sub eax, 0x16
je 0x445416
dec eax
dec eax
je 0x4453e0
dec eax
je 0x4453bd
dec eax
jne 0x4454b0
mov eax, dword [ebp + 8]
and eax, 7
je 0x4454b0
and eax, 3
push eax
mov eax, esi
call 0x487f07
mov dword [esp + 0x10], 1
jmp 0x4454b0
mov eax, dword [ebp + 8]
and eax, 7
je 0x4454b0
push 0
and eax, 3
push eax
push 0xf1
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4453b0
test dword [ebp + 8], 0x200
je 0x4454b0
mov eax, dword [esp + 0x24]
push 0
push esi
push 0x401
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebx]
jne 0x4453b0
mov ecx, esi
mov eax, edi
call 0x485085
jmp 0x4453b0
mov ecx, dword [0x491554]
push 3
pop esi
cmp ecx, esi
jl 0x4454b0
mov eax, dword [0x491544]
mov eax, dword [eax + esi*4]
cmp dword [eax], 0
je 0x445452
mov eax, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x24]
cmp edx, dword [edi + 4]
jne 0x445452
cmp byte [eax + 0x88], 3
jne 0x445452
mov eax, dword [eax]
cmp eax, dword [ebx + 0x30]
je 0x445459
inc esi
cmp esi, ecx
jle 0x445427
jmp 0x4454b0
mov al, byte [ebx + 0x8a]
test byte [ebp + 8], al
jne 0x4454b0
test al, 0x10
je 0x4454b0
mov eax, dword [0x491544]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
movsx ecx, word [eax + 0x86]
push 0
push ecx
movsx ecx, word [eax + 0x84]
push ecx
movsx ecx, word [eax + 0x82]
push ecx
movsx ecx, word [eax + 0x80]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push dword [ebx + 0x30]
push 0x469
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 8]
and eax, 0x10f8
mov dword [esp + 0x14], eax
jle 0x4455b9
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
test byte [esp + 0x14], 0x80
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], eax
mov esi, 0xc0
je 0x4454ef
push eax
push dword [esp + 0x20]
mov dword [esp + 0x20], esi
call edi
mov eax, esi
test byte [esp + 0x14], 0x40
je 0x445504
push 1
push dword [esp + 0x20]
mov dword [esp + 0x20], esi
call edi
mov eax, esi
mov edx, dword [esp + 0x14]
and edx, 0x20
je 0x445510
add eax, 0x30
mov ecx, dword [esp + 0x14]
and ecx, 0x10
mov dword [esp + 0x18], ecx
je 0x445520
add eax, 0x30
test byte [esp + 0x14], 8
mov esi, 0x1008
je 0x44552e
add eax, esi
test dword [esp + 0x14], 0x1000
je 0x44553a
add eax, esi
not al
and al, byte [ebx + 0x8a]
or al, byte [esp + 0x14]
mov byte [ebx + 0x8a], al
mov al, byte [ebx + 0x8b]
cmp al, 0xff
je 0x44556c
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x184]
movzx eax, al
cmp eax, ecx
je 0x44556c
cmp ecx, 0xffffffff
jne 0x4455b9
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test edx, edx
je 0x44557e
push 0
push dword [esp + 0x20]
call esi
cmp dword [esp + 0x18], 0
je 0x4455a5
push 4
push dword [esp + 0x20]
call esi
cmp byte [esp + 0x23], 0x1a
jne 0x4455a5
test byte [ebx + 0x8a], 0x40
je 0x4455a5
push 1
push dword [esp + 0x20]
call edi
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x39], 0
jne 0x4455b9
push 1
push ebx
mov esi, eax
call 0x48470a
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4