Function at 0x44053e
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
push edi
lea edi, [esp + 0x14]
lea esi, [esp + 0x10]
mov eax, 0x48a008
call fcn.0043b7e2
test al, al
jne 0x44056a
xor eax, eax
jmp 0x440b32
mov edi, dword [esp + 0x10]
mov eax, dword [0x48a064]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [0x48a078]
mov eax, dword [eax + esi*4]
mov ebx, dword [eax]
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
mov al, byte [ebx + 0x70]
mov byte [esp + 0x23], al
xor eax, eax
cmp dword [ebp + 8], eax
mov dword [esp + 0xc], eax
jge 0x4405a5
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
and eax, 0x100
mov dword [esp + 0x14], eax
je 0x4405c4
mov ecx, esi
mov eax, edi
call fcn.0043c387
mov dword [esp + 0xc], 1
test word [ebp + 8], 0x800
je 0x4405e7
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 + 0xc], 1
movzx eax, byte [esp + 0x23]
cmp eax, 0x14
jg 0x44091b
je 0x440841
cmp eax, 9
je 0x4407f7
cmp eax, 0xb
je 0x4407b2
cmp eax, 0xc
je 0x440563
cmp eax, 0xd
jle 0x440a32
cmp eax, 0xf
jle 0x4406e5
cmp eax, 0x11
jne 0x440a32
push 0xfffffffffffffff0
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov cl, byte [ebp + 8]
mov eax, dword [ebx + 0xc]
and cl, 1
neg cl
mov dword [esp + 0x7c], eax
mov eax, 0x1000
mov dword [esp + 0x78], 8
mov dword [esp + 0x84], 0xf010
sbb ecx, ecx
and ecx, eax
add ecx, eax
test word [ebp + 8], 0x200
mov dword [esp + 0x80], ecx
je 0x440680
or dword [esp + 0x80], 0x10
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x78]
push eax
push 0
push 0x113f
push dword [ebx + 0x28]
call esi
test word [ebp + 8], 0x400
je 0x4406ae
push dword [ebx + 0xc]
push 2
push 0x1102
push dword [ebx + 0x28]
call esi
cmp dword [esp + 0x14], 0
je 0x440949
mov edi, dword [ebx + 0x28]
mov ecx, 0x48a008
call fcn.0043b629
mov ecx, eax
mov eax, dword [esp + 0x10]
call fcn.0043c387
push dword [ebx + 0xc]
push 9
push 0x110b
push dword [ebx + 0x28]
call esi
jmp 0x440949
mov edi, dword [sym.imp.USER32.dll_GetMenuItemInfoW]
and dword [esp + 0xc], 0
lea eax, [esp + 0x4c]
push eax
push 0
push esi
push dword [ebx + 8]
mov dword [esp + 0x5c], 0x2c
mov dword [esp + 0x60], 1
call edi
test eax, eax
je 0x440563
mov al, byte [ebp + 8]
test al, 0x20
jne 0x440563
test al, al
jns 0x44072c
mov dword [esp + 0xc], 3
test al, 1
je 0x440735
or dword [esp + 0xc], 8
cmp dword [esp + 0x14], 0
je 0x440744
or dword [esp + 0xc], 0x80
test byte [esp + 0x58], 8
je 0x440754
test al, 4
jne 0x440754
or dword [esp + 0xc], 8
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
push 0
push esi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
test word [ebp + 8], 0x200
je 0x44077a
push 0
push esi
jmp 0x440798
lea eax, [esp + 0x4c]
push eax
push 0
push esi
push dword [ebx + 8]
call edi
test eax, eax
je 0x4407a1
test word [esp + 0x58], 0x1000
je 0x4407a1
push 0
push 0xffffffffffffffff
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov eax, dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x440949
test byte [ebp + 8], 0x10
je 0x440a32
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x148], 0
movzx eax, byte [ebx + 0x73]
je 0x4407d9
mov edx, dword [ecx + 0x144]
mov dword [ecx + 0x140], edx
push eax
mov edi, ecx
mov esi, 0x48a008
call fcn.00441b66
movzx eax, byte [ebx + 0x73]
mov ecx, edi
mov dword [ecx + 0x144], eax
jmp 0x440949
mov eax, dword [ebp + 8]
and eax, 7
sub eax, 0
je 0x440821
dec eax
je 0x440813
push 0
push 0
push 0x467
jmp 0x44096d
push 0xffff0000
push 0xffffffffffffffff
push 0x465
jmp 0x44082a
push 0
push 0
push 0x466
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x440a32
jmp 0x440949
mov ebx, dword [ebx + 0x28]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and dword [esp + 0x10], 0
lea eax, [esp + 0xa0]
push eax
push 0xffffffffffffffff
push 0x1053
push ebx
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb8], esi
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x440563
and dword [esp + 0x2c], 0
push 0xffffffffffffffec
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 8
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
mov esi, 0x2000
je 0x4408d7
test byte [ebp + 8], 5
je 0x4408d7
mov eax, dword [ebp + 8]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffff000
add eax, esi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x104c
push ebx
mov dword [esp + 0x44], 0xf000
call edi
mov dword [esp + 0x10], eax
test word [ebp + 8], 0x2100
je 0x440912
cmp dword [esp + 0x14], 0
je 0x4408eb
or dword [esp + 0x30], 0xffffffff
test dword [ebp + 8], esi
je 0x4408f5
and dword [esp + 0x30], 0
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x3c], 3
push 0x102b
push ebx
call edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
jmp 0x440b32
sub eax, 0x16
je 0x4409ae
dec eax
dec eax
je 0x440979
dec eax
je 0x440956
dec eax
jne 0x440a32
mov eax, dword [ebp + 8]
and eax, 7
je 0x440a32
and eax, 3
push eax
mov eax, esi
call fcn.0043efe9
mov dword [esp + 0xc], 1
jmp 0x440a32
mov eax, dword [ebp + 8]
and eax, 7
je 0x440a32
push 0
and eax, 3
push eax
push 0xf1
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x440949
test word [ebp + 8], 0x200
je 0x440a32
mov eax, dword [esp + 0x18]
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 0x440949
mov ecx, esi
mov eax, edi
call fcn.0043c387
jmp 0x440949
mov ecx, dword [0x48a088]
push 3
pop esi
cmp ecx, esi
jl 0x440a32
mov eax, dword [0x48a078]
mov eax, dword [eax + esi*4]
cmp dword [eax], 0
je 0x4409e3
mov eax, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x18]
cmp edx, dword [edi + 4]
jne 0x4409e3
cmp byte [eax + 0x70], 3
jne 0x4409e3
mov eax, dword [eax]
cmp eax, dword [ebx + 0x28]
je 0x4409ea
inc esi
cmp esi, ecx
jle 0x4409bb
jmp 0x440a32
mov al, byte [ebx + 0x72]
test byte [ebp + 8], al
jne 0x440a32
test al, 0x10
je 0x440a32
mov eax, dword [0x48a078]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
movsx ecx, word [eax + 0x6e]
push 0
push ecx
movsx ecx, word [eax + 0x6c]
push ecx
movsx ecx, word [eax + 0x6a]
push ecx
movsx ecx, word [eax + 0x68]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push dword [ebx + 0x28]
push 0x469
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 8]
and eax, 0x10f8
mov dword [esp + 0x10], eax
jle 0x440b2e
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
test byte [esp + 0x10], 0x80
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov esi, 0xc0
je 0x440a71
push eax
push dword [esp + 0x20]
mov dword [esp + 0x1c], esi
call edi
mov eax, esi
test byte [esp + 0x10], 0x40
je 0x440a86
push 1
push dword [esp + 0x20]
mov dword [esp + 0x1c], esi
call edi
mov eax, esi
mov edx, dword [esp + 0x10]
and edx, 0x20
je 0x440a92
add eax, 0x30
mov ecx, dword [esp + 0x10]
and ecx, 0x10
mov dword [esp + 0x14], ecx
je 0x440aa2
add eax, 0x30
test byte [esp + 0x10], 8
mov esi, 0x1008
je 0x440ab0
add eax, esi
test word [esp + 0x10], 0x1000
je 0x440abb
add eax, esi
not al
and al, byte [ebx + 0x72]
or al, byte [esp + 0x10]
mov byte [ebx + 0x72], al
mov al, byte [ebx + 0x73]
cmp al, 0xff
je 0x440ae4
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x140]
movzx eax, al
cmp eax, ecx
je 0x440ae4
cmp ecx, 0xffffffff
jne 0x440b2e
test edx, edx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x440af6
push 0
push dword [esp + 0x20]
call esi
cmp dword [esp + 0x14], 0
je 0x440b1a
push 4
push dword [esp + 0x20]
call esi
cmp byte [esp + 0x23], 0x1a
jne 0x440b1a
test byte [ebx + 0x72], 0x40
je 0x440b1a
push 1
push dword [esp + 0x20]
call edi
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x31], 0
jne 0x440b2e
push 1
push ebx
mov esi, eax
call fcn.0043b850
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4