Function at 0x435634
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f], 0
jne 0x435ba6
cmp byte [ebp - 9], 0
je 0x43566c
mov edi, dword [ebp - 4]
mov edi, dword [edi + 0x34]
jmp 0x435672
mov edi, dword [ebp - 4]
mov edi, dword [edi + 0x38]
cmp dword [ebx], 0x4e
jne 0x435821
cmp edi, dword [esi]
jne 0x435821
mov eax, dword [esi + 8]
cmp eax, 0xfffffdee
je 0x435698
cmp eax, 0xfffffdf8
jne 0x435821
cmp byte [ebp - 9], 0
je 0x4356ae
mov eax, dword [ebp - 4]
cmp dword [eax + 0x458], 0xffffffff
je 0x435821
cmp byte [ebp - 9], 0
je 0x4356c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
mov dword [ebp - 0x14], eax
jmp 0x43576d
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [esi + 4]
call fcn.0041acec
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x460]
dec eax
test eax, eax
jl 0x435763
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
add eax, 0x47c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.0042f1ac
cmp eax, dword [esi + 4]
je 0x435729
mov eax, dword [ebp - 0x38]
cmp byte [eax], 0
je 0x435757
mov eax, dword [ebp - 0x38]
mov eax, dword [eax - 8]
cmp eax, dword [ebp - 0x30]
jg 0x435757
mov eax, dword [ebp - 0x38]
mov eax, dword [eax - 4]
cmp eax, dword [ebp - 0x30]
jl 0x435757
cmp byte [ebp - 9], 0
jne 0x43574f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c], 0
je 0x43574f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
cmp eax, dword [ebp - 0x18]
jne 0x43574f
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0xd], 0
jne 0x435763
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jmp 0x435763
inc dword [ebp - 0x18]
add dword [ebp - 0x38], 0x2c
dec dword [ebp - 0x34]
jne 0x4356fb
cmp dword [ebp - 0x14], 0
jl 0x435ba6
mov eax, dword [ebp - 4]
add eax, 0x44
push eax
push 0x1ff
cmp dword [esi + 8], 0xfffffdee
sete al
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ebp - 9]
call fcn.0042f908
mov eax, dword [ebp - 4]
add eax, 0x44
mov dword [esi + 0xc], eax
cmp byte [ebp - 9], 0
jne 0x435818
xor eax, eax
mov dword [ebp - 0x2c], eax
push edi
call sub.user32.dll_GetDC
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4357dd
lea eax, [ebp - 0x2c]
push eax
push 1
push 0x435bb4
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_GetTextExtentPoint32A
test eax, eax
jne 0x4357d3
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
push eax
push edi
call sub.user32.dll_ReleaseDC
imul eax, dword [ebp - 0x2c], 0x32
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0x12c
jge 0x4357f7
mov dword [ebp - 0x2c], 0x12c
jmp 0x435805
cmp eax, 0x258
jle 0x435805
mov dword [ebp - 0x2c], 0x258
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0x418
mov eax, dword [esi]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
mov dword [ebx], eax
jmp 0x435ba6
cmp byte [ebp - 9], 0
jne 0x435868
cmp dword [ebx], 0x201
je 0x43583f
cmp dword [ebx], 0x204
je 0x43583f
cmp dword [ebx], 0x200
jne 0x435868
cmp dword [ebx], 0x201
je 0x435853
cmp dword [ebx], 0x204
jne 0x435ba6
test edi, edi
je 0x435ba6
push 0
push edi
call sub.user32.dll_ShowWindow
jmp 0x435ba6
cmp byte [ebp - 9], 0
jne 0x43589f
cmp dword [ebx], 0xa
jne 0x435ba6
cmp dword [ebx], 0xa
jne 0x435ba6
cmp dword [ebp + 0xc], 0
jne 0x435ba6
test edi, edi
je 0x435ba6
mov eax, dword [ebp - 4]
call fcn.0042eea8
jmp 0x435ba6
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
jne 0x4358c5
cmp dword [ebx], 0x111
jne 0x4358c5
cmp dword [ebp + 0xc], 0x40
jne 0x4358c5
mov eax, dword [ebp - 4]
mov byte [eax + 0x9ed], 1
jmp 0x435ba6
cmp dword [ebx], 0x111
jne case.0x4358e9.390
mov eax, dword [ebp + 0xc]
add eax, 0xfffffe7d
cmp eax, 0xc
ja case.0x4358e9.390
movzx eax, byte [eax + 0x4358f0]
jmp dword [eax*4 + 0x4358fd]
cmp dword [ebp + 0xc], 0x18f
setne dl
mov eax, dword [ebp - 4]
call fcn.00430f10
xor eax, eax
mov dword [ebx], eax
jmp 0x435ba6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x43593d
mov eax, dword [ebp - 4]
call fcn.0042efe4
test al, al
jne 0x435947
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.0042ee2c
mov eax, dword [ebp - 4]
call fcn.00430ee8
xor eax, eax
mov dword [ebx], eax
jmp 0x435ba6
mov eax, esi
call fcn.0041acbc
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.0041acc0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
call sub.user32.dll_ClientToScreen
push ebp
lea eax, [ebp - 0x24]
call fcn.004354cc
pop ecx
xor eax, eax
mov dword [ebx], eax
jmp 0x435ba6
cmp dword [ebx], 0x204
jne 0x4359f7
mov eax, esi
call fcn.0041acbc
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.0041acc0
mov dword [ebp - 0x20], eax
cmp dword [ebx], 0x7b
je 0x4359be
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
call sub.user32.dll_ClientToScreen
cmp dword [ebx], 0x7b
je 0x4359e4
lea eax, [ebp - 0x48]
push eax
push edi
call sub.user32.dll_GetWindowRect
test eax, eax
je 0x4359f7
push dword [ebp - 0x20]
push dword [ebp - 0x24]
lea eax, [ebp - 0x48]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4359f7
push ebp
lea eax, [ebp - 0x24]
call fcn.004354cc
pop ecx
xor eax, eax
mov dword [ebx], eax
jmp 0x435ba6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c], 0
je 0x435ba6
cmp dword [ebx], 0xa
jne 0x435a29
cmp dword [ebx], 0xa
jne 0x435ba6
cmp dword [ebp + 0xc], 0
jne 0x435ba6
mov eax, dword [ebp - 4]
call fcn.00430d80
jmp 0x435ba6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x458], 0xffffffff
je 0x435ba6
test edi, edi
je 0x435ba6
cmp dword [ebx], 0x4e
jne 0x435a70
mov eax, esi
cmp dword [eax + 8], 0xfffffdf6
jne 0x435a70
cmp edi, dword [eax]
jne 0x435a70
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.0042ee2c
mov eax, dword [ebp - 4]
call fcn.00430ee8
xor eax, eax
mov dword [ebx], eax
jmp 0x435ba6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c], 0
jne 0x435ae3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x458], 0xfffffffe
je 0x435ae3
mov eax, dword [ebp - 8]
cmp byte [eax + 0x2c], 0
jne 0x435ae3
cmp dword [ebx], 0x4e
jne 0x435aad
cmp dword [esi + 8], 0xfffffff9
jne 0x435aad
mov eax, esi
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
call fcn.00430fec
jmp 0x435ba6
cmp dword [ebx], 0x111
jne 0x435ae3
mov eax, dword [ebp + 0xc]
shr eax, 0x10
cmp ax, 0x100
jne 0x435ac5
mov al, 1
jmp 0x435acc
cmp ax, 6
sete al
test al, al
je 0x435ae3
movzx ecx, word [ebp + 0xc]
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.00430fec
jmp 0x435ba6
cmp dword [ebx], 0x111
jne 0x435af9
cmp dword [ebp + 0xc], 0x3d
jne 0x435af9
mov eax, dword [ebp - 4]
call fcn.00431168
cmp dword [ebx], 0x201
jne 0x435b55
mov eax, esi
call fcn.0041acbc
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.0041acc0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
call sub.user32.dll_ClientToScreen
lea eax, [ebp - 0x48]
push eax
push edi
call sub.user32.dll_GetWindowRect
test eax, eax
je 0x435b55
push dword [ebp - 0x20]
push dword [ebp - 0x24]
lea eax, [ebp - 0x48]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x435b55
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.00430f10
xor eax, eax
mov dword [ebx], eax
jmp 0x435ba6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x9ef], 0
jne 0x435ba6
cmp dword [ebx], 0x47
jne 0x435ba6
mov eax, dword [esi + 0x18]
test al, 2
je 0x435b71
test al, 1
jne 0x435ba6
mov eax, dword [ebp - 4]
call fcn.00430d80
test edi, edi
je 0x435b8c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x435b96
test byte [esi + 0x18], 2
jne 0x435b96
mov eax, dword [ebp - 4]
mov byte [eax + 0x9ed], 1
test byte [esi + 0x18], 1
jne 0x435ba6
mov eax, dword [ebp - 4]
mov byte [eax + 0x9ee], 1
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc