Function at 0x432aea
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
call fcn.0042ccf6
test al, al
je 0x432ca7
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp eax, 0xffffffff
je 0x432b33
cmp dword [ebp - 0x14], 0xffffffff
je 0x432b33
mov ecx, eax
imul ecx, ecx, 0x1003
add ecx, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
jmp 0x432b36
mov dword [ebp + 8], edx
mov edi, dword [esi + eax*4 + 0x44c]
mov ecx, dword [ebp - 0x14]
cmp dword [ebp + 0xc], edx
mov dword [ebp - 0x1c], edi
mov esi, dword [edi + ecx*4 + 0x44]
mov dword [ebp - 4], edx
mov ecx, dword [esi]
mov dword [ebp - 8], ecx
mov cl, byte [esi + 0x78]
mov byte [ebp - 0xd], cl
jge 0x432b5d
mov dword [ebp + 0xc], edx
mov ecx, dword [ebp + 0xc]
push 1
and ecx, 0x100
pop ebx
mov dword [ebp - 0x20], ecx
je 0x432b7d
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
push eax
call fcn.0042e9db
mov dword [ebp - 4], ebx
test byte [ebp + 0xd], 8
je 0x432b98
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 - 0xd]
cmp eax, 0x14
jg 0x432e28
je 0x432dbc
cmp eax, 9
je 0x432d70
cmp eax, 0xb
je 0x432d37
cmp eax, 0xc
je 0x432ca7
cmp eax, 0xd
jle 0x432f2f
cmp eax, 0xf
jle 0x432c83
cmp eax, 0x11
jne 0x432f2f
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 0x432c20
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 0x432c4b
push dword [esi + 8]
push 2
push 0x1102
push dword [esi + 0x24]
call edi
cmp dword [ebp - 0x20], 0
je 0x432da9
push dword [esi + 0x24]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x18]
call fcn.0042caf4
mov ecx, dword [ebp - 0xc]
push eax
push dword [ebp - 0x18]
call fcn.0042e9db
push dword [esi + 8]
push 9
push 0x110b
push dword [esi + 0x24]
call edi
jmp 0x432da9
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 0x432cae
xor eax, eax
jmp 0x432fde
mov eax, dword [ebp + 0xc]
test al, 0x80
je 0x432cbc
mov dword [ebp - 4], 3
test al, 1
je 0x432cc4
or dword [ebp - 4], 8
and eax, 4
cmp dword [ebp - 0x20], 0
je 0x432cd1
or byte [ebp - 4], 0x80
test byte [ebp - 0x40], 8
je 0x432cdf
test eax, eax
jne 0x432cdf
or dword [ebp - 4], 8
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
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 0x432d04
push 0
push dword [ebp + 8]
jmp 0x432d24
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 0x432d2d
test byte [ebp - 0x3f], 0x10
je 0x432d2d
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 0x432da9
test byte [ebp + 0xc], 0x10
je 0x432f2f
cmp byte [edi + 0x414c], 0
movzx eax, byte [esi + 0x7a]
je 0x432d5a
mov ecx, dword [edi + 0x4148]
mov dword [edi + 0x4144], ecx
mov ecx, dword [ebp - 0xc]
push eax
push edi
call fcn.00433fbd
movzx eax, byte [esi + 0x7a]
mov dword [edi + 0x4148], eax
jmp 0x432da9
mov eax, dword [ebp + 0xc]
and eax, 7
sub eax, 0
je 0x432db1
dec eax
je 0x432d8c
push 0
push 0
push 0x464
jmp 0x432e77
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x432f2f
mov dword [ebp - 4], ebx
jmp 0x432f2f
push 0
push 0
push 0x466
jmp 0x432d98
push 0xffffffffffffffec
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
je 0x432f2f
test byte [ebp + 0xc], 5
je 0x432f2f
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 0x432e7a
sub eax, 0x16
je 0x432ec2
dec eax
dec eax
je 0x432e85
dec eax
je 0x432e60
dec eax
jne 0x432f2f
mov eax, dword [ebp + 0xc]
and eax, 7
je 0x432f2f
mov ecx, dword [ebp - 0xc]
and eax, 3
push eax
push dword [ebp - 0x14]
push edi
call fcn.004316c9
jmp 0x432da9
mov eax, dword [ebp + 0xc]
and eax, 7
je 0x432f2f
and eax, 3
push 0
push eax
push 0xf1
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x432da9
test byte [ebp + 0xd], 2
je 0x432f2f
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 0x432da9
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x18]
call fcn.0042e9db
jmp 0x432da9
test byte [ebp + 0xc], 0x10
je 0x432ee3
test byte [esi + 0x79], 0x20
je 0x432ee3
push 0
push dword [esi + 0x24]
push 0x469
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x432f2f
push 3
pop eax
cmp dword [edi + 0x14], eax
mov dword [ebp + 8], eax
jl 0x432f2f
lea ebx, [edi + 0x50]
mov eax, dword [ebx]
test eax, eax
je 0x432f21
cmp byte [eax + 0x78], 3
jne 0x432f21
mov ecx, dword [eax]
cmp ecx, dword [esi + 0x24]
jne 0x432f21
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 + 8]
add ebx, 4
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x14]
jle 0x432ef1
mov eax, dword [ebp + 0xc]
and eax, 0xf8
mov dword [ebp + 0xc], eax
jle 0x432fdb
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
xor ebx, ebx
test al, 0x80
mov dword [ebp - 4], 1
je 0x432f5f
push 0
mov ebx, 0xc0
push dword [ebp - 8]
call edi
test byte [ebp + 0xc], 0x40
je 0x432f71
push 1
mov ebx, 0xc0
push dword [ebp - 8]
call edi
mov edx, dword [ebp + 0xc]
and edx, 0x20
je 0x432f7c
add ebx, 0x30
mov edi, dword [ebp + 0xc]
and edi, 0x10
je 0x432f87
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 0x432fb1
mov ecx, dword [ebp - 0x1c]
movzx eax, al
mov ecx, dword [ecx + 0x4144]
cmp eax, ecx
je 0x432fb1
cmp ecx, 0xffffffff
jne 0x432fdb
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test edx, edx
je 0x432fc2
push 0
push dword [ebp - 8]
call ebx
test edi, edi
je 0x432fcd
push 4
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 0xc]
push 1
push esi
push dword [ebp - 0x1c]
call fcn.0042cd72
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8