Function at 0x4400e6
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, 0x47def8
call fcn.0043b3ec
test al, al
jne 0x440112
xor eax, eax
jmp 0x4406da
mov edi, dword [esp + 0x10]
mov eax, dword [0x47df54]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [0x47df68]
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 0x44014d
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
and eax, 0x100
mov dword [esp + 0x14], eax
je 0x44016c
mov ecx, esi
mov eax, edi
call fcn.0043bf6f
mov dword [esp + 0xc], 1
test word [ebp + 8], 0x800
je 0x44018f
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 0x4404c3
je 0x4403e9
cmp eax, 9
je 0x44039f
cmp eax, 0xb
je 0x44035a
cmp eax, 0xc
je 0x44010b
cmp eax, 0xd
jle 0x4405da
cmp eax, 0xf
jle 0x44028d
cmp eax, 0x11
jne 0x4405da
push 0xfffffffffffffff0
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_GetWindowLongA]
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 0x440228
or dword [esp + 0x80], 0x10
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x78]
push eax
push 0
push 0x110d
push dword [ebx + 0x28]
call esi
test word [ebp + 8], 0x400
je 0x440256
push dword [ebx + 0xc]
push 2
push 0x1102
push dword [ebx + 0x28]
call esi
cmp dword [esp + 0x14], 0
je 0x4404f1
mov edi, dword [ebx + 0x28]
mov ecx, 0x47def8
call fcn.0043b233
mov ecx, eax
mov eax, dword [esp + 0x10]
call fcn.0043bf6f
push dword [ebx + 0xc]
push 9
push 0x110b
push dword [ebx + 0x28]
call esi
jmp 0x4404f1
mov edi, dword [sym.imp.USER32.dll_GetMenuItemInfoA]
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 0x44010b
mov al, byte [ebp + 8]
test al, 0x20
jne 0x44010b
test al, al
jns 0x4402d4
mov dword [esp + 0xc], 3
test al, 1
je 0x4402dd
or dword [esp + 0xc], 8
cmp dword [esp + 0x14], 0
je 0x4402ec
or dword [esp + 0xc], 0x80
test byte [esp + 0x58], 8
je 0x4402fc
test al, 4
jne 0x4402fc
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_SetMenuItemInfoA]
test word [ebp + 8], 0x200
je 0x440322
push 0
push esi
jmp 0x440340
lea eax, [esp + 0x4c]
push eax
push 0
push esi
push dword [ebx + 8]
call edi
test eax, eax
je 0x440349
test word [esp + 0x58], 0x1000
je 0x440349
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 0x4404f1
test byte [ebp + 8], 0x10
je 0x4405da
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x148], 0
movzx eax, byte [ebx + 0x73]
je 0x440381
mov edx, dword [ecx + 0x144]
mov dword [ecx + 0x140], edx
push eax
mov edi, ecx
mov esi, 0x47def8
call fcn.0044170a
movzx eax, byte [ebx + 0x73]
mov ecx, edi
mov dword [ecx + 0x144], eax
jmp 0x4404f1
mov eax, dword [ebp + 8]
and eax, 7
sub eax, 0
je 0x4403c9
dec eax
je 0x4403bb
push 0
push 0
push 0x464
jmp 0x440515
push 0xffff0000
push 0xffffffffffffffff
push 0x465
jmp 0x4403d2
push 0
push 0
push 0x466
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4405da
jmp 0x4404f1
mov ebx, dword [ebx + 0x28]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
and dword [esp + 0x10], 0
lea eax, [esp + 0xa0]
push eax
push 0xffffffffffffffff
push 0x100d
push ebx
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb8], esi
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x44010b
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_GetWindowLongA]
test al, 4
mov esi, 0x2000
je 0x44047f
test byte [ebp + 8], 5
je 0x44047f
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 0x1006
push ebx
mov dword [esp + 0x44], 0xf000
call edi
mov dword [esp + 0x10], eax
test word [ebp + 8], 0x2100
je 0x4404ba
cmp dword [esp + 0x14], 0
je 0x440493
or dword [esp + 0x30], 0xffffffff
test dword [ebp + 8], esi
je 0x44049d
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 0x4406da
sub eax, 0x16
je 0x440556
dec eax
dec eax
je 0x440521
dec eax
je 0x4404fe
dec eax
jne 0x4405da
mov eax, dword [ebp + 8]
and eax, 7
je 0x4405da
and eax, 3
push eax
mov eax, esi
call fcn.0043eb95
mov dword [esp + 0xc], 1
jmp 0x4405da
mov eax, dword [ebp + 8]
and eax, 7
je 0x4405da
push 0
and eax, 3
push eax
push 0xf1
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4404f1
test word [ebp + 8], 0x200
je 0x4405da
mov eax, dword [esp + 0x18]
push 0
push esi
push 0x401
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebx]
jne 0x4404f1
mov ecx, esi
mov eax, edi
call fcn.0043bf6f
jmp 0x4404f1
mov ecx, dword [0x47df78]
push 3
pop esi
cmp ecx, esi
jl 0x4405da
mov eax, dword [0x47df68]
mov eax, dword [eax + esi*4]
cmp dword [eax], 0
je 0x44058b
mov eax, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x18]
cmp edx, dword [edi + 4]
jne 0x44058b
cmp byte [eax + 0x70], 3
jne 0x44058b
mov eax, dword [eax]
cmp eax, dword [ebx + 0x28]
je 0x440592
inc esi
cmp esi, ecx
jle 0x440563
jmp 0x4405da
mov al, byte [ebx + 0x72]
test byte [ebp + 8], al
jne 0x4405da
test al, 0x10
je 0x4405da
mov eax, dword [0x47df68]
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_SendMessageA]
mov eax, dword [ebp + 8]
and eax, 0x10f8
mov dword [esp + 0x10], eax
jle 0x4406d6
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 0x440619
push eax
push dword [esp + 0x20]
mov dword [esp + 0x1c], esi
call edi
mov eax, esi
test byte [esp + 0x10], 0x40
je 0x44062e
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 0x44063a
add eax, 0x30
mov ecx, dword [esp + 0x10]
and ecx, 0x10
mov dword [esp + 0x14], ecx
je 0x44064a
add eax, 0x30
test byte [esp + 0x10], 8
mov esi, 0x1008
je 0x440658
add eax, esi
test word [esp + 0x10], 0x1000
je 0x440663
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 0x44068c
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x140]
movzx eax, al
cmp eax, ecx
je 0x44068c
cmp ecx, 0xffffffff
jne 0x4406d6
test edx, edx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x44069e
push 0
push dword [esp + 0x20]
call esi
cmp dword [esp + 0x14], 0
je 0x4406c2
push 4
push dword [esp + 0x20]
call esi
cmp byte [esp + 0x23], 0x1a
jne 0x4406c2
test byte [ebx + 0x72], 0x40
je 0x4406c2
push 1
push dword [esp + 0x20]
call edi
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x31], 0
jne 0x4406d6
push 1
push ebx
mov esi, eax
call fcn.0043b45a
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4