Function at 0x431969
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov ebx, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
call fcn.0042bec0
test al, al
je 0x431b1a
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.0042bcdb
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
mov edi, dword [ebx + eax*4 + 0x848]
mov dword [ebp - 0x20], edi
mov esi, dword [edi + ecx*4 + 0x44]
mov edx, dword [esi]
mov dword [ebp - 8], edx
mov dl, byte [esi + 0x78]
mov byte [ebp - 9], dl
xor edx, edx
cmp dword [ebp + 0xc], edx
mov dword [ebp - 4], edx
jge 0x4319ce
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 0xc]
and edx, 0x100
mov dword [ebp - 0x14], edx
je 0x4319ed
push ecx
push eax
mov ecx, ebx
call fcn.0042d8a1
push 1
pop ebx
mov dword [ebp - 4], ebx
jmp 0x4319f0
push 1
pop ebx
test byte [ebp + 0xd], 8
je 0x431a0b
xor eax, eax
push 0x13
push eax
push eax
push eax
push eax
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 4], ebx
movzx eax, byte [ebp - 9]
cmp eax, 0x14
jg 0x431c93
je 0x431c27
cmp eax, 9
je 0x431bde
cmp eax, 0xb
je 0x431ba5
cmp eax, 0xc
je 0x431b1a
cmp eax, 0xd
jle 0x431da1
cmp eax, 0xf
jle 0x431af6
cmp eax, 0x11
jne 0x431da1
push 0xfffffffffffffff0
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 8]
and cl, 1
mov dword [ebp - 0x70], eax
neg cl
sbb ecx, ecx
mov eax, 0x1000
and ecx, eax
mov dword [ebp - 0x74], 8
add ecx, eax
mov dword [ebp - 0x68], 0xf010
test byte [ebp + 0xd], 2
mov dword [ebp - 0x6c], ecx
je 0x431a93
or dword [ebp - 0x6c], 0x10
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x74]
push eax
push 0
push 0x110d
push dword [esi + 0x24]
call edi
test byte [ebp + 0xd], 4
je 0x431abe
push dword [esi + 8]
push 2
push 0x1102
push dword [esi + 0x24]
call edi
cmp dword [ebp - 0x14], 0
je 0x431c16
push dword [esi + 0x24]
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.0042bca0
mov ecx, dword [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call fcn.0042d8a1
push dword [esi + 8]
push 9
push 0x110b
push dword [esi + 0x24]
call edi
jmp 0x431c16
lea eax, [ebp - 0x4c]
and dword [ebp - 4], 0
push eax
push 0
push dword [ebp + 8]
mov dword [ebp - 0x4c], 0x2c
mov dword [ebp - 0x48], ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
jne 0x431b21
xor eax, eax
jmp 0x431e4c
mov eax, dword [ebp + 0xc]
test al, 0x80
je 0x431b2d
push 3
pop ecx
jmp 0x431b30
mov ecx, dword [ebp - 4]
test al, 1
je 0x431b37
or ecx, 8
and eax, 4
cmp dword [ebp - 0x14], 0
je 0x431b43
or cl, 0x80
test byte [ebp - 0x40], 8
je 0x431b50
test eax, eax
jne 0x431b50
or ecx, 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
push eax
push 0
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
test byte [ebp + 0xd], 2
je 0x431b72
push 0
push dword [ebp + 8]
jmp 0x431b92
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
je 0x431b9b
test byte [ebp - 0x3f], 0x10
je 0x431b9b
push 0
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
push dword [edi]
call dword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x431c16
test byte [ebp + 0xc], 0x10
je 0x431da1
cmp byte [edi + 0x414c], 0
movzx eax, byte [esi + 0x7a]
je 0x431bc8
mov ecx, dword [edi + 0x4148]
mov dword [edi + 0x4144], ecx
mov ecx, dword [ebp - 0x10]
push eax
push edi
call fcn.00432e2e
movzx eax, byte [esi + 0x7a]
mov dword [edi + 0x4148], eax
jmp 0x431c16
mov eax, dword [ebp + 0xc]
xor ecx, ecx
and eax, 7
sub eax, ecx
je 0x431c1e
dec eax
je 0x431bf9
push ecx
push ecx
push 0x464
jmp 0x431ce2
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x431da1
mov dword [ebp - 4], ebx
jmp 0x431da1
push ecx
push ecx
push 0x466
jmp 0x431c05
push 0xffffffffffffffec
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
je 0x431da1
test byte [ebp + 0xc], 5
je 0x431da1
movsx eax, word [esi + 0x70]
and dword [ebp - 0x94], 0
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], 8
dec eax
mov dword [ebp - 0x8c], 0xf000
neg eax
sbb eax, eax
and ax, 0xf000
add eax, 0x2000
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x9c]
push eax
push 0
push 0x1006
push dword [esi + 0x24]
jmp 0x431ce5
sub eax, 0x16
je 0x431d2d
dec eax
dec eax
je 0x431cf0
dec eax
je 0x431ccb
dec eax
jne 0x431da1
mov eax, dword [ebp + 0xc]
and eax, 7
je 0x431da1
mov ecx, dword [ebp - 0x10]
and eax, 3
push eax
push dword [ebp - 0x1c]
push edi
call fcn.00430560
jmp 0x431c16
mov eax, dword [ebp + 0xc]
and eax, 7
je 0x431da1
and eax, 3
push 0
push eax
push 0xf1
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x431c16
test byte [ebp + 0xd], 2
je 0x431da1
push 0
push dword [ebp + 8]
push 0x401
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi]
jne 0x431c16
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.0042d8a1
jmp 0x431c16
test byte [ebp + 0xc], 0x10
je 0x431d4e
test byte [esi + 0x79], 0x20
je 0x431d4e
push 0
push dword [esi + 0x24]
push 0x469
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x431da1
push 3
pop eax
cmp dword [edi + 0x14], eax
mov dword [ebp - 0x14], eax
jl 0x431da1
lea eax, [edi + 0x50]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x431d92
cmp byte [eax + 0x78], 3
jne 0x431d92
mov ecx, dword [eax]
cmp ecx, dword [esi + 0x24]
jne 0x431d92
movsx edx, word [eax + 0x76]
push 0
push edx
movsx edx, word [eax + 0x74]
push edx
movsx edx, word [eax + 0x72]
movsx eax, word [eax + 0x70]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
inc dword [ebp - 0x14]
add dword [ebp + 8], 4
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x14]
jle 0x431d5f
mov eax, dword [ebp + 0xc]
and eax, 0xf8
mov dword [ebp + 0xc], eax
jle 0x431e49
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 4], ebx
xor ebx, ebx
test al, 0x80
je 0x431dcd
push 0
mov ebx, 0xc0
push dword [ebp - 8]
call edi
test byte [ebp + 0xc], 0x40
je 0x431ddf
push 1
mov ebx, 0xc0
push dword [ebp - 8]
call edi
mov edx, dword [ebp + 0xc]
and edx, 0x20
je 0x431dea
add ebx, 0x30
mov edi, dword [ebp + 0xc]
and edi, 0x10
je 0x431df5
add ebx, 0x30
mov al, byte [esi + 0x7a]
add bl, 8
not bl
and bl, byte [esi + 0x79]
or bl, byte [ebp + 0xc]
cmp al, 0xff
mov byte [esi + 0x79], bl
je 0x431e1f
mov ecx, dword [ebp - 0x20]
movzx eax, al
mov ecx, dword [ecx + 0x4144]
cmp eax, ecx
je 0x431e1f
cmp ecx, 0xffffffff
jne 0x431e49
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test edx, edx
je 0x431e30
push 0
push dword [ebp - 8]
call ebx
test edi, edi
je 0x431e3b
push 4
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 0x10]
push 1
push esi
push dword [ebp - 0x20]
call fcn.0042bf3c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8