Function at 0x4400cb
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.0043b3bb
test al, al
jne 0x4400f7
xor eax, eax
jmp 0x4406bf
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 0x440132
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
and eax, 0x100
mov dword [esp + 0x14], eax
je 0x440151
mov ecx, esi
mov eax, edi
call fcn.0043bf3e
mov dword [esp + 0xc], 1
test word [ebp + 8], 0x800
je 0x440174
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 0x4404a8
je 0x4403ce
cmp eax, 9
je 0x440384
cmp eax, 0xb
je 0x44033f
cmp eax, 0xc
je 0x4400f0
cmp eax, 0xd
jle 0x4405bf
cmp eax, 0xf
jle 0x440272
cmp eax, 0x11
jne 0x4405bf
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 0x44020d
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 0x44023b
push dword [ebx + 0xc]
push 2
push 0x1102
push dword [ebx + 0x28]
call esi
cmp dword [esp + 0x14], 0
je 0x4404d6
mov edi, dword [ebx + 0x28]
mov ecx, 0x47def8
call fcn.0043b202
mov ecx, eax
mov eax, dword [esp + 0x10]
call fcn.0043bf3e
push dword [ebx + 0xc]
push 9
push 0x110b
push dword [ebx + 0x28]
call esi
jmp 0x4404d6
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 0x4400f0
mov al, byte [ebp + 8]
test al, 0x20
jne 0x4400f0
test al, al
jns 0x4402b9
mov dword [esp + 0xc], 3
test al, 1
je 0x4402c2
or dword [esp + 0xc], 8
cmp dword [esp + 0x14], 0
je 0x4402d1
or dword [esp + 0xc], 0x80
test byte [esp + 0x58], 8
je 0x4402e1
test al, 4
jne 0x4402e1
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 0x440307
push 0
push esi
jmp 0x440325
lea eax, [esp + 0x4c]
push eax
push 0
push esi
push dword [ebx + 8]
call edi
test eax, eax
je 0x44032e
test word [esp + 0x58], 0x1000
je 0x44032e
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 0x4404d6
test byte [ebp + 8], 0x10
je 0x4405bf
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x148], 0
movzx eax, byte [ebx + 0x73]
je 0x440366
mov edx, dword [ecx + 0x144]
mov dword [ecx + 0x140], edx
push eax
mov edi, ecx
mov esi, 0x47def8
call fcn.004416ef
movzx eax, byte [ebx + 0x73]
mov ecx, edi
mov dword [ecx + 0x144], eax
jmp 0x4404d6
mov eax, dword [ebp + 8]
and eax, 7
sub eax, 0
je 0x4403ae
dec eax
je 0x4403a0
push 0
push 0
push 0x464
jmp 0x4404fa
push 0xffff0000
push 0xffffffffffffffff
push 0x465
jmp 0x4403b7
push 0
push 0
push 0x466
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4405bf
jmp 0x4404d6
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 0x4400f0
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 0x440464
test byte [ebp + 8], 5
je 0x440464
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 0x44049f
cmp dword [esp + 0x14], 0
je 0x440478
or dword [esp + 0x30], 0xffffffff
test dword [ebp + 8], esi
je 0x440482
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 0x4406bf
sub eax, 0x16
je 0x44053b
dec eax
dec eax
je 0x440506
dec eax
je 0x4404e3
dec eax
jne 0x4405bf
mov eax, dword [ebp + 8]
and eax, 7
je 0x4405bf
and eax, 3
push eax
mov eax, esi
call fcn.0043eb7a
mov dword [esp + 0xc], 1
jmp 0x4405bf
mov eax, dword [ebp + 8]
and eax, 7
je 0x4405bf
push 0
and eax, 3
push eax
push 0xf1
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4404d6
test word [ebp + 8], 0x200
je 0x4405bf
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 0x4404d6
mov ecx, esi
mov eax, edi
call fcn.0043bf3e
jmp 0x4404d6
mov ecx, dword [0x47df78]
push 3
pop esi
cmp ecx, esi
jl 0x4405bf
mov eax, dword [0x47df68]
mov eax, dword [eax + esi*4]
cmp dword [eax], 0
je 0x440570
mov eax, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x18]
cmp edx, dword [edi + 4]
jne 0x440570
cmp byte [eax + 0x70], 3
jne 0x440570
mov eax, dword [eax]
cmp eax, dword [ebx + 0x28]
je 0x440577
inc esi
cmp esi, ecx
jle 0x440548
jmp 0x4405bf
mov al, byte [ebx + 0x72]
test byte [ebp + 8], al
jne 0x4405bf
test al, 0x10
je 0x4405bf
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 0x4406bb
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 0x4405fe
push eax
push dword [esp + 0x20]
mov dword [esp + 0x1c], esi
call edi
mov eax, esi
test byte [esp + 0x10], 0x40
je 0x440613
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 0x44061f
add eax, 0x30
mov ecx, dword [esp + 0x10]
and ecx, 0x10
mov dword [esp + 0x14], ecx
je 0x44062f
add eax, 0x30
test byte [esp + 0x10], 8
mov esi, 0x1008
je 0x44063d
add eax, esi
test word [esp + 0x10], 0x1000
je 0x440648
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 0x440671
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x140]
movzx eax, al
cmp eax, ecx
je 0x440671
cmp ecx, 0xffffffff
jne 0x4406bb
test edx, edx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x440683
push 0
push dword [esp + 0x20]
call esi
cmp dword [esp + 0x14], 0
je 0x4406a7
push 4
push dword [esp + 0x20]
call esi
cmp byte [esp + 0x23], 0x1a
jne 0x4406a7
test byte [ebx + 0x72], 0x40
je 0x4406a7
push 1
push dword [esp + 0x20]
call edi
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x31], 0
jne 0x4406bb
push 1
push ebx
mov esi, eax
call fcn.0043b429
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4